2012-02-13, 15:16
Yes the most likely implementation will be to allow to provide queries in a similar way XBMC allows to define smartplaylists. So you will send a request to VideoLibrary.GetMovies and one of the parameters will be "filter" and it will take some kind of object which might contain something like which will then only list the movies which contain "Potter" in their title. Using the already existing SmartPlaylist implementation will enable JSON-RPC to provide a lot of flexibility without having to write a lot of new code and without running into a lot of new bugs (because smartplaylists are already well tested).
Code:
{ "property": "title", "operator": "contains", "value": "Potter" }