Hi,
I am working on an app for Windows Phone 8, and though I can get JSON-RPC working fine with other commands, the Files.Download option returns the following error.
{"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}
This is the JSON command I am sending:
{"jsonrpc": "2.0", "method": "Files.Download", "id": 1, "params": {"path":"image://C%3a%5cUsers%5cjohndoe%5cDownloads%5cSabNZBd%5cMOvies%5cDeath%20Race%20Inferno%20(2012)%5cDeath%20Race%20Inferno%20(2012)%20%5b1080p-DTS-x264%5d.tbn/"}}
This is the response I am seeing in the XBMC.log file:
08:22:40 T:2176 DEBUG: webserver: request received for /jsonrpc
08:22:40 T:2176 DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Files.Download","id":1,"params":{"path":"image:\/\/C%3a%5cUsers%5cjohndoe%5cDownloads%5cSabNZBd%5cMOvies%5cDeath%20Race%20Inferno%20(2012)%5cDeath%20Race%20Inferno%20(2012)%20%5b1080p-DTS-x264%5d.tbn\/"}}
08:22:40 T:2176 DEBUG: JSONRPC: Calling files.download
I am currently using this version of XBMC
XBMC (12.0-RC3 Git:20130102-7a6cb7f), Platform: Windows 8 64-bit, build 9200. Built on Jan 3 2013 (compiler 1600)
Any help would be appreciated.
TIA..
I am working on an app for Windows Phone 8, and though I can get JSON-RPC working fine with other commands, the Files.Download option returns the following error.
{"error":{"code":-32601,"message":"Method not found."},"id":1,"jsonrpc":"2.0"}
This is the JSON command I am sending:
{"jsonrpc": "2.0", "method": "Files.Download", "id": 1, "params": {"path":"image://C%3a%5cUsers%5cjohndoe%5cDownloads%5cSabNZBd%5cMOvies%5cDeath%20Race%20Inferno%20(2012)%5cDeath%20Race%20Inferno%20(2012)%20%5b1080p-DTS-x264%5d.tbn/"}}
This is the response I am seeing in the XBMC.log file:
08:22:40 T:2176 DEBUG: webserver: request received for /jsonrpc
08:22:40 T:2176 DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Files.Download","id":1,"params":{"path":"image:\/\/C%3a%5cUsers%5cjohndoe%5cDownloads%5cSabNZBd%5cMOvies%5cDeath%20Race%20Inferno%20(2012)%5cDeath%20Race%20Inferno%20(2012)%20%5b1080p-DTS-x264%5d.tbn\/"}}
08:22:40 T:2176 DEBUG: JSONRPC: Calling files.download
I am currently using this version of XBMC
XBMC (12.0-RC3 Git:20130102-7a6cb7f), Platform: Windows 8 64-bit, build 9200. Built on Jan 3 2013 (compiler 1600)
Any help would be appreciated.
TIA..