From 738e10e075d8b6afce7836d3b7d5d38968693444 Mon Sep 17 00:00:00 2001 From: Marian Moravcik Date: Mon, 30 Jan 2023 21:06:56 +0100 Subject: [PATCH] Fix for #2051 --- bazarr/api/movies/movies_subtitles.py | 2 +- bazarr/subtitles/upload.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bazarr/api/movies/movies_subtitles.py b/bazarr/api/movies/movies_subtitles.py index 91ddcd277..9abdd3f71 100644 --- a/bazarr/api/movies/movies_subtitles.py +++ b/bazarr/api/movies/movies_subtitles.py @@ -146,7 +146,7 @@ class MoviesSubtitles(Resource): forced=forced, hi=hi, title=title, - scene_name=sceneName, + sceneName=sceneName, media_type='movie', subtitle=subFile, audio_language=audioLanguage) diff --git a/bazarr/subtitles/upload.py b/bazarr/subtitles/upload.py index ec6c01a58..19e1d965d 100644 --- a/bazarr/subtitles/upload.py +++ b/bazarr/subtitles/upload.py @@ -26,8 +26,8 @@ from .sync import sync_subtitles from .post_processing import postprocessing -def manual_upload_subtitle(path, language, forced, hi, title, scene_name, media_type, subtitle, audio_language): - logging.debug('BAZARR Manually uploading subtitles for this file: ' + path) +def manual_upload_subtitle(path, language, forced, hi, title, sceneName, media_type, subtitle, audio_language): + logging.debug(f'BAZARR Manually uploading subtitles for this file: {path}') single = settings.general.getboolean('single_language')