3096 / genshin_scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSError: MThd not found. Probably not a MIDI file

ilia-21 opened this issue · comments

Task exception was never retrieved
future: <Task finished name='Task-1' coro=<LyrePlayer.play() done, defined at midi.py:169> exception=OSError('MThd not found. Probably not a MIDI file')>
Traceback (most recent call last):
File "midi.py", line 174, in play
File "mido\midifiles\midifiles.py", line 316, in init
File "mido\midifiles\midifiles.py", line 340, in _load
File "mido\midifiles\midifiles.py", line 111, in read_file_header
OSError: MThd not found. Probably not a MIDI file