From e4ebc64ca95b4a18b7a1909a5cef517c0715d74d Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Fri, 12 Jan 2024 16:45:37 -0500 Subject: [PATCH] Fixed issue introduced while merging the new sync feature. #2356 --- bazarr/subtitles/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/subtitles/sync.py b/bazarr/subtitles/sync.py index 5633f73e8..35f62bc46 100644 --- a/bazarr/subtitles/sync.py +++ b/bazarr/subtitles/sync.py @@ -17,7 +17,7 @@ def sync_subtitles(video_path, srt_path, srt_lang, forced, percent_score, sonarr else: logging.debug(f'BAZARR automatic syncing is enabled in settings. We\'ll try to sync this ' f'subtitles: {srt_path}.') - if media_type == 'series': + if sonarr_episode_id: use_subsync_threshold = settings.subsync.use_subsync_threshold subsync_threshold = settings.subsync.subsync_threshold else: