02-11-2022, 07:18 PM
(This post was last modified: 02-12-2022, 02:58 PM by cvmakerspace.)
Greetings from BC, Canada!
Here is what I am trying to accomplish:
- have the player start playing a streaming station taken from a list of favorite stations that I can manage via the web interface.
- use a GPIO button to select the 'next' streaming station in the playlist.
- when I get to the end of the playlist, I want the next button push to select the first station again.
I have been able to open my Favourites folder, manually add a number of stations to the queue, and use the 'next track' button on the GUI to select the next streaming station. One issue is that when I press next track enough times, I get to the end of the queue and I cannot get back to the first station in the queue.
My ultimate goal would be to have a playlist automatically added to the queue on startup, or reloaded when a hardware button is pressed if possible.
Could anyone point me in the right direction?
I know a bit of Python - enough to be dangerous, but the way.
Cheers,
Brian
Here is what I am trying to accomplish:
- have the player start playing a streaming station taken from a list of favorite stations that I can manage via the web interface.
- use a GPIO button to select the 'next' streaming station in the playlist.
- when I get to the end of the playlist, I want the next button push to select the first station again.
I have been able to open my Favourites folder, manually add a number of stations to the queue, and use the 'next track' button on the GUI to select the next streaming station. One issue is that when I press next track enough times, I get to the end of the queue and I cannot get back to the first station in the queue.
My ultimate goal would be to have a playlist automatically added to the queue on startup, or reloaded when a hardware button is pressed if possible.
Could anyone point me in the right direction?
I know a bit of Python - enough to be dangerous, but the way.
Cheers,
Brian