Fixed subdl to not ignore movies subtitles by erroneously check for season packs. #2725

pull/2736/head
morpheus65535 4 weeks ago
parent b34a0c19a2
commit a186e64893

@ -188,7 +188,11 @@ class SubdlProvider(ProviderRetryMixin, Provider):
if len(result['subtitles']): if len(result['subtitles']):
for item in 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( subtitle = SubdlSubtitle(
language=Language.fromsubdl(item['language']), language=Language.fromsubdl(item['language']),
forced=self._is_forced(item), forced=self._is_forced(item),

Loading…
Cancel
Save