diff --git a/CHANGES.md b/CHANGES.md index 718eca4e..392727cc 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,11 @@ * Add ignore Plex extras +[develop changelog] + +* Fix media process being ignored by Plex extras + + ### 3.30.4 (2023-10-12 11:50:00 UTC) * Add metadata source attribution in footer diff --git a/sickgear/helpers.py b/sickgear/helpers.py index 69bc0d37..15e84e77 100644 --- a/sickgear/helpers.py +++ b/sickgear/helpers.py @@ -159,7 +159,7 @@ def has_media_ext(filename): sep_file = filename.rpartition('.') return (None is re.search( - '(?:extras|-Behind\sThe\sScenes|-Deleted\sScenes|-Featurettes|-Interviews|-Scenes|-Shorts|-Trailers|-Other)?$', + r'(extras|-(?:Behind\sThe\sScenes|Deleted\sScenes|Featurettes|Interviews|Scenes|Shorts|Trailers|Other))$', sep_file[0], re.I)) and (sep_file[2].lower() in mediaExtensions)