summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-06-09 11:25:56 -0400
committermorpheus65535 <[email protected]>2022-06-09 11:25:56 -0400
commit2a298860a4a915099a9daa81658688927b1307dd (patch)
treec06aa86726870da6c8f0f45da69b7d25d4e52056
parentf3287561e59e5c59c1c7aa7fe89e1caa373022a2 (diff)
downloadbazarr-2a298860a4a915099a9daa81658688927b1307dd.tar.gz
bazarr-2a298860a4a915099a9daa81658688927b1307dd.zip
Fixed hearing-impaired not taken into account when naming uploaded subtitles #1846
-rw-r--r--bazarr/subtitles/upload.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bazarr/subtitles/upload.py b/bazarr/subtitles/upload.py
index 66c580b21..d2f66c754 100644
--- a/bazarr/subtitles/upload.py
+++ b/bazarr/subtitles/upload.py
@@ -43,6 +43,9 @@ def manual_upload_subtitle(path, language, forced, hi, title, scene_name, media_
else:
lang_obj = custom.subzero_language()
+ if hi:
+ lang_obj = Language.rebuild(lang_obj, hi=True)
+
if forced:
lang_obj = Language.rebuild(lang_obj, forced=True)