quasar098 / midi-playground

square bounce
GNU General Public License v3.0
211 stars 65 forks source link

Song Zips are rejected due to metadata.json #85

Closed AerosmithTG closed 7 months ago

AerosmithTG commented 7 months ago

image I made sure this wasn't a midi issue by copying over the sound files from one of the existing songs (which work fine), but once I put the file back into the songs folder, the exe will not start and throws this error. I have also copied over songs zips from the most recent version of the raw code (which are not in the compiled version) and no error appears so it seems to be an issue on my side?

quasar098 commented 7 months ago

do you metadata.json in the zip?

aryanmmd commented 7 months ago

Hi, I also had this problem The problem was with the name-mainlines.mid file

AerosmithTG commented 7 months ago

do you metadata.json in the zip?

There is a metadata.json in the zip, I changed the song name, and which audio files are referenced (but the audio files themselves are identical to ones that work, they simply had their names changed).

AerosmithTG commented 7 months ago

do you metadata.json in the zip?

There is a metadata.json in the zip, I changed the song name, and which audio files are referenced (but the audio files themselves are identical to ones that work, they simply had their names changed).

I've now solved the problem, it was a stupid mistake on my part! I was pressing "send to compressed folder" on the unzipped folder rather than for the files themselves, so the zip was 2 layers deep and therefore causing problems! Thanks for the help anyhow!

Alex9532 commented 4 months ago

Same issue for me! Thanks!