2013-03-18, 14:53
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 !
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 !