colloqi / piSignage

Digital Signage Player Software for Raspberry Pi, more details at
http://pisignage.com
596 stars 252 forks source link

Set Playlist via Website #191

Open acrcmb opened 2 years ago

acrcmb commented 2 years ago

Hi There,

I am working on a project which is a simple website that lets you change the currently playing playlist, This works by simply pulling the playlists from the server then listing them in a dropdown so you can select which one you want to play.

I have everything working except getting the player to play the selected playlist, I can use the server (web url) /setplaylist endpoint and it works perfectly except it only plays the selected playlist once. I need it to just keep playing the selected playlist until another playlist is selected.

I understand there is a player endpoint (ip:8000) which does this and I have been able to use postman to confirm this works, however I would like the playlist to be able to set by someone outside of the players local network and even when I'm in the same network as the player have a lot of trouble using this endpoint through browsers due to it using HTTP not HTTPS

Any suggestions on how to achieve this?

Thanks