2014-05-14, 16:39
I'm freaking out because of this tiny little problem:
Whatever I do, XBMC fails to parse my JSON-RPC requests
This is my code:
...and this is what I get:
What am I doing wrong?
PS. I'm running XBMC 13.0
Whatever I do, XBMC fails to parse my JSON-RPC requests
This is my code:
Code:
query = {
'jsonrpc': '5.0',
'method': 'Player.GetItem',
'params': {
'playerid': 0,
'properties': ['imdbnumber']
}
}
json_string = xbmc.executeJSONRPC(json.dumps(query))
...and this is what I get:
Code:
ERROR: JSONRPC: Failed to parse '{"jsonrpc":"5.0","method":"Player.GetItem","params":{"playerid":0,"properties":["imdbnumber"]}}'
What am I doing wrong?
PS. I'm running XBMC 13.0