2011-05-23, 19:14
Is it just me or is the JSON-RPC implementation buggy?
I'm sending this JSON request:
{ "jsonrpc": "2.0",
"method": "VideoLibrary.GetMovies",
"params":
{
"fields":
[
"title",
"imdbnumber",
"playcount"
]
},
"id": 1
}
In the response I get movies with these fields: "fanart", "file", "label", "movieid", "playcount", "thumbnail" and "title". Isn't the whole idea that I only should get the fields "title", "imdbnumber" and "playcount" ?
And what's up with the "imdbnumber" field? Is it not supported, or why am I not getting it in the result?
Running latest official.
I'm sending this JSON request:
{ "jsonrpc": "2.0",
"method": "VideoLibrary.GetMovies",
"params":
{
"fields":
[
"title",
"imdbnumber",
"playcount"
]
},
"id": 1
}
In the response I get movies with these fields: "fanart", "file", "label", "movieid", "playcount", "thumbnail" and "title". Isn't the whole idea that I only should get the fields "title", "imdbnumber" and "playcount" ?
And what's up with the "imdbnumber" field? Is it not supported, or why am I not getting it in the result?
Running latest official.