2020-03-30, 17:55
hi
i have problem . some codes is ok but some have this error.
for example: (ok)
result
(failed)
result
please help me .thank you
i have problem . some codes is ok but some have this error.
for example: (ok)
Code:
{"jsonrpc": "2.0", "method": "Player.GetItem", "params": { "properties": ["title", "album", "artist", "duration", "thumbnail", "file", "fanart", "streamdetails"], "playerid": 0 }, "id": "AudioGetItem"}
Code:
{"id":"AudioGetItem","jsonrpc":"2.0","result":{"item":{"fanart":"","file":"","label":"","thumbnail":"","title":"","type":"unknown"}}}
(failed)
Code:
{"jsonrpc": "2.0", "method": "Player.PlayPause", "params": { "playerid": 0 }, "id": 1}
Code:
{"error":{"code":-32099,"message":"Bad client permission."},"id":1,"jsonrpc":"2.0"}
please help me .thank you