2012-08-19, 01:21
Sorry if I've missed something but can I not do a smart playlist type filter with a single item? For example:
I've tried a few variations and can't get it to work which I think is "right" as there is no "and"/"or". I've found a workaround of:
With the above is there a way to ignore the article that I've missed again?
Also:
doesn't appear to work. "Invalid params" but I believe it should?
Would you like me to continue testing or do you know about these?
Code:
{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "filter": { "field": "title", "operator": "startswith", "value": "A" } }, "id": 1}
Code:
{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "filter": { "and": [ { "field": "year", "operator": "endswith", "value": "" }, { "field": "title", "operator": "startswith", "value": "a" } ] } }, "id": 1}
Also:
Code:
{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "filter": { "year": "2000" } }, "id": 1}
doesn't appear to work. "Invalid params" but I believe it should?
Would you like me to continue testing or do you know about these?