mirror of https://github.com/morpheus65535/bazarr
Fixed cutoff being reached for a language even if forced subtitles is available but not requested.
This commit is contained in:
parent
b724305eb4
commit
e1bd02396f
|
@ -189,8 +189,7 @@ def list_missing_subtitles_movies(no=None, send_event=True):
|
|||
cutoff_met = True
|
||||
elif cutoff_language in actual_subtitles_list:
|
||||
cutoff_met = True
|
||||
elif cutoff_language and [cutoff_language[0], 'True', 'False'] in actual_subtitles_list:
|
||||
cutoff_met = True
|
||||
# HI is considered as good as normal
|
||||
elif cutoff_language and [cutoff_language[0], 'False', 'True'] in actual_subtitles_list:
|
||||
cutoff_met = True
|
||||
|
||||
|
|
|
@ -197,9 +197,8 @@ def list_missing_subtitles(no=None, epno=None, send_event=True):
|
|||
cutoff_met = True
|
||||
elif cutoff_language in actual_subtitles_list:
|
||||
cutoff_met = True
|
||||
elif cutoff_language and [cutoff_language[0], 'True', 'False'] in actual_subtitles_list:
|
||||
cutoff_met = True
|
||||
elif cutoff_language and [cutoff_language[0], 'False', 'True'] in actual_subtitles_list:
|
||||
# HI is considered as good as normal
|
||||
elif [cutoff_language[0], 'False', 'True'] in actual_subtitles_list:
|
||||
cutoff_met = True
|
||||
|
||||
if cutoff_met:
|
||||
|
|
Loading…
Reference in New Issue