2010-12-20, 17:24
I currently have some custom scripts that update my XBMC library automatically but they are using the (depricated) HTTP API.
I'd like to switch to the JSON-RPC API, but I am having trouble finding an example of how use the interface. I've read the wiki and have enabled the webserver. Browsing to httpL//mybmc/jsonprc tells me that json-rpc is up and running.
So, now I want to use the interface....
I'd like to switch to the JSON-RPC API, but I am having trouble finding an example of how use the interface. I've read the wiki and have enabled the webserver. Browsing to httpL//mybmc/jsonprc tells me that json-rpc is up and running.
So, now I want to use the interface....
- Is it possible to get JSON data back by simply browsing to a URL/command such as http://myxbmc/jsonrp?[command] ? If so, can you give me an example [command]?
- If this is not possible, what is an easy way to test commands for debugging purposes?