Crestron TCP or HTTP control KODI.
#1
Hello all, my name is Juanma. Good morning from Spain.

I had a Crestron module to control XBMC, but there isn't exactly that I wanted.

So, I have time now, and I've started to read JSON 2.0 API v6. And I have several examples like this:

{"jsonrpc":"2.0","method":"Input.Select","id":1}

I've readed all "method" API, but my question is: where can I find a manual to understand the structure of that expression?

I don't know, for example, how to use params in "Audiolibrary", or why I have to put "id":1....

Sorry for my english, but I think that you will can understand me.

Thanks.
Reply
#2
Please, help.

I have a loop to send this command:

{"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums","params": { "limits": { "start" : 0, "end": 10 }},"properties": ["thumbnail"],"id":1}

I can to change the value of "start" and "end" to go for all positions, but if a send this, I can not recieve the cover address.

My crestron module say me the ALBUM_ID and the label of this one but, how can I play this ALBUM_IDHuh?

Thanks.
Reply
#3
There is a Crestron module available at https://code.google.com/p/kodi-crestron/

Take a look at the source code of XBMCMain.usp file to see examples of using Crestron to communicate with xbmc/Kodi
Reply
#4
Are they the same commands using KODI?
Reply

Logout Mark Read Team Forum Stats Members Help
Crestron TCP or HTTP control KODI.0