2024-05-27, 11:29
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:
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"}