greencoder / featherwing-random-mp3-player

A shuffling MP3 player using the Adafruit FeatherWing Music Maker
MIT License
0 stars 0 forks source link

Change the way files are played #2

Closed greencoder closed 2 years ago

greencoder commented 2 years ago

To solve the crash in #1, I've changed the way MP3 files are played. Instead of using startPlaying, now it's using playFullFile with no interrupt handling or checking to see if playing has stopped.

Using playFullFile makes more sense for my interface-free setup, since I don't need to listen for interrupts. It's played overnight now without crashing, so I'm hopeful this has fixed the problem.

Fixes #1.