mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-23 06:08:00 -04:00
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
2 changed files with 3 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue