summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-01-25 12:24:16 -0500
committermorpheus65535 <[email protected]>2022-01-25 12:24:16 -0500
commitaa0c2ffca76b75a71847f02f56037bf6414732bd (patch)
treed9282f193e26764966b780097d82f93f8b03b0f3
parentc7500c1d04b8f81e7058ed66fd1db5dbbcdad210 (diff)
downloadbazarr-aa0c2ffca76b75a71847f02f56037bf6414732bd.tar.gz
bazarr-aa0c2ffca76b75a71847f02f56037bf6414732bd.zip
Fixed issue with cutoff and exclude language exclusions were not working as expected. #1691
-rw-r--r--bazarr/list_subtitles.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/bazarr/list_subtitles.py b/bazarr/list_subtitles.py
index 3c0f543cc..48a2e19fe 100644
--- a/bazarr/list_subtitles.py
+++ b/bazarr/list_subtitles.py
@@ -266,12 +266,6 @@ def list_missing_subtitles(no=None, epno=None, send_event=True):
if desired_subtitles_temp:
for language in desired_subtitles_temp['items']:
if language['audio_exclude'] == "True":
- cutoff_lang_temp = get_profile_cutoff(profile_id=episode_subtitles['profileId'])
- if cutoff_lang_temp:
- if language_from_alpha2(cutoff_lang_temp[0]['language']) in ast.literal_eval(
- episode_subtitles['audio_language']):
- desired_subtitles_list = []
- break
if language_from_alpha2(language['language']) in ast.literal_eval(
episode_subtitles['audio_language']):
continue
@@ -376,12 +370,6 @@ def list_missing_subtitles_movies(no=None, send_event=True):
if desired_subtitles_temp:
for language in desired_subtitles_temp['items']:
if language['audio_exclude'] == "True":
- cutoff_lang_temp = get_profile_cutoff(profile_id=movie_subtitles['profileId'])
- if cutoff_lang_temp:
- if language_from_alpha2(cutoff_lang_temp[0]['language']) in ast.literal_eval(
- movie_subtitles['audio_language']):
- desired_subtitles_list = []
- break
if language_from_alpha2(language['language']) in ast.literal_eval(
movie_subtitles['audio_language']):
continue