mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-15 01:15:05 +00:00
Fix media process.
This commit is contained in:
parent
d42232040f
commit
5e5c5313b5
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