mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-23 22:41:34 +00:00
Fixed subdl to not ignore movies subtitles by erroneously check for season packs. #2725
This commit is contained in:
parent
b34a0c19a2
commit
a186e64893
1 changed files with 5 additions and 1 deletions
|
@ -188,7 +188,11 @@ class SubdlProvider(ProviderRetryMixin, Provider):
|
|||
|
||||
if len(result['subtitles']):
|
||||
for item in result['subtitles']:
|
||||
if item.get('episode_from', False) == item.get('episode_end', False): # ignore season packs
|
||||
if (isinstance(self.video, Episode) and
|
||||
item.get('episode_from', False) != item.get('episode_end', False)):
|
||||
# ignore season packs
|
||||
continue
|
||||
else:
|
||||
subtitle = SubdlSubtitle(
|
||||
language=Language.fromsubdl(item['language']),
|
||||
forced=self._is_forced(item),
|
||||
|
|
Loading…
Reference in a new issue