summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvitiko98 <[email protected]>2022-05-23 23:28:26 -0400
committervitiko98 <[email protected]>2022-05-23 23:28:26 -0400
commit25281709c1f1ffa22da22ac43ebf51d9627797ad (patch)
tree514f98804d621b1f0f5ccd3951b7d390b326ea03
parent0e98880494149801ac40821a4b0e89a7e2cb10b8 (diff)
downloadbazarr-1.0.5-beta.14.tar.gz
bazarr-1.0.5-beta.14.zip
Gestdown provider: ignore incomplete subtitlesv1.0.5-beta.14
-rw-r--r--libs/subliminal_patch/providers/gestdown.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/subliminal_patch/providers/gestdown.py b/libs/subliminal_patch/providers/gestdown.py
index f66809864..1a84a9459 100644
--- a/libs/subliminal_patch/providers/gestdown.py
+++ b/libs/subliminal_patch/providers/gestdown.py
@@ -104,6 +104,9 @@ class GestdownProvider(Provider):
return None
for subtitle_dict in matching_subtitles:
+ if not subtitle_dict["completed"]:
+ continue
+
sub = GestdownSubtitle(language, subtitle_dict)
logger.debug("Found subtitle: %s", sub)
yield sub