2011-03-16, 06:51
I want to query for my movie list
{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "start": 0, "end": 100, "sortorder":"ascending", "fields": ["genre", "director", "trailer", "tagline", "plot", "plotoutline", "title", "originaltitle", "lastplayed", "showtitle", "firstaired", "duration", "season", "episode", "runtime", "year", "playcount", "rating"] }, "id": 1}
Is there anyway to only query for movies of a particular genre? Or to sort by the date the movies were added to the database? Or to search for movies that contain a string in their title? Or the MPAA rating?
Is there a complete list of the GetMovies "fields" available somewhere?
{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "start": 0, "end": 100, "sortorder":"ascending", "fields": ["genre", "director", "trailer", "tagline", "plot", "plotoutline", "title", "originaltitle", "lastplayed", "showtitle", "firstaired", "duration", "season", "episode", "runtime", "year", "playcount", "rating"] }, "id": 1}
Is there anyway to only query for movies of a particular genre? Or to sort by the date the movies were added to the database? Or to search for movies that contain a string in their title? Or the MPAA rating?
Is there a complete list of the GetMovies "fields" available somewhere?