From 8b72a7670e4f2809b1b1d61bdf81f79901a63371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Saemundsson?= Date: Sun, 9 Mar 2025 10:04:15 +0100 Subject: [PATCH] Fix cutoff logic for the audio_only_include case --- bazarr/subtitles/indexer/movies.py | 2 +- bazarr/subtitles/indexer/series.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bazarr/subtitles/indexer/movies.py b/bazarr/subtitles/indexer/movies.py index 6ec3dd877..58252e703 100644 --- a/bazarr/subtitles/indexer/movies.py +++ b/bazarr/subtitles/indexer/movies.py @@ -225,7 +225,7 @@ def list_missing_subtitles_movies(no=None, send_event=True): 'forced': cutoff_temp['forced'], 'hi': cutoff_temp['hi']} if cutoff_temp['audio_only_include'] == 'True' and not matches_audio(cutoff_temp): - cutoff_met = True + continue elif cutoff_temp['audio_exclude'] == 'True' and matches_audio(cutoff_temp): cutoff_met = True elif cutoff_language in actual_subtitles_list: diff --git a/bazarr/subtitles/indexer/series.py b/bazarr/subtitles/indexer/series.py index 7e4f257a9..7798869d3 100644 --- a/bazarr/subtitles/indexer/series.py +++ b/bazarr/subtitles/indexer/series.py @@ -225,7 +225,7 @@ def list_missing_subtitles(no=None, epno=None, send_event=True): 'forced': cutoff_temp['forced'], 'hi': cutoff_temp['hi']} if cutoff_temp['audio_only_include'] == 'True' and not matches_audio(cutoff_temp): - cutoff_met = True + continue elif cutoff_temp['audio_exclude'] == 'True' and matches_audio(cutoff_temp): cutoff_met = True elif cutoff_language in actual_subtitles_list: