Configuring remote to run app
#1
Ok, so I have xsqueeze installed and would like to setup an activity on my harmony remote that will turn on xbmc and run the xsqueeze application. This would allow me to use it without having to turn on the TV
Is this possible? Obviouisly I can do this first part (switching it on) but how can I configure a button to specify a program to run? Thanks
Reply
#2
http://wiki.xbmc.org/index.php?title=Bui...keymap.xml
Reply
#3
Thanks for this. But Im not able to get the basics working.
So I created a file keyboard.xml in /userdata/keymaps/ which looked like this....

<keymap>
<global>
<keyboard>
<d>Notification(Keypress, You pressed D!, 3)</d>
</keyboard>
</global>
</keymap>

Any ideas why?
Reply
#4
Ok so not quite sure what solved this (maybe using Notepad++ as text editor) but now 'd' works ok and shows a message. So now trynig to run the XSqueeze app as follows, but Im doing something wrong because it doesnt start. Amy ideas?

Code:
<keymap>
  <global>
    <keyboard>
      <d>Notification(Keypress, You pressed D!, 3)</d>
      <e>xbmc.executebuiltin('XBMC.RunScript(/storage/.xbmc/addons/script.module.xsqueezecommon/lib/XSqueezeCommon.py)')</e>
    </keyboard>
  </global>
</keymap>
Reply



Logout Mark Read Team Forum Stats Members Help
Configuring remote to run app0
This forum uses Lukasz Tkacz MyBB addons.