2014-06-11, 10:20
Hi guys
Does anyone know how to change the remote.xml config to disable buttons? I want to disable the channel down and mute buttons but I'm struggling to get it to work? I've set the remote up to do the volume on my Sonos but the channel down button duplicates the jump back to the start button and the mute does mute on XBMC and the Sonos, which is fine until they get out of sync.
My remote is one of those [URL="https://www.google.co.uk/search?hl=en&site=imghp&tbm=isch&source=hp&btnG=Search+by+image&q=VRC-1100%20MCE&gws_rd=ssl"]VRC-1100 MCE remote [/URL]type things.
I've tried adding;
to the script for remote.xml but it's not made any difference. I've tried adding it under global and FullscreenVideo. I've also tried adding it to a keyboard.xml file and tried it with global and FullscreenVideo on that as well.
I can't find a code in there for channel up (but have also tried ChannelUp and ChanneDown in the above xml files).
I've turned on debugging and pressed channel up and down three times and then mute four times, and looked at the log files. The end of the log file which I think relates to these keypresses is the following;
I also just tried adding <KEY_CHANNELDOWN> to the script as well but that's not done it!
I have no idea how to interpret this, or how to work out what my XBMC thinks the button press codes are!
Can anyone help please?!
Does anyone know how to change the remote.xml config to disable buttons? I want to disable the channel down and mute buttons but I'm struggling to get it to work? I've set the remote up to do the volume on my Sonos but the channel down button duplicates the jump back to the start button and the mute does mute on XBMC and the Sonos, which is fine until they get out of sync.
My remote is one of those [URL="https://www.google.co.uk/search?hl=en&site=imghp&tbm=isch&source=hp&btnG=Search+by+image&q=VRC-1100%20MCE&gws_rd=ssl"]VRC-1100 MCE remote [/URL]type things.
I've tried adding;
Code:
<pageup>noop</pageup>
<pagedown>noop</pagedown>
<volume_mute>noop</volume_mute>
I can't find a code in there for channel up (but have also tried ChannelUp and ChanneDown in the above xml files).
I've turned on debugging and pressed channel up and down three times and then mute four times, and looked at the log files. The end of the log file which I think relates to these keypresses is the following;
Code:
12:00:28 T:140119749670784 DEBUG: LIRC: Update - NEW at 1798697:192 0 KEY_CHANNELUP devinput (KEY_CHANNELUP)
12:00:28 T:140119749670784 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
12:00:28 T:140119749670784 DEBUG: started alarm with name: sssssscreensaver
12:00:28 T:140119749670784 DEBUG: ------ Window Deinit () ------
12:00:28 T:140119749670784 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
12:00:28 T:140119749670784 DEBUG: ------ Window Init (Home.xml) ------
12:00:28 T:140119749670784 DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc
12:00:28 T:140119749670784 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated
12:00:28 T:140119749670784 DEBUG: OnKey: leftshift (0xd2) pressed, screen saver/dpms woken up
12:00:28 T:140119749670784 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86_64-linux.so)
12:00:28 T:140119749670784 DEBUG: Loading: /usr/lib/xbmc/system/ImageLib-x86_64-linux.so
12:00:28 T:140119749670784 DEBUG: ------ Window Deinit (/storage/.xbmc/addons/screensaver.xbmc.slideshow/resources/skins/default/720p/script-python-slideshow.xml) ------
12:00:28 T:140117603776256 INFO: CPythonInvoker(18, /storage/.xbmc/addons/screensaver.xbmc.slideshow/default.py): script successfully run
12:00:28 T:140117603776256 ERROR: CPythonInvoker(18, /storage/.xbmc/addons/screensaver.xbmc.slideshow/default.py): failed to run the gc to clean up after running prior to shutting down the Interpreter
12:00:28 T:140117603776256 WARNING: CPythonInvoker(18, /storage/.xbmc/addons/screensaver.xbmc.slideshow/default.py): the python script "/storage/.xbmc/addons/screensaver.xbmc.slideshow/default.py" has left several classes in memory that we couldn't clean up. The classes include: N14PythonBindings31XBMCAddon_xbmc_Monitor_DirectorE,N9XBMCAddon7xbmcgui6WindowE,N14PythonBindings42XBMCAddon_xbmcgui_WindowXMLDialog_DirectorE
12:00:28 T:140117603776256 INFO: Python script stopped
12:00:28 T:140117603776256 DEBUG: Thread LanguageInvoker 140117603776256 terminating
12:00:28 T:140119749670784 DEBUG: LIRC: Update - NEW at 1798895:192 0 KEY_CHANNELUP_UP devinput (KEY_CHANNELUP_UP)
12:00:29 T:140119749670784 DEBUG: LIRC: Update - NEW at 1799345:193 0 KEY_CHANNELDOWN devinput (KEY_CHANNELDOWN)
12:00:29 T:140119749670784 DEBUG: OnKey: rightshift (0xd3) pressed, action is PageDown
12:00:29 T:140119749670784 DEBUG: LIRC: Update - NEW at 1799562:193 0 KEY_CHANNELDOWN_UP devinput (KEY_CHANNELDOWN_UP)
12:00:29 T:140119749670784 DEBUG: LIRC: Update - NEW at 1799962:192 0 KEY_CHANNELUP devinput (KEY_CHANNELUP)
12:00:29 T:140119749670784 DEBUG: OnKey: leftshift (0xd2) pressed, action is PageUp
12:00:30 T:140119749670784 DEBUG: LIRC: Update - NEW at 1800162:192 0 KEY_CHANNELUP_UP devinput (KEY_CHANNELUP_UP)
12:00:30 T:140119749670784 DEBUG: LIRC: Update - NEW at 1800545:193 0 KEY_CHANNELDOWN devinput (KEY_CHANNELDOWN)
12:00:30 T:140119749670784 DEBUG: OnKey: rightshift (0xd3) pressed, action is PageDown
12:00:30 T:140119749670784 DEBUG: LIRC: Update - NEW at 1800729:193 0 KEY_CHANNELDOWN_UP devinput (KEY_CHANNELDOWN_UP)
12:00:31 T:140119749670784 DEBUG: LIRC: Update - NEW at 1801179:192 0 KEY_CHANNELUP devinput (KEY_CHANNELUP)
12:00:31 T:140119749670784 DEBUG: OnKey: leftshift (0xd2) pressed, action is PageUp
12:00:31 T:140119749670784 DEBUG: LIRC: Update - NEW at 1801379:192 0 KEY_CHANNELUP_UP devinput (KEY_CHANNELUP_UP)
12:00:31 T:140119749670784 DEBUG: LIRC: Update - NEW at 1801798:193 0 KEY_CHANNELDOWN devinput (KEY_CHANNELDOWN)
12:00:31 T:140119749670784 DEBUG: OnKey: rightshift (0xd3) pressed, action is PageDown
12:00:31 T:140119749670784 DEBUG: LIRC: Update - NEW at 1801998:193 0 KEY_CHANNELDOWN_UP devinput (KEY_CHANNELDOWN_UP)
12:00:32 T:140119749670784 DEBUG: LIRC: Update - NEW at 1802398:192 0 KEY_CHANNELUP devinput (KEY_CHANNELUP)
12:00:32 T:140119749670784 DEBUG: OnKey: leftshift (0xd2) pressed, action is PageUp
12:00:32 T:140119749670784 DEBUG: LIRC: Update - NEW at 1802532:192 0 KEY_CHANNELUP_UP devinput (KEY_CHANNELUP_UP)
12:00:32 T:140119749670784 DEBUG: LIRC: Update - NEW at 1802981:193 0 KEY_CHANNELDOWN devinput (KEY_CHANNELDOWN)
12:00:32 T:140119749670784 DEBUG: OnKey: rightshift (0xd3) pressed, action is PageDown
12:00:33 T:140119749670784 DEBUG: LIRC: Update - NEW at 1803182:193 0 KEY_CHANNELDOWN_UP devinput (KEY_CHANNELDOWN_UP)
12:00:34 T:140119749670784 DEBUG: LIRC: Update - NEW at 1804182:71 0 KEY_MUTE devinput (KEY_MUTE)
12:00:34 T:140119749670784 DEBUG: OnKey: launch_app1_pc_icon (0xc0) pressed, action is Mute
12:00:34 T:140119749670784 DEBUG: CAnnouncementManager - Announcement: OnVolumeChanged from xbmc
12:00:34 T:140119749670784 DEBUG: GOT ANNOUNCEMENT, type: 64, from xbmc, message OnVolumeChanged
12:00:34 T:140119749670784 DEBUG: ------ Window Init (DialogMuteBug.xml) ------
12:00:34 T:140119749670784 DEBUG: LIRC: Update - NEW at 1804198:71 0 KEY_MUTE_UP devinput (KEY_MUTE_UP)
12:00:35 T:140119749670784 DEBUG: LIRC: Update - NEW at 1805031:71 0 KEY_MUTE devinput (KEY_MUTE)
12:00:35 T:140119749670784 DEBUG: OnKey: launch_app1_pc_icon (0xc0) pressed, action is Mute
12:00:35 T:140119749670784 DEBUG: CAnnouncementManager - Announcement: OnVolumeChanged from xbmc
12:00:35 T:140119749670784 DEBUG: GOT ANNOUNCEMENT, type: 64, from xbmc, message OnVolumeChanged
12:00:35 T:140119749670784 DEBUG: LIRC: Update - NEW at 1805048:71 0 KEY_MUTE_UP devinput (KEY_MUTE_UP)
12:00:35 T:140119749670784 DEBUG: ------ Window Deinit (DialogMuteBug.xml) ------
12:00:35 T:140119749670784 DEBUG: LIRC: Update - NEW at 1805865:71 0 KEY_MUTE devinput (KEY_MUTE)
12:00:35 T:140119749670784 DEBUG: OnKey: launch_app1_pc_icon (0xc0) pressed, action is Mute
12:00:35 T:140119749670784 DEBUG: CAnnouncementManager - Announcement: OnVolumeChanged from xbmc
12:00:35 T:140119749670784 DEBUG: GOT ANNOUNCEMENT, type: 64, from xbmc, message OnVolumeChanged
12:00:35 T:140119749670784 DEBUG: ------ Window Init (DialogMuteBug.xml) ------
12:00:35 T:140119749670784 DEBUG: LIRC: Update - NEW at 1805882:71 0 KEY_MUTE_UP devinput (KEY_MUTE_UP)
12:00:36 T:140119749670784 DEBUG: LIRC: Update - NEW at 1806798:71 0 KEY_MUTE devinput (KEY_MUTE)
12:00:36 T:140119749670784 DEBUG: OnKey: launch_app1_pc_icon (0xc0) pressed, action is Mute
12:00:36 T:140119749670784 DEBUG: CAnnouncementManager - Announcement: OnVolumeChanged from xbmc
12:00:36 T:140119749670784 DEBUG: GOT ANNOUNCEMENT, type: 64, from xbmc, message OnVolumeChanged
12:00:36 T:140119749670784 DEBUG: LIRC: Update - NEW at 1806815:71 0 KEY_MUTE_UP devinput (KEY_MUTE_UP)
12:00:36 T:140119749670784 DEBUG: ------ Window Deinit (DialogMuteBug.xml) ------
12:00:48 T:140117301298944 DEBUG: Thread JobWorker 140117301298944 terminating (autodelete)
12:00:48 T:140117318084352 DEBUG: Thread JobWorker 140117318084352 terminating (autodelete)
I also just tried adding <KEY_CHANNELDOWN> to the script as well but that's not done it!
I have no idea how to interpret this, or how to work out what my XBMC thinks the button press codes are!
Can anyone help please?!