Page 1 of 1

Where does a player's playlist get stored?

PostPosted: Tue Jan 21, 2014 3:44 pm
by vbx
Apologies if I am asking in the wrong place!

I was looking at the API and I noticed the "getPlaylist" functions only work for saved playlists, and "getNowPlaying" only displays the currently playing track. What I am wondering is, when I add a song to the webapp player's playlist for example, where would I go to access that information? That is, is there a way for me to return whatever the next track is going to be? Or what the previous was?

I would be using this information to script hotkeys to control my player, so maybe I am asking the wrong question. If anyone knows how to interact directly with the webapp (if that's even possible) that would also be cool to know.

Thanks in advance for any help you can offer!

Re: Where does a player's playlist get stored?

PostPosted: Mon Mar 09, 2015 3:10 am
by acroyear
This idea, of a 'play queue' that is persistent across all apps talking to a single server, has just been added to the API in 5.2. I'm not sure which external clients support it yet (SubFire will support it sometime in the next month or so), or if the main web client is using it yet.