Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

Jsonrpc help

$
0
0
Ive been screwing around for ages trying to open a video file with jsonrpc, despite the number combinations Ive tried it wont work. Everything looks like it should work, but I cant nut it out. The file I want to launch is /media/br0/BDMV/index.bmdv. I have the webserver enabled and listening on port 7777 with no user name/pass and running Frodo-RC. Here is the latest iteration, and output, of the command Im trying:

Code:
~$ curl --data-binary '{ "jsonrpc": "2.0", "method": "Player.Open", "params":{"item": {"file": "/media/br0/BDMV/index.bmdv"}}, "id": "1" }' -H 'content-type: application/json;' http://localhost:7777/jsonrpc
{"error":{"code":-32602,"message":"Invalid params."},"id":"1","jsonrpc":"2.0"}

Ive tried the wiki but I cant make alot sense of it, although Ive managed to glean some info from it.

Can anyone see what Im doing wrong? Or be kind enough to show me how its done?

Thanks in advance.

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>