2015-01-04, 01:13
Hi,
I've trying to filer my movie listing by genreid but i'm getting this JSON returned:
The JSON I'm posting looks like this:
I've looked through so many KODI pages to try work out what i'm doing wrong, but I can't seem to work it out, I'm sure it's something simple if someone could help me out that would be great
I've trying to filer my movie listing by genreid but i'm getting this JSON returned:
Code:
{"error":{"code":-32602,"data":{"method":"VideoLibrary.GetMovies","stack":{"message":"Received value does not match any of the union type definitions","name":"filter","property":{"name":"order","type":"string"},"type":"object"}},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}
The JSON I'm posting looks like this:
Code:
{"jsonrpc":"2.0","method":"VideoLibrary.GetMovies","params":{"limits":{"start":0,"end":20},"filter":{"field":"genreid","operator":"is","value":1},"properties":["art","rating","genre","imdbnumber","plot","file","showlink","tag","trailer","year","streamdetails"],"sort":{"order":"descending","method":"dateadded","ignorearticle":true}},"id":1}
I've looked through so many KODI pages to try work out what i'm doing wrong, but I can't seem to work it out, I'm sure it's something simple if someone could help me out that would be great