Bug XBMC.ActivateWindow(Home) takes me to Music? - 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: Bug XBMC.ActivateWindow(Home) takes me to Music? (/showthread.php?tid=167244) |
XBMC.ActivateWindow(Home) takes me to Music? - Grayda - 2013-06-16 The other day I bought a Raspberry Pi and put OpenELEC (Version: 3.0.5, running XBMC 12.2) on my SD card. So far it works perfectly. I've got a generic USB MCE remote that shows up in irw as devinput. Right now I'm trying to map the big green "Windows" button (which is called KEY_MEDIA and presently does nothing in XBMC) so I can jump straight back to the home screen. I SFTP'd into the RPi and downloaded the Lircmap.xml and keyboard.xml from within /usr/share/xbmc/system so I could ensure I wasn't doing something wrong while editing. This is my edited code in Lircmap.xml Code: <yellow>KEY_MEDIA</yellow> And in keyboard.xml, I've edited the global section, and set yellow to do this: Code: <yellow>XBMC.ActivateWindow(Home)</yellow> I SFTP'd the files back, rebooted OpenELEC / XBMC, and now when I press the green home button, it takes me to the Music menu instead (as if I had gone home and entered into the "Music" menu) Thinking I was doing something wrong, I installed the Commands addon and created a new set of commands that goes home and stops the playing video. When I press the home button, the media stops, but I still go back to the Music menu. This also happens if I change Lircmap.xml to Code: <start>KEY_MEDIA</start> I don't know if this is an OpenELEC specific issue, but perhaps someone else can offer some insight? |