I’ve got a musicbox set up on an OG pi. The goal is to make a player that has two buttons on it, one to play/pause, one to skip. When it starts up it starts playing songs on repeat, random, from the USB thumb drive. A tiny python script watches the gpio pins for button presses, and bobs your uncle. It’s entirely offline, just has power in and a headphone jack. It’s for my friends 90yo Grandma, super simple.
Except it doesn’t work.
I mean, it does work. If I put like 10 songs on there, it will play for days on end, without a hiccup. But when I put the 530 songs she wants on there, suddenly it can’t cope.
During startup, it says something like:
Then it refuses to play, even manually. Exactly one time in my testing, did it actually start playing, but the song would play for a few seconds, then get garbled and stop m if I pressed the skip button it’d start again with a new song, only to do the same thing.
Things I’ve tried:
Putting all the files in the root directory of the USB drive.
Renaming all the files to get rid of giant filenames and special characters, now they are just sequential numbers.
Converting all of the flac files to mp3.
Checking files at random to make sure they are not corrupted.
Checking my python script to be sure it isn’t using excessive CPU, it is not.
Changing thumb drives from the 32gb, to a 4gb.
None of this has worked and I’m pulling my hair out. Any suggestions? Please?