2013-01-13, 22:32
Montellesse, is there a way to go directly to a playlist with json, e.g. John's 5 Stars
{"jsonrpc": "2.0", "method": "Player.Open", "params": { "item" : [ "playlistid" : 0 ] }, "id": 1 }
[ "playlistid" : 0 ]
{ "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "file": { "C:/Users/Livingroom/AppData/Roaming/XBMC/userdata/playlists/music/John's 4 Stars.xsp" } } }, "id": 1 }
{"id":1,"jsonrpc":"2.0","method":"AudioLibrary.GetAlbums","params":{"filter":{"and":[{"field":"album","operator":"contains","value":"pump"},{"artistid":6 }]},"limits":{"start":0,"end":6 }},"properties":["artist","thumbnail","genre","year"]}}
{"jsonrpc": "2.0", "id": 1, "method": "audioLibrary.Getalbums", "params": { "sort": { "order": "ascending", "method": "album", "ignorearticle": true }, "properties": ["artist", "genre", "rating", "thumbnail", "year", "mood", "style"], "filter": { "and": [ {"field": "albumartist", "operator": "is", "value": "future of the left"}, {"field": "album", "operator": "is", "value": "curses"} ] } } }