Hello James,
In the version of XBMC Eden (11), JSON-RPC is partially developed, and uses port 9090, would be interesting to try to create some basic commands using the new API, it is already possible I think.
extra info: TCP use port 9090 (although this can be customized in latest git through advancedsettings.xml). You should also be able to send json rpc requests, receive responses and receive announcements like "Player.PlaybackStopped" or "Application.Quit"
I found that information that is relevant for us to try something with the vox:
For example:
Is there an example somewhere on how to get CurrentlyPlaying info through JSON?
First call "Player.GetActivePlayers" to determine the currently active player (audio, video or picture). If it is audio or video call Audio/VideoPlaylist.GetItems and read the "current" field to get the position of the currently playling item in the playlist. The "items" field contains an array of all items in the playlist and "items[current]" is the currently playing file. You can also tell jsonrpc which fields to return for every item in the playlist and therefore you'll have all the information you need.
Direct interaction
To be able to test some methods of XBMC's JSON RPC API it can be of great help to be able to send a single hand-written JSON RPC request to XBMC to see its effect and the generated response. Depending on the transport protocol used there are different possibilities to do that:
TCP
With a telnet connection (using PuTTY on Windows or telnet on Linux) to port 9090 of the machine running XBMC it is possible to send and receive raw json data to/from XBMC.
HTTP
A simple way of manually sending HTTP requests containing a JSON RPC request to XBMC is using the Simple REST Client extension for Google's Chrome/Chromium browser, in this link:
http://chrome.google.com/extensions/detail/fhjcajmcbmldlhcimfajhfbgofnpcjmb , It allows defining an URL and the HTTP request type (POST is what we need). The actual JSON RPC request can be defined in the Data field and then sent to XBMC.
mapped methods in this link:
http://pastebin.com/m4f937676More info here in Wiki:
http://wiki.xbmc.org/index.php?title=JSON_RPC