2014-06-08, 03:00
Hi,
I'm using 13.1 and I'm wondering I can expect this filter to work on the JSON GetMovies:
{"jsonrpc": "2.0","method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "director", "genre", "year", "plot", "playcount", "imdbnumber", "art", "file"], "sort": {"order": "ascending"}, "filter": {"field": "playlist", "operator": "is", "value": "playlist.xsp" }}, "id": "1"}
The json parses ok, but the filter seems to be ignored.
I know I can do a GetDirectory on a playlist using special://...playlist.xsp but when I've tried that, I don't know if the playlist contents are tv shows or movies, and so I can't built a one size fits all params->properties that gets me all the information I'm looking for.
I really don't want to resort to doing a getDirectory on the playlist and then executing json against each entry to get all the properties for that entry depending on if it is a tv show or a movie.
Hopefully this makes sense!
Thanks for any assistance!
I'm using 13.1 and I'm wondering I can expect this filter to work on the JSON GetMovies:
{"jsonrpc": "2.0","method": "VideoLibrary.GetMovies", "params": {"properties": ["title", "director", "genre", "year", "plot", "playcount", "imdbnumber", "art", "file"], "sort": {"order": "ascending"}, "filter": {"field": "playlist", "operator": "is", "value": "playlist.xsp" }}, "id": "1"}
The json parses ok, but the filter seems to be ignored.
I know I can do a GetDirectory on a playlist using special://...playlist.xsp but when I've tried that, I don't know if the playlist contents are tv shows or movies, and so I can't built a one size fits all params->properties that gets me all the information I'm looking for.
I really don't want to resort to doing a getDirectory on the playlist and then executing json against each entry to get all the properties for that entry depending on if it is a tv show or a movie.
Hopefully this makes sense!
Thanks for any assistance!