summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVitiko <[email protected]>2022-04-29 22:56:44 -0400
committerVitiko <[email protected]>2022-04-29 22:56:44 -0400
commit3f95784bb824484cb37bb0bfc91f491015f74cf4 (patch)
tree6325769388ec78e613d2002da51268b43f610458
parent4358790fa7cb4ac130ac7501bfad34c753cbec98 (diff)
downloadbazarr-1.0.4-beta.30.tar.gz
bazarr-1.0.4-beta.30.zip
Subdivx Provider: avoid false positives on episodes searchv1.0.4-beta.30
The series search fallback was returning unrelated subtitles that were impossible to detect with get_subtitle_from_archive()
-rw-r--r--libs/subliminal_patch/providers/subdivx.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/subliminal_patch/providers/subdivx.py b/libs/subliminal_patch/providers/subdivx.py
index b5e0b19da..68b4a33dc 100644
--- a/libs/subliminal_patch/providers/subdivx.py
+++ b/libs/subliminal_patch/providers/subdivx.py
@@ -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