Fixed other stuff with jobs manager. #3078

This commit is contained in:
morpheus65535 2025-12-05 07:35:32 -05:00
parent fa27c7eb0a
commit 3cd011663d

View file

@ -325,7 +325,7 @@ def update_one_movie(movie_id, action, defer_search=False, **kwargs):
mapped_movie_path = path_mappings.path_replace_movie(movie["path"])
if os.path.exists(mapped_movie_path):
logging.debug(f'BAZARR downloading missing subtitles for this movie: {mapped_movie_path}')
movies_download_subtitles(movie_id, job_sub_function=True)
movies_download_subtitles(no=movie_id, job_id=kwargs.get('job_id'), job_sub_function=True)
else:
logging.debug(f'BAZARR cannot find this file yet (Radarr may be slow to import movie between disks?). '
f'Searching for missing subtitles is deferred until scheduled task execution for this movie: '