2012-09-03, 20:20
(2012-08-31, 17:34)Mizaki Wrote: @yallah if you want JS examples https://github.com/frolick/AWX-Eden/blob...ib.xbmc.jsI'd love to differe between numbers and strings in the "advanced" filter but it's just not possible with the current system/implementation.
@Tolriq thanks for having a look to check it over. I thought it was alright but it's easy to go blind on them On the year thing, yes and no. Both of these work:
Code:{"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetTVShows", "params": { "filter": {"field": "year", "operator": "is", "value": "2010"} } }
So with "normal" filter it's an int but, with what I term "advanced" filter, it's a string. Montellese might choose to change that but that's how it is atmCode:{"jsonrpc": "2.0", "id": 1, "method": "VideoLibrary.GetTVShows", "params": { "filter": { "year": 2010 } } }
(2012-09-01, 00:46)Bram77 Wrote: Is it just me, or is the 'limit' param not working on Audio- and VideoLibrary.GetRecentlyAdded* .Looks like I broke that recently. Will fix ASAP.
Code:{"id":1,"jsonrpc":"2.0","method":"AudioLibrary.GetRecentlyAddedAlbums","params":{"limits":{"start":0,"end":4},"properties":["artist","thumbnail"]}}
In all cases this request returns 25 results. Am I applying the limits the wrong way?
(2012-09-03, 03:08)terrylau Wrote: Thanks for your help - I'm almost there Just a bit more ...You can't do either of those right now through JSON-RPC.
1) How do you save the list of Now Playing songs as a playlist?
2) How do you delete a playlist from the list of playlists available?
Been looking around but can't see any methods that are suitable for these operations.