mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-21 20:35:05 +00:00
Merge branch 'feature/FixMediaProcess' into dev
This commit is contained in:
commit
a74f147571
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue