Lines with SSA-style alignment tags (e.g. {\an8}) are probably dialogue and shouldn't be skipped. I added a regex check for lines containing such alignment tags, and also moved the check for musical notes up so lyrics with alignment are skipped anyway
I also added a shebang to main.py so the file can be directly executed on Unix systems
Lines with SSA-style alignment tags (e.g.
{\an8}
) are probably dialogue and shouldn't be skipped. I added a regex check for lines containing such alignment tags, and also moved the check for musical notes up so lyrics with alignment are skipped anywayI also added a shebang to main.py so the file can be directly executed on Unix systems