2021-02-22, 20:49
Hi there,
im trying to make Kodi open/show a list of movies with a specific gerne or title.
If i search for "Comedy", kodi should list all movies with genre containing "Comedy" or titles containing "Comedy"
I know i can open all movies view with:
{"jsonrpc":"2.0","method":"GUI.ActivateWindow","id":1,"params":{"window":"videos","parameters":["MovieTitles"]}}
but adding filters doesnt seem to work??
{"jsonrpc":"2.0","method":"GUI.ActivateWindow","id":1,"params":{"window":"videos","parameters":["MovieTitles"]}, "filter": { "or": [ { "field": "genre", "operator": "contains", "value": [ "Comedy" ] }, { "field": "title", "operator": "contains", "value": [ "Comedy" ] } ] } }
Is this possible in any way with JSON-RPC??
im trying to make Kodi open/show a list of movies with a specific gerne or title.
If i search for "Comedy", kodi should list all movies with genre containing "Comedy" or titles containing "Comedy"
I know i can open all movies view with:
{"jsonrpc":"2.0","method":"GUI.ActivateWindow","id":1,"params":{"window":"videos","parameters":["MovieTitles"]}}
but adding filters doesnt seem to work??
{"jsonrpc":"2.0","method":"GUI.ActivateWindow","id":1,"params":{"window":"videos","parameters":["MovieTitles"]}, "filter": { "or": [ { "field": "genre", "operator": "contains", "value": [ "Comedy" ] }, { "field": "title", "operator": "contains", "value": [ "Comedy" ] } ] } }
Is this possible in any way with JSON-RPC??