Kodi Community Forum
help with keyboard.xml function - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: help with keyboard.xml function (/showthread.php?tid=78382)



help with keyboard.xml function - quebert - 2010-08-04

I have my remote working pretty close to how I want it. I looked at the function wiki and am having a problem with a few of the commands.

One, I want a button on my remote to launch a playlist I made, I added this to my keyboard.xml under the global keyboard section

<1 mod="ctrl,alt">PlayMedia(funk)</1> This is what I figured out from the syntax example on the wiki, but it's obviously wrong because when I load XBMC my remote doesn't do anything. The playlist is called funk. The code on my remote is showing up as ctrl + alt 1. I have a few other C+A+key things I added to my xml and they're working.


- spiff - 2010-08-04

playmedia eats a path, not some random word (in your case 'funk').


- jhsrennie - 2010-08-04

Also it should be <one mod="ctrl,alt"> (and </one>) not <1 mod="ctrl,alt">

JR