2021-05-21, 15:23
Hi,
I'm using kodi on libreelec.
If I want to play music from a command line like this:
I have got the following answer:
nothing happens until I ask again the same command line. In this case, music start but still have a error message:
Does someone has a idea?
thanks
I'm using kodi on libreelec.
If I want to play music from a command line like this:
Code:
curl --header "Content-Type: application/json" --request POST --data '{"jsonrpc": "2.0", "method": "Player.Open", "params": {"item":{"file":"plugin://plugin.audio.radio_de/station/104717"}},"id": 63 }' http://192.168.0.100:8080/jsonrpc
I have got the following answer:
Code:
Error: Kodi: (kodi) Message error, unknown type in OnPlay/OnResume message: 'unknown' from '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":-1,"speed":1}},"sender":"xbmc"}}'
nothing happens until I ask again the same command line. In this case, music start but still have a error message:
Code:
Error: Kodi: (kodi) Message error, unknown type in OnPlay/OnResume message: 'unknown' from '{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"type":"unknown"},"player":{"playerid":0,"speed":1}},"sender":"xbmc"}}'
Does someone has a idea?
thanks