Linux remote.xml not working on Gotham beta 4
#1
I have been using remote.xml to remap a couple of functions to buttons on my remote that I dont use.
I recently upgraded to Gotham beta 4 and the remote.xml seems to be ignore that is the original functions occur when the buttons are pressed.
I cannot see any mention of remote.xml in my logfile. Is there something else I need to do to get xbmc to load it?

Here is the contents of my remote.xml that is stored in userdata/keymaps

Code:
<keymap>
<global>
<remote>
<mute>togglewatched</mute>
<volumeplus>SendClick(14)</volumeplus>
<volumeminus>XBMC.UpdateLibrary(Video)</volumeminus>
<power>ActivateWindow(shutdownmenu)</power>
</remote>
</global>
</keymap>

Any ideas as to why this is now not working?

Cheers
BM
Reply
#2
So I turned on Debug and now I can see the remote.xml being loaded

Code:
00:33:49 T:140397771048896    INFO: Loading special://masterprofile/keymaps/keyboard.xml
00:33:49 T:140397771048896    INFO: Loading special://masterprofile/keymaps/noBS.xml
00:33:50 T:140397771048896    INFO: Loading special://masterprofile/keymaps/remote.xml
00:33:50 T:140397771048896    INFO: Loading special://profile/keymaps/keyboard.xml
00:33:50 T:140397771048896    INFO: Loading special://profile/keymaps/noBS.xml
00:33:50 T:140397771048896    INFO: Loading special://profile/keymaps/remote.xml

But when I press one of the remapped button, it is the original action that is performed

Code:
00:35:57 T:140397771048896   DEBUG: OnKey: volume_mute (0xf0b7) pressed, action is Mute

Any suggestions?
Reply
#3
It doesn't work because "togglewatched" is not a command. You can see the current list of supported commands here.
Reply
#4
(2014-04-26, 09:24)negge Wrote: It doesn't work because "togglewatched" is not a command. You can see the current list of supported commands here.

It has always worked in the past and the wiki says that the actions can be found in ButtonTranslator.cpp and "togglewatched" IS listed as a command
here
Reply
#5
(2014-04-26, 09:24)negge Wrote: It doesn't work because "togglewatched" is not a command. You can see the current list of supported commands here.

togglewatched is a command and it should have worked.

I just remapped my mute key to the same command and it works fine.

Further investigation is required.

Start irw and press the key you are trying to use.
Make sure that key is translated as the mute key in both Lircmap.xml & remote.xml


Here are the valid commands https://github.com/xbmc/xbmc/blob/master...slator.cpp
Reply
#6
I'd check what paths special://profile/keymaps etc. are. It might not be where you think it is.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#7
I think I have solved this now. It seems as though I hadnt configured Lirc correctly so the device presses were not coming from Lirc at all. What I dont understand is how most of the keys were still working?
Reply
#8
Sorry about that, I looked in the wrong place it seems.
Reply

Logout Mark Read Team Forum Stats Members Help
remote.xml not working on Gotham beta 40