Linux Remote KeyMap

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
LaBoss Offline
Junior Member
Posts: 2
Joined: Aug 2012
Reputation: 0
Post: #1
Good night I'm here trying to configure my command to work with xbmc, and the keys on the command that have is videos, music, and TV. I would like to map the button on the TV to the radio (the radio is a plugin) tried this way but does not works:

Code:
<keymap>
  <global>
    <keyboard>
      <dollar mod="ctrl,alt">XBMC.RunPlugin(plugin.audio.tuneinradio)</dollar>
    </keyboard>
  </global>
</keymap>

In log show

Code:
21:52:22 T:1102704640   DEBUG: OnKey: ctrl-alt-dollar (5f024) pressed, action is XBMC.RunPlugin(plugin.audio.tuneinradio)

But nothing happens ...

Can do whatever I want with XBMC?

Thanks for the help
(This post was last modified: 2012-08-08 23:53 by LaBoss.)
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 4,424
Joined: Jul 2010
Reputation: 78
Location: USA
Post: #2
Welcome to the XBMC forums.

I don't have this add-on, so I can't actually test it, but try the following:

Code:
<dollar mod="ctrl,alt">ActivateWindow(Music,plugin://plugin.audio.tuneinradio)</dollar>
(This post was last modified: 2012-08-09 03:11 by artrafael.)
find quote
LaBoss Offline
Junior Member
Posts: 2
Joined: Aug 2012
Reputation: 0
Post: #3
Hello, I tried this way but without sucess. That log here if you want to take a look:

http://xbmclogs.com/show.php?id=6327

Thanks for the help, and the welcome
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 4,424
Joined: Jul 2010
Reputation: 78
Location: USA
Post: #4
Does this add-on work correctly if you launch it manually from Music Add-ons? If so, perhaps you can look in your debug log to see if it's passing any parameters when it launches and then add these to your ActivateWindow() command. I tried the example I gave you above with the Icecast, NPR, Hulu, and PBS add-ons and they all worked. However, I don't have access to the tuneinradio add-on, so I am unable to try it out to see what does or doesn't work.
find quote