2010-05-30, 07:03
Id like to add 3 buttons to my logitech harmony/mceusb receiver, Show Subs, Next Sub and DL Subs for use while playing video. Ive managed to get DL Subs to work (executes a script) but this was configured using an exisiting entry in the files. The other two, Show Subs and Next Sub, I cant get to work at all. Ive read the wiki and a old how-to (was for keymap.xml, but everything is pretty much the same from what I saw) and everything seems as it should. Ive tries multiple things all no no avail, so after more than of an hour trying I though Id post here for some help...
obc1 is Show Subs (BB2)
obc2 is Next Sub (RecTV)
start is DL Subs (Home)(is the working one)
irw oputput:
Here the relevant section of my Lircmap.xml. The last three entries are the custom ones:
Here the relevant section of my modified remote.xml
Ive also tried this:
And this:
All with no success. The output of xbmc.log when i press the buttons with the first remote.xml (the one I thinks is most correct) and the working button at the end:
Both .xml's are located in:
/home/xbmc/.xbmc/userdata/keymaps/
Im running pre-10.05 r28256
Im sure its something small but im stumped
Anyone have any suggestions?
obc1 is Show Subs (BB2)
obc2 is Next Sub (RecTV)
start is DL Subs (Home)(is the working one)
irw oputput:
Code:
000000037ff07bb2 00 BB2 mceusb
000000037ff07bb2 01 BB2 mceusb
000000037ff07bb7 00 RecTV mceusb
000000037ff07bb7 01 RecTV mceusb
000000037ff07bf2 00 Home mceusb
000000037ff07bf2 01 Home mceusb
Here the relevant section of my Lircmap.xml. The last three entries are the custom ones:
Code:
<lircmap>
<remote device="mceusb">
<play>Play</play>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>Forward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>OK</select>
<pageplus>ChanUp</pageplus>
<pageminus>ChanDown</pageminus>
<back>Back</back>
<menu>DVD</menu>
<title>Guide</title>
<info>More</info>
<skipplus>Skip</skipplus>
<skipminus>Replay</skipminus>
<display>Aspect</display>
<record>Record</record>
<volumeplus>VolUp</volumeplus>
<volumeminus>VolDown</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<myvideo>Videos</myvideo>
<mymusic>Music</mymusic>
<mypictures>Pictures</mypictures>
<mytv>TV</mytv>
<one>One</one>
<two>Two</two>
<three>Three</three>
<four>Four</four>
<five>Five</five>
<six>Six</six>
<seven>Seven</seven>
<eight>Eight</eight>
<nine>Nine</nine>
<zero>Zero</zero>
<star>Star</star>
<hash>Hash</hash>
<clear>Clear</clear>
<enter>Enter</enter>
<red>Red</red>
<green>Green</green>
<yellow>Yellow</yellow>
<blue>Blue</blue>
<obc1>BB2</obc1>
<obc2>RecTV</obc2>
<start>Home</start>
</remote>
Here the relevant section of my modified remote.xml
Code:
<FullscreenVideo>
<remote>
<zero>Number0</zero>
<one>Number1</one>
<two>Number2</two>
<three>Number3</three>
<four>Number4</four>
<five>Number5</five>
<six>Number6</six>
<seven>Number7</seven>
<eight>Number8</eight>
<nine>Number9</nine>
<left>StepBack</left>
<right>StepForward</right>
<up>BigStepForward</up>
<down>BigStepBack</down>
<back>SmallStepBack</back>
<menu>OSD</menu>
<title>CodecInfo</title>
<info>Info</info>
<enter>AspectRatio</enter>
<select>AspectRatio</select>
<teletext>XBMC.ActivateWindow(Teletext)</teletext>
<language>AudioNextLanguage</language>
<start>RunScript(/home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/default.py)</start>
</remote>
<universalremote>
<obc1>ShowSubtitles</obc1>
<obc2>NextSubtitle</obc2>
</universalremote>
</FullscreenVideo>
Ive also tried this:
Code:
...
<language>AudioNextLanguage</language>
<start>RunScript(/home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/default.py)</start>
<universalremote>
<obc1>ShowSubtitles</obc1>
<obc2>NextSubtitle</obc2>
</universalremote>
</remote>
</FullscreenVideo>
And this:
Code:
...
<language>AudioNextLanguage</language>
<start>RunScript(/home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/default.py)</start>
<obc1>ShowSubtitles</obc1>
<obc2>NextSubtitle</obc2>
</remote>
</FullscreenVideo>
All with no success. The output of xbmc.log when i press the buttons with the first remote.xml (the one I thinks is most correct) and the working button at the end:
Code:
14:52:47 T:3054782336 M:2908540928 DEBUG: LIRC: Update - NEW at 487954:000000037ff07bb2 00 BB2 mceusb (BB2)
14:52:48 T:3054782336 M:2908573696 DEBUG: LIRC: Update - NEW at 488660:000000037ff07bb7 00 RecTV mceusb (RecTV)
Both .xml's are located in:
/home/xbmc/.xbmc/userdata/keymaps/
Im running pre-10.05 r28256
Im sure its something small but im stumped
Anyone have any suggestions?