1
0
mirror of synced 2025-01-24 23:13:40 +01:00

parsers.py: Add cases for remaining ESE commands

This commit is contained in:
Viv 2023-06-02 16:33:47 -04:00
parent b3968bc365
commit c2739b322c

View File

@ -154,6 +154,14 @@ def getCourse(tjaHeaders, lines):
measureEvents.append({"name": 'bpm', "position": len(measureData), "value": float(line['value'])}) measureEvents.append({"name": 'bpm', "position": len(measureData), "value": float(line['value'])})
elif line['name'] == 'LEVELHOLD': elif line['name'] == 'LEVELHOLD':
flagLevelhold = True flagLevelhold = True
elif line['name'] == 'DELAY':
raise NotImplementedError
elif line['name'] == 'SECTION':
raise NotImplementedError
elif line['name'] == 'LYRIC':
pass
elif line['name'] == 'NEXTSONG':
pass
def parseMeasureData(line): def parseMeasureData(line):
nonlocal measures, measureData, measureDividend, measureDivisor, measureEvents nonlocal measures, measureData, measureDividend, measureDivisor, measureEvents