Custom remote command not working with Eden update
#1
Hello,

I am having a problem with my remote commands following the update to xbmcbuntu. I had a good remote config in xbmclive and put that into .xbmc/userdata/keymaps/remote.xml.

Most my buttons are working but this one (excerpt from the remote.xml in the global section) does not:

<mytv>XBMC.ActivateWindow(VideoLibrary,TvShowTitles)</mytv>

While this one does:
<myvideo>XBMC.ActivateWindow(VideoLibrary,MovieTitles)</myvideo>

Some excerpts from the debug log:

From the working myvideo button:
11:50:20 T:15980304 DEBUG: LIRC: Update - NEW at 159385:000000037ff07bb5 00 KEY_VIDEO mceusb (KEY_VIDEO)
11:50:20 T:15980304 DEBUG: OnKey: 7 (07) pressed, action is XBMC.ActivateWindow(VideoLibrary,MovieTitles)
11:50:20 T:15980304 DEBUG: Activating window ID: 10025
11:50:20 T:15980304 DEBUG: ------ Window Deinit (Home.xml) ------
11:50:20 T:15980304 DEBUG: ------ Window Init (MyVideoNav.xml) ------
11:50:20 T:15980304 INFO: Loading skin file: MyVideoNav.xml
11:50:20 T:15980304 DEBUG: CGUIMediaWindow::GetDirectory (videodb://1/2/)
11:50:20 T:15980304 DEBUG: ParentPath = [videodb://1/2/]
11:50:20 T:15980304 DEBUG: RunQuery took 9 ms for 68 items query: select * from movieview
11:50:21 T:15980304 DEBUG: Saving fileitems [videodb://1/2/]
11:50:21 T:15980304 DEBUG: -- items: 69, sort method: 25, ascending: true


and the non-working mytv button:
11:50:27 T:15980304 DEBUG: LIRC: Update - NEW at 166641:000000037ff07bb9 00 KEY_TV mceusb (KEY_TV)
11:50:45 T:15980304 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
11:50:45 T:15980304 DEBUG: Unloading: ImageLib-i486-linux.so


Did that command change in eden? Any thoughts why that button would not work?

Thanks
Reply
#2
(2012-05-20, 20:59)Matt_123 Wrote: Hello,

I am having a problem with my remote commands following the update to xbmcbuntu. I had a good remote config in xbmclive and put that into .xbmc/userdata/keymaps/remote.xml.

Most my buttons are working but this one (excerpt from the remote.xml in the global section) does not:

<mytv>XBMC.ActivateWindow(VideoLibrary,TvShowTitles)</mytv>

While this one does:
<myvideo>XBMC.ActivateWindow(VideoLibrary,MovieTitles)</myvideo>

Some excerpts from the debug log:

From the working myvideo button:
11:50:20 T:15980304 DEBUG: LIRC: Update - NEW at 159385:000000037ff07bb5 00 KEY_VIDEO mceusb (KEY_VIDEO)
11:50:20 T:15980304 DEBUG: OnKey: 7 (07) pressed, action is XBMC.ActivateWindow(VideoLibrary,MovieTitles)
11:50:20 T:15980304 DEBUG: Activating window ID: 10025
11:50:20 T:15980304 DEBUG: ------ Window Deinit (Home.xml) ------
11:50:20 T:15980304 DEBUG: ------ Window Init (MyVideoNav.xml) ------
11:50:20 T:15980304 INFO: Loading skin file: MyVideoNav.xml
11:50:20 T:15980304 DEBUG: CGUIMediaWindow::GetDirectory (videodb://1/2/)
11:50:20 T:15980304 DEBUG: ParentPath = [videodb://1/2/]
11:50:20 T:15980304 DEBUG: RunQuery took 9 ms for 68 items query: select * from movieview
11:50:21 T:15980304 DEBUG: Saving fileitems [videodb://1/2/]
11:50:21 T:15980304 DEBUG: -- items: 69, sort method: 25, ascending: true


and the non-working mytv button:
11:50:27 T:15980304 DEBUG: LIRC: Update - NEW at 166641:000000037ff07bb9 00 KEY_TV mceusb (KEY_TV)
11:50:45 T:15980304 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
11:50:45 T:15980304 DEBUG: Unloading: ImageLib-i486-linux.so


Did that command change in eden? Any thoughts why that button would not work?

Thanks

I had the same problem. Check this out in the wiki. Eden changed from Dharma for direct links.

The remote.xml file should have this " ActivateWindow(Videos,MovieTitles)" for Eden.

Unfortunately, this change did NOT fix the issue. I had to add the "MyTV" button to a lirc.xml file and put it in the "userdata" folder.

You'll need to get the output of that button using "irw"

These were mine with multiple button presses

Code:
000000037ff07bb9 00 KEY_TV mceusb
000000037ff07bb9 01 KEY_TV mceusb
000000037ff07bb9 02 KEY_TV mceusb
000000037ff07bb9 03 KEY_TV mceusb

Here is the lirc.xml file I created...
Code:
<lircmap>
    <remote device="mceusb">
        <livetv>LiveTV</livetv>
        <mytv>KEY_TV</mytv>
        <recordedtv>RecTV</recordedtv>
    </remote>
</lircmap>

I'm still surprised the "MyTV" button didn't work out of the box (when Dharama did)?? As you can see, I had to remap the "LiveTV" and "RecordedTV" button as well.

Hope this helps.


ZOTAC IONITX-D-E Intel Atom N330 Dual Core 1.6 GHz NVIDIA ION with LIVE on SSD (now updated to Nvidia Shield Pro (P2897)
Reply
#3
AWESOME that worked.

Of note, you need to name the file Lircmap.xml or Lirc.xml, NOT lircmap.xml or lirc.xml

that made it confusing.

Thank you!
Reply
#4
(2012-05-22, 08:05)Matt_123 Wrote: AWESOME that worked.

Of note, you need to name the file Lircmap.xml or Lirc.xml, NOT lircmap.xml or lirc.xml

that made it confusing.

Thank you!

Yeah...sorry about that...my mistake. Should definitely be Lircmap.xml (linux is case sensitive). Glad you got it working.

ZOTAC IONITX-D-E Intel Atom N330 Dual Core 1.6 GHz NVIDIA ION with LIVE on SSD (now updated to Nvidia Shield Pro (P2897)
Reply

Logout Mark Read Team Forum Stats Members Help
Custom remote command not working with Eden update0