OK so i recently created a small mp3 play that prints to a LCD display and uses a IR remote and everything works perfect so far. I'm now trying to recognize when the music has stoped and want it to play the list of songs until the user presses a key on the remote. I've tried using get_buisy function from pygame ( that's what I'm using to play the music) but when the song is over its just over until the user presses another key. Any ideas how to make the music play the next song on its own?
I've attached the code and highlighted it in red if anyone has any ideas or thoughts it would be much appreciated.
I'm just guessing but it would involve pygame.mixer.music.set_endevent() and/or pygame.mixer.music.get_endevent()