Adding XBMC commands

2014 · 2 replies · Devices

This discussion is 12 years old. It predates today's Roomie Remote X, and the app names, menus, features, pricing, and device details below have changed substantially since 2014. Treat it as historical reference — see Support and current compatibility for how things work today.

In short

Hi there, actually i am adding some custom commands for my XBMC. — Staff replied: “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.”

Question 2014-11 · older version

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:

<key>DIGIT4</key>

<string>/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

</string>

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

Member 2014-11 · older version

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.

Roomie Staff 2014-11 · older version

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:

<pre><code><key>BACK</key><string>POST /jsonrpc

Content-Type: application/json

Connection: keep-alive

{"jsonrpc": "2.0", "method": "Input.Back", "id": "1"}</string></code></pre>

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

Thank you.

Related threads

Today's Roomie controls 400,000+ devices.

Roomie Remote X brings TVs, receivers, streamers, lights, and whole-home audio into one app on iPhone, iPad, Mac, and Apple TV.

Download Roomie Remote X