Updated regex to not remove sign in ASS subtitles in embedded subtitles

This commit is contained in:
JayZed 2025-04-25 13:43:13 -04:00 committed by GitHub
parent c752796b82
commit 2964a0c9ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -369,7 +369,7 @@ def _basename_callback(path: str):
# TODO: improve this
_SIGNS_LINE_RE = re.compile(r",([\w|_]{,15}(sign|fx|karaoke))", flags=re.IGNORECASE)
_SIGNS_LINE_RE = re.compile(r",([\w|_]{,15}(fx|karaoke))", flags=re.IGNORECASE)
def _clean_ass_subtitles(path, output_path):