VideoLibrary.GetMovies filter?
#18
(2015-01-06, 00:40)Milhouse Wrote:
(2015-01-06, 00:29)hernandito Wrote: Thank you Millhouse. So far I have the following working....
Code:
/jsonrpc?request={"jsonrpc": "2.0", "params": {"sort": {"order": "ascending", "method": "title", "ignorearticle": true}, "filter":{"operator": "startswith", "field": "title", "value": "f"}, "properties": ["title", "thumbnail", "imdbnumber", "year", "plot", "rating"]}, "method": "VideoLibrary.GetMovies", "id": "libMovies"}

It is filtering for fovies starting with the letter "f". But If I have a movie called "The Fall", it will NOT show up on my results. In essence the ignorearticle thing is not really doing anything. Is there a way to have the filter display The Fall movie?

Thank you for your help!!

H. 

I don't think that's possible. "ignorearticle" is a property of the sort, not the filter. 
Resurrecting an old thread in search of help for MOVIES and MUSIC below . . . 

I have copied the above commands (except "value": "f") and it does nothing with my iRule setup, no response at all.  In fact none of the examples I have copied work.

The following JSON works for my WMCServerWMC PVR setup, brings up the PVR Channels page:
 {"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"tvchannels"},"id":"1"}}

The following ALMOST works for movies, it stops just short of showing movies by title: jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"videos"},"id":"1"}}

FWIW here's what Kodi skin settings points to for the Movies menu option:

- ActivateWindow(Videos,library://video/movies/titles.xml/,return)

Similar to above, the following ALMOST works for music, is stops just short of showing albums: jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ActivateWindow","params":{"window":"music":{"order":"ascending","method":"albums","ignorearticle":true},"id":"Albums"}}

Here's what Kodi skin settings point to for the Music menu option:

- ActivateWindow(Music,library://music/albums.xml/,return)

Any assistance would be greatly appreciated!
Win10 64-bit
Kodi 20.1 / Mimic-LR
Reply


Messages In This Thread
VideoLibrary.GetMovies filter? - by ScottyDoo - 2013-08-22, 16:05
RE: VideoLibrary.GetMovies filter? - by dshorrosh - 2019-06-30, 20:48
Logout Mark Read Team Forum Stats Members Help
VideoLibrary.GetMovies filter?0