2011-10-05, 20:08
I've come across a problem.
I was previously running nightly version (20110827-639950e) on Windows and wrote a script to play a random movie.
The script had the following JSON request:
However this request no longer works. I don't know at which version the request stopped however I have just downloaded version (20111005-fc24dcb) and confirm the request doesn't work.
The response I receive is:
Has something changed in the protocol that means my request is now invalid?
If so, can someone point me in the direction of a solution?
Many thanks,
el_P
I was previously running nightly version (20110827-639950e) on Windows and wrote a script to play a random movie.
The script had the following JSON request:
Code:
{"jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "params": { "fields": ["genre", "playcount", "file"]}, "id": 1}
However this request no longer works. I don't know at which version the request stopped however I have just downloaded version (20111005-fc24dcb) and confirm the request doesn't work.
The response I receive is:
Code:
{"error":{"code":-32602,"data":{"message":"Too many parameters","method":"VideoLibrary.GetMovies"},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}
Has something changed in the protocol that means my request is now invalid?
If so, can someone point me in the direction of a solution?
Many thanks,
el_P