multimokia / MAS-Submod-Nightmusic

Allows Monika to play a song or a playlist of songs for the two of you to relax in the evening.
5 stars 2 forks source link

Game crashes at boot up after adding quite a few songs (~1k) #3

Open SykkNyzz opened 3 years ago

SykkNyzz commented 3 years ago

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/Submods/Night Music/nightmusic.rpy", line 84, in restartBlacklist=True File "game/event-handler.rpy", line 1751, in addEvent File "game/Submods/Night Music/nightmusic.rpy", line 199, in getSongs if checkSongConditional(station, mp3) File "game/Submods/Night Music/nightmusic.rpy", line 164, in checkSongConditional meta_dict = mutagen.mp3.EasyMP3(station.station + songname).get("genre", None) HeaderNotFoundError: can't sync to MPEG frame

-- Full Traceback ------------------------------------------------------------

Full traceback: File "lib/windows-i686/Submods/Night Music/nightmusic.rpyc", line 70, in script File "C:\Monika_After_Story\renpy\ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Monika_After_Story\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/Submods/Night Music/nightmusic.rpy", line 84, in restartBlacklist=True File "game/event-handler.rpy", line 1751, in addEvent File "C:\Monika_After_Story\renpy\python.py", line 1749, in py_eval return py_eval_bytecode(code, globals, locals) File "C:\Monika_After_Story\renpy\python.py", line 1743, in py_eval_bytecode return eval(bytecode, globals, locals) File "", line 1, in File "game/Submods/Night Music/nightmusic.rpy", line 199, in getSongs if checkSongConditional(station, mp3) File "game/Submods/Night Music/nightmusic.rpy", line 164, in checkSongConditional meta_dict = mutagen.mp3.EasyMP3(station.station + songname).get("genre", None) File "python-packages/mutagen/_file.py", line 49, in init File "python-packages/mutagen/_util.py", line 140, in wrapper File "python-packages/mutagen/id3/_file.py", line 406, in load File "python-packages/mutagen/_util.py", line 169, in wrapper File "python-packages/mutagen/mp3/init.py", line 403, in init HeaderNotFoundError: can't sync to MPEG frame

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Monika After Story 0.12.1

SykkNyzz commented 3 years ago

When i removed the songs, everything was fine again. Still, I do not know what I did wrong.