1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 00:03:33 +00:00

Subdivx Provider: avoid false positives on episodes search

The series search fallback was returning unrelated subtitles that
were impossible to detect with get_subtitle_from_archive()
This commit is contained in:
Vitiko 2022-04-29 22:56:44 -04:00
parent 4358790fa7
commit 3f95784bb8

View file

@ -108,10 +108,6 @@ class SubdivxSubtitlesProvider(Provider):
f"{video.series} S{video.season:02}",
):
subtitles += self._handle_multi_page_search(query, video)
# Fallback
if not subtitles:
subtitles += self._handle_multi_page_search(video.series, video)
else:
# Subdvix has problems searching foreign movies if the year is
# appended. A proper solution would be filtering results with the