Whatever parameter I pass to curl e.g. media_album_name=foo
, I can’t see it in the states while it’s playing. How could I pass custom values to kodi in order to read them in the states?
curl -i -X POST -d '{"jsonrpc": "2.0", "method":
"Player.Open", "params": {"item": { "file" :
"plugin://plugin.video.youtube/play/?video_id=MAM7mF2v7dE"}}, "id": 1,
"media_album_name": "foo", "media_series_title": "bar", "mykey":
"myvalue"}" http://raspberrypi:8080/jsonrpc -H "Content-Type:
application/json"'