diff options
author | Marian Moravcik <[email protected]> | 2023-01-30 21:06:56 +0100 |
---|---|---|
committer | Marian Moravcik <[email protected]> | 2023-01-30 21:06:56 +0100 |
commit | 738e10e075d8b6afce7836d3b7d5d38968693444 (patch) | |
tree | f9010ac9322cc01b86e8b58b7f042f16f654fbd2 | |
parent | d5911e78b5f141fe3badd40dd185c148c5f8034a (diff) | |
download | bazarr-738e10e075d8b6afce7836d3b7d5d38968693444.tar.gz bazarr-738e10e075d8b6afce7836d3b7d5d38968693444.zip |
Fix for #2051v1.1.5-beta.9
-rw-r--r-- | bazarr/api/movies/movies_subtitles.py | 2 | ||||
-rw-r--r-- | 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') |