View Single Post
Posts: 59 | Thanked: 168 times | Joined on Jun 2012
#260
Originally Posted by paulvt View Post
The main thing for which I still have to turn on the TV and/or use AWXi (a web interface) and I do this very often: start playing (music) playlists, in order or even more in party mode. Also because one has to use music playlists to be able to tune in to webradio (i.e. a playlist that contains an URL), playlists are important to me.

I've been helping out with AWXi development to enable playing/party mode of playlists, but I recall that the API is a bit unsufficient or requires some hacks. I am not completely sure as AWXi uses a mix of the HTTP and JSON API still. Maybe in pre-frodo things are looking better.
Thanks for the input I just had a quick look at the wiki page which describes the JSON API of Eden and I think it might be possible. But will need to run some tests later on to see if Playlist.GetPlaylists actually does what I think it does. As playlists are a bit "strange" implemented IMHO. I also never used playlists (and I think mzanetti also didn't use them, as I guess otherwise he would already have implemented it), so I need to investigate how they work in XBMC and of couse how the API works.

This might also be a nice chance to do some other "playlist related" changes. As some might have noticed a "feature" has been removed in the 1.2 version. Previously you could add some items to the playlist, stop the playlist, go back to "now playing" and open the playlist again to select an item to play. When I disabled the "now playing" page when nothing was playing mzanetti already noted it would remove that feature and we had some discussion about maybe implementing a shortcut to the last playlist (skipping the now playing page). So if we're going to create a list of saved playlists which you can select from we could just as well reenable the old feature. And my bet would be the unsaved music and video playlists will already be part of Playlist.GetPlaylists.