Key mapping - Run addon with parameters
#1
Question 
I want to map one of my remote buttons to open an addon and pass specific parameters to it (to navigate inside the addon immediately).

This is what I managed to get working (in Keyboard.xml):

Code:
<obc11>XBMC.RunPlugin(plugin.audio.tuneinradio)</obc11>

I tried to add parameters to it (TuneIn seems to support that) with the following trys:

Code:
<obc11>XBMC.RunPlugin(plugin.audio.tuneinradio?path="browse")</obc11>
<obc11>XBMC.RunPlugin(plugin.audio.tuneinradio?path=browse)</obc11>
<obc11>XBMC.RunPlugin(plugin.audio.tuneinradio/?path="browse")</obc11>
<obc11>XBMC.RunPlugin(plugin.audio.tuneinradio/?path=browse)</obc11>
<obc11>XBMC.RunPlugin(plugin://plugin.audio.tuneinradio?path="browse")</obc11>
<obc11>XBMC.RunPlugin(plugin://plugin.audio.tuneinradio?path=browse)</obc11>
<obc11>XBMC.RunPlugin(plugin://plugin.audio.tuneinradio/?path="browse")</obc11>
<obc11>XBMC.RunPlugin(plugin://plugin.audio.tuneinradio/?path=browse)</obc11>
Not one of them worked. The interesting thin is that in my debug log, When I try the working example it actually gives me a message OnKey, saying that a certain button was pressed on the remote. However, when using one of the none-working examples, the log doesn't even show an entry that a button was pressed. I guess this is because my syntax is wrong.

Can anyone help me with this?
Reply

Logout Mark Read Team Forum Stats Members Help
Key mapping - Run addon with parameters0