summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVitiko <[email protected]>2024-06-28 18:22:45 -0400
committerVitiko <[email protected]>2024-06-28 18:22:45 -0400
commitad88ec37677b82a911acf35c1280b49b679beaa7 (patch)
treed15a02aff3cd9c58bd7fc337dc56849a0597de8a
parentf51f3e05709af6e49dd5fd4db87df72377823f19 (diff)
downloadbazarr-ad88ec37677b82a911acf35c1280b49b679beaa7.tar.gz
bazarr-ad88ec37677b82a911acf35c1280b49b679beaa7.zip
Fix original format requests (#2514)v1.4.4-beta.13
-rw-r--r--bazarr/subtitles/manual.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bazarr/subtitles/manual.py b/bazarr/subtitles/manual.py
index ba57eb193..5d642b577 100644
--- a/bazarr/subtitles/manual.py
+++ b/bazarr/subtitles/manual.py
@@ -158,8 +158,9 @@ def manual_download_subtitle(path, audio_language, hi, forced, subtitle, provide
subtitle.language.forced = True
else:
subtitle.language.forced = False
- if use_original_format == 'True':
- subtitle.use_original_format = use_original_format
+ if use_original_format in ("1", "True"):
+ subtitle.use_original_format = True
+
subtitle.mods = get_array_from(settings.general.subzero_mods)
video = get_video(force_unicode(path), title, sceneName, providers={provider}, media_type=media_type)
if video: