2015-08-30, 12:41
Hi All,
Unsure if this is in the wrong area or not, if so can a mod please move.
I want to use my OSMC/Kodi instance to stream a TuneIn radio station around my house. I am wondering if anyone can help me deem the right jSON to post as to be honest I am struggling.
I have added my TuneIn station to a PlayList which I can load at http://10.0.0.44/#playlist/1
If I use Firefox Firebug I can see the following when I hit play
{"jsonrpc":"2.0","method":"Player.PlayPause","id":1,"params":[0,"toggle"]}
When I issue this code I get the same exact response as the browser
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 45
Content-Type: application/json
Date: Sun, 30 Aug 2015 10:40:12 GMT
{"id":1,"jsonrpc":"2.0","result":{"speed":0}}
Maybe I am going about this the wrong way but all I want to do is call up a TuneIn radio station and play it via a HTTP request.
Thanks
Shane Baldacchino
Unsure if this is in the wrong area or not, if so can a mod please move.
I want to use my OSMC/Kodi instance to stream a TuneIn radio station around my house. I am wondering if anyone can help me deem the right jSON to post as to be honest I am struggling.
I have added my TuneIn station to a PlayList which I can load at http://10.0.0.44/#playlist/1
If I use Firefox Firebug I can see the following when I hit play
{"jsonrpc":"2.0","method":"Player.PlayPause","id":1,"params":[0,"toggle"]}
When I issue this code I get the same exact response as the browser
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 45
Content-Type: application/json
Date: Sun, 30 Aug 2015 10:40:12 GMT
{"id":1,"jsonrpc":"2.0","result":{"speed":0}}
Maybe I am going about this the wrong way but all I want to do is call up a TuneIn radio station and play it via a HTTP request.
Thanks
Shane Baldacchino