2011-08-05, 01:21
jasonvp Wrote:The reason I asked was because I initially created a Widget for a Boxee Box for a friend and that got me interested in XBMC. So rather than reinventing the wheel I thought I would just add to my already made Widget for use with XBMC. This is also another reason why I'm using "System.GetInfoLabels" a lot because the Boxee Box has limited JSON commands.
When using "AudioPlayer.State" with the Boxee Box it returned the below even though no player was active.
Code:{"id":3,"jsonrpc":"2.0","result":{"playing":false}}
I was just curious. Sorry for being be a pain in the bum.
Will do if you think it's worth the trouble?
Cheers
Jason
Oh interesting, I wasn't aware that they merged in our json code. Well they should only merge it on stables (as thats when we freeze json-rpc), so their return should be the one in Dharma (which I think it is). So you should check against jsonrpc.version and either only work with a specific version (even is stable, odd are development. 2 = dharma, 4 will be eden). With boxee having json-rpc we might revisit the json-rpc versioning so that they can merge a bit in between too, but this is something we would need to discuss a bit internally, will let you guys know if we change versioning.
Anyways, try JSONRPC.Version on their server, it really should return 2 otherwise they have merged development builds (which isn't good).