summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-06-22 15:24:36 -0400
committermorpheus65535 <[email protected]>2022-06-22 15:24:36 -0400
commite1bd02396ff4ddde8eb96a91dafc91ad81d15130 (patch)
treedc89658dd4896d3c52df78318089c82df217163d
parentb724305eb4dc22b469c5c5f2033d89de11b4aeef (diff)
downloadbazarr-e1bd02396ff4ddde8eb96a91dafc91ad81d15130.tar.gz
bazarr-e1bd02396ff4ddde8eb96a91dafc91ad81d15130.zip
Fixed cutoff being reached for a language even if forced subtitles is available but not requested.
-rw-r--r--bazarr/subtitles/indexer/movies.py3
-rw-r--r--bazarr/subtitles/indexer/series.py5
2 files changed, 3 insertions, 5 deletions
diff --git a/bazarr/subtitles/indexer/movies.py b/bazarr/subtitles/indexer/movies.py
index 1898c2844..a32d74043 100644
--- a/bazarr/subtitles/indexer/movies.py
+++ b/bazarr/subtitles/indexer/movies.py
@@ -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
diff --git a/bazarr/subtitles/indexer/series.py b/bazarr/subtitles/indexer/series.py
index b54724030..a4283c485 100644
--- a/bazarr/subtitles/indexer/series.py
+++ b/bazarr/subtitles/indexer/series.py
@@ -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: