I've got a playlist of
.ogg music files and I wanna set them playing in the game background on a big playlist loop. So, once all of the music files have been played by
pygame.mixer, it loops back to the beginning to start again.
However, when I load the first track, set it playing and then add the other tracks to the queue, only the first track plays. I'm not sure how to get the queue to loop. What am I doing wrong?
playlist = ["2.ogg", "3.ogg", "1.ogg"]
pygame.mixer.init(frequency = 48000)
for track in playlist: