• 1
  • 12
  • 13
  • 14
  • 15
  • 16(current)
Working JSON RPC API Examples
Hi,
I was looking for the same command. Now, I have found the following solution that does it for me.
Use HTTP-POST instead of GET. The request should be paste in the body
With curl it looks like that:

Code:

curl --data-binary '{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"recursive":true, "directory":"special://profile/playlists/music/Trance.xsp"}}}' -H 'content-type: application/json;' http://kodi:[email protected]:8081/jsonrpc
{"id":1,"jsonrpc":"2.0","result":"OK"}
Reply
  • 1
  • 12
  • 13
  • 14
  • 15
  • 16(current)

Logout Mark Read Team Forum Stats Members Help
Working JSON RPC API Examples0
This forum uses Lukasz Tkacz MyBB addons.