Skip to content

Commit

Permalink
add extra dot to forced to ensure less false positives.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbusillo committed Jun 26, 2024
1 parent 0d346ab commit 1c8475d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bd_to_avp/modules/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def mux_video_audio_subs(mv_hevc_path: Path, audio_path: Path, muxed_path: Path,
language_name = Language.fromalpha2(language_code_alpha2).name

subtitle_options = f":hdlr=sbtl:lang={language_code_alpha3}:group=2:name={language_name} Subtitles:tx3g"
if ".forced" in sub_file.stem:
if ".forced." in sub_file.stem:
subtitle_options += ":txtflags=0xC0000000"
language_name += " Forced"

Expand Down

0 comments on commit 1c8475d

Please sign in to comment.