2015-10-28, 05:31
I cannot get a file or a playlist (stream) to play using this code
I get a response say
but the file does not actually play.
This code
Works correctly to pause or unpause something playing, so I think the error is in the finding of the correct file.
It seems like the same issue that Wollk may be getting.
Code:
http://192.168.1.222:88/jsonrpc?request={"jsonrpc":"2.0","id":"1","method":"Player.Open","params":{"item":{"file":"file:///C:/Kodi/file.mp3"}}}
I get a response say
Code:
{"id":"1","jsonrpc":"2.0","result":"OK"}
but the file does not actually play.
This code
Code:
http://192.168.1.222:88/jsonrpc?request={"jsonrpc": "2.0", "method": "Player.PlayPause", "params": { "playerid": 0 }, "id": 1}
Works correctly to pause or unpause something playing, so I think the error is in the finding of the correct file.
It seems like the same issue that Wollk may be getting.