JSON-RPC
#1
Hi,

I am using the command
{"jsonrpc": "2.0", "method": "Player.SkipNext", "params": { "playerid": 0 }, "id": 1}
to play next song in xbmc 12.3 version but returns an error,,

can someone correct me if I am wrong.

Thanks,
Reply
#2
Is that the while command? You need to semd the command to xbmc with curl. What is are you running it from? What error are you getting?

See
http://wiki.xbmc.org/index.php?title=HOW...te_library
Reply
#3
I am using json-rpc to control xmbc over tcp connection.

i get the following error

{"jsonrpc": "2.0", "error": {"code": -32601, "message": "Method not found"}, "id": "1"}

Thanks
Reply
#4
(2014-01-11, 04:15)sharathrayapati Wrote: Hi,

I am using the command
{"jsonrpc": "2.0", "method": "Player.SkipNext", "params": { "playerid": 0 }, "id": 1}
to play next song in xbmc 12.3 version but returns an error,,

can someone correct me if I am wrong.

Thanks,

Reading the JSON documentation always helps - there is no such method "Player.SkipNext".

Maybe you meant "Player.GoTo"? From here:
Quote:merge Player.Go(Previous|Next|To) into Player.GoTo with a "to" parameter (not "position") which can be "previous", "next" or any integer number describing a position in the playlist
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply

Logout Mark Read Team Forum Stats Members Help
JSON-RPC0