From ef437ff5c43456e81ae04fc585fcfabf5d12875c Mon Sep 17 00:00:00 2001 From: Cainan Date: Mon, 17 Jun 2024 20:44:28 +0100 Subject: [PATCH] Update offset_adjust.py --- TjaOffsetNeutralise/offset_adjust.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TjaOffsetNeutralise/offset_adjust.py b/TjaOffsetNeutralise/offset_adjust.py index 2d402a7..153b689 100644 --- a/TjaOffsetNeutralise/offset_adjust.py +++ b/TjaOffsetNeutralise/offset_adjust.py @@ -74,7 +74,9 @@ def process_tja_and_audio(tja_path, output_dir=None, original_name=False, encodi else: new_content += line + '\n' if line.strip() == '#START': + new_content += '#BARLINEOFF' + '\n' new_content += ',' + '\n' + new_content += '#BARLINEON' + '\n' # Save the modified TJA content to a new file with open(new_tja_path, 'w', encoding=encoding) as new_file: