Hello everyone.
I'm trying to basically build a modern day jukebox whereas the user will punch in a three digit number to request an audio file (accomplishing this by using USB events and keyboard GPIO convertor).
I've got BS playing files just fine, but my problem is I'd like to try to have it stack up requested triggers into a queue and fire them off after the subsequent one finishes. Like a jukebox.
Initial state is a song of my choosing, and then will stop playback unless another one is selected. Again, once a new song is triggered via USB even, it will build up into a playlist of sorts with other future requests, and play one by one, etc.
Any clue how to accomplish this? Been racking my head all day and researching here like crazy-- but left empty. This would be easy if I could pre-define set playlists, but these are created live based off of user input via the USB event triggers, and the associated songs that are selected.
Any help would be SUPER appreciated. Thanks!
Jason