Adding XBMC commands

Hi there,

actually i am adding some custom commands for my XBMC.

I was able to add channel switch by adding the following http command:

DIGIT4
/jsonrpc?request=%7b%22jsonrpc%22:%222.0%22,%22method%22:%22player.open%22,%22params%22:%7b%22item%22:%7b%22channelid%22:5%7d%7d%7d

Works fine, but then i tried to use it with .CHANNEL SET but Roomie won’t switch. In device configuration there are no switch mode options, so i think Roomie does not understands me :slight_smile:

Thanks in advance.
Neospin

As far as I understand it - custom command plists are not possible with XBMC/Kodi anymore. You should contact support directly and see if they can be of more help.

@Roomie - please correct me if I am wrong (I hope I am!!). It would be nice to have the custom command option back again.

Perhaps you mean the old XBMC pre-Frodo commands do not work anymore which is certainly true. It’s just as trivial to make custom commands for Frodo as it was for pre-Frodo. The commands just look different.

For instance, here is BACK:

BACKPOST /jsonrpc
Content-Type: application/json
Connection: keep-alive

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

The DDK sample for HTTP does almost exactly this as well.

Thank you.