2017-07-11, 17:02
Hello guys
I am using Kodi JSON RPC interface in a custom ruby application. The 2 calls this program make were working fine until all of a sudden Kodi started returning "internal error" messages.
Example:
Some calls still works, like:
but most of them now always return this internal errors.
Using a browser request like "http://192.168.0.100:8080/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22id%22:1,%22method%22:%22VideoLibrary.GetMovieSets%22}" returns the same.
Nothing relevant in kodi.log. Anyone can help me debug this?
thanks
Raph
I am using Kodi JSON RPC interface in a custom ruby application. The 2 calls this program make were working fine until all of a sudden Kodi started returning "internal error" messages.
Example:
Code:
>> Xbmc::VideoLibrary.get_tv_shows({:properties => ["title", "year", "playcount", "episode", "imdbnumber", "premiered", "lastplayed", "season", "watchedepisodes"],
:sort => {:order => 'ascending', :method => 'label'}})
Xbmc::VideoLibrary.get_tv_shows({:properties => ["title", "year", "playcount", "episode", "imdbnumber", "premiered", "lastplayed", "season", "watchedepisodes"],
:sort => {:order => 'ascending', :method => 'label'}})
{"error"=>{"code"=>-32603, "message"=>"Internal error."}, "id"=>"1", "jsonrpc"=>"2.0"}
Code:
Xbmc::JSONRPC.version
{"id"=>"1", "jsonrpc"=>"2.0", "result"=>{"version"=>{"major"=>8, "minor"=>0, "patch"=>0}}}
=> {"version"=>{"major"=>8, "minor"=>0, "patch"=>0}}
Using a browser request like "http://192.168.0.100:8080/jsonrpc?request={%22jsonrpc%22:%222.0%22,%22id%22:1,%22method%22:%22VideoLibrary.GetMovieSets%22}" returns the same.
Nothing relevant in kodi.log. Anyone can help me debug this?
thanks
Raph