Start disc playing with Json API
#1
Hi,

Is there a way with the Json API to make XBMC start playing the current disc (CD, DVD or Blu-ray) in the optical drive ?
I have tried this :
{ "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "file": "D:\" } }, "id": 1 }
and this :
{ "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "path": "D:\" } }, "id": 1 }
(where D:\ is my optical drive)
with no success. XBMC returns "OK", but the playing doesn't start. Of course, it works when I use the "Play disc" entry in the main menu.

Thank you !
Reply

Logout Mark Read Team Forum Stats Members Help
Start disc playing with Json API0