2011-07-22, 12:03
mjeanrichard Wrote:Hi!
I am developing an Interface based on JSON-RPC. For the "Now playing" screen I use the playlist.getItems method to get the playlist and its current field to find out which is currently playing.
BUT:
If I remove the item, that is currently playing from the playlist (Playlist.Remove) the song keeps playing in XBMC (which ist ok). But now, the "current" field of the playlist.getItems method is not pointing so the current song since that song is not in the playlist anymore.
Is there any way to get the now playing song if the song is not in the playlist?
Thanks for your help!
Are you using Playlist or the [Audio|Video]Playlist? you need to use the latter one for now playing (we want to switch this at a later stage when core works like it).