From 2a298860a4a915099a9daa81658688927b1307dd Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Thu, 9 Jun 2022 11:25:56 -0400 Subject: [PATCH] Fixed hearing-impaired not taken into account when naming uploaded subtitles #1846 --- bazarr/subtitles/upload.py | 3 +++ 1 file changed, 3 insertions(+) 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)