XBMC live - keymap -ShowSubtitles not working
#16
alda Wrote:I checked :

$HOME/.xbmc/userdata/keymaps/

there isn't file remote.xml.

So what can I do to get "ShowSubtitle" running ?

Thanks

Alda

Just copy your Keymap.xml file there and name it "remote.xml". If you do not have a custom Keymap.xml yet, just copy /usr/share/xbmc/system/keymaps/remote.xml to $HOME/.xbmc/userdata/keymaps/remote.xml and edit it to your liking.
Reply
#17
remote.xml or Remote.xml ?

please explain me what's doing keymap, lircmap and remote.xml.

Alda
Reply
#18
alda Wrote:remote.xml or Remote.xml ?

remote.xml

Quote:please explain me what's doing keymap, lircmap and remote.xml.

http://forum.xbmc.org/showthread.php?tid=45972

Keymap.xml is obsolete, it was splitted into multiple files which now reside in the keymaps/ directory. So all the mappings for your remote now belong in the remote.xml file. The remote.xml maps XBMC input events to XBMC actions.

Lircmap.xml maps LIRC buttons to XBMC input events.
Reply
#19
Update 22.10.2010:

Since XBMC DHARMA the location of the Keymap.xml file changed. It is now named remote.xml and can be found in:

Location: $HOME/.xbmc/userdata/keymaps/remote.xml


But I don't have Dharma, I have 9.11 live installed on HDD.
But I also make remote.xml and still no working

Alda
Reply
#20
alda Wrote:But I don't have Dharma, I have 9.11 live installed on HDD.
But I also make remote.xml and still no working

Alda


If you have 9.11 you can still use Keymap.xml however remote.xml should work too.

If it does not work, you probably have an error in your files. Check the XBMC debug log files for errors. You can enable debugging in System->System->Debugging. The logfile is written to $HOME/.xbmc/temp/xbmc.log
Reply
#21
No my file is ok, because other actions like up, down, left, right, play, stop, menu are working. Only key for subtitle isn't working.

Alda
Reply
#22
alda Wrote:No my file is ok, because other actions like up, down, left, right, play, stop, menu are working.

You could have some small typos in your file. That way all other buttons would still work.

Quote:Only key for subtitle isn't working.

Without a debug log noone will be able to help you.
Reply
#23
Ok, I will enable debug mode and then I will press button for subtitle showing during movie playback and I will send you log file. ok ?

Alda
Reply
#24
alda Wrote:Ok, I will enable debug mode and then I will press button for subtitle showing during movie playback and I will send you log file. ok ?

Alda

Restart XBMC after enabling debugging. This way we get a full debug log.

Post your debug log on http://pastebin.com
Reply
#25
so I did it, but I'm not sure if it's ok.
Here is link :

http://pastebin.com/Uxia6hpX

But I can see that he received request KEY_SUBTITLE :

#
21:06:24 T:3078543232 M:1420783616 DEBUG: LIRC: Update - NEW at 44220:0000000020d31ae5 00 KEY_SUBTITLE HTPC (KEY_SUBTITLE)
#
21:06:24 T:3078543232 M:1420783616 DEBUG: OnKey: 229 pressed, action is 27
#
21:06:27 T:3078543232 M:1420705792 DEBUG: LIRC: Update - NEW at 46516:0000000020d31ae5 00 KEY_SUBTITLE HTPC (KEY_SUBTITLE)
#
21:06:27 T:3078543232 M:1420705792 DEBUG: OnKey: 229 pressed, action is 27
#
21:06:28 T:3078543232 M:1420705792 DEBUG: LIRC: Update - NEW at 47684:0000000020d31ae5 00 KEY_SUBTITLE HTPC (KEY_SUBTITLE)
#
21:06:28 T:3078543232 M:1420705792 DEBUG: OnKey: 229 pressed, action is 27
#
21:06:29 T:2854857584 M:1420775424 DEBUG: CPullupCorrection: detected pattern of length 24: 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00
#
21:06:29 T:3078543232 M:1420775424 DEBUG: LIRC: Update - NEW at 48769:0000000020d31ae5 00 KEY_SUBTITLE HTPC (KEY_SUBTITLE)
#
21:06:29 T:3078543232 M:1420775424 DEBUG: OnKey: 229 pressed, action is 27
#
21:06:31 T:3078543232 M:1420689408 DEBUG: LIRC: Update - NEW at 51271:0000000020d31ae5 00 KEY_SUBTITLE HTPC (KEY_SUBTITLE)
#
21:06:31 T:3078543232 M:1420689408 DEBUG: OnKey: 229 pressed, action is 27
#
21:06:33 T:3078543232 M:1420722176 DEBUG: LIRC: Update - NEW at 52399:0000000020d31ae5 00 KEY_SUBTITLE HTPC (KEY_SUBTITLE)
#
21:06:33 T:3078543232 M:1420722176 DEBUG: OnKey: 229 pressed, action is 27
#
21:06:36 T:3078543232 M:1420795904 DEBUG: LIRC: Update - NEW at 55611:0000000020d332cd 00 KEY_STOP HTPC (KEY_STOP)
#
21:06:36 T:3078543232 M:1420795904 DEBUG: OnKey: 224 pressed, action is 13
#
21:06:36 T:3078543232 M:1420795904 NOTICE: CDVDPlayer::CloseFile()




Alda
Reply
#26
alda Wrote:so I did it, but I'm not sure if it's ok.
Here is link :

http://pastebin.com/Uxia6hpX

You should delete your Keymap.xml and stick with remote.xml. Don't use both.

Try adding...
Code:
<FullscreenVideo>
  <remote device="HTPC">
    <title>ShowSubtitles</title>
  </remote>
</FullScreenVideo>
...to your remote.xml if the "title" input event is still mapped to your KEY_SUBTITLE button.
Reply
#27
so my remote.xml will loke like this : ?

Quote:<keymap>
<global>
<remote>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Select</select>
<back>Previousmenu</back>
<info>Info</info>
<pause>Pause</pause>
<stop>Stop</stop>
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>
<display>FullScreen</display>
<star>Aspectratio</star>
<title>ShowSubtitles</title>
<clear>AudioNextLanguage</clear>
<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>
<forward>FastForward</forward>
<reverse>Rewind</reverse>
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
<menu>ShowVideoMenu</menu>
<power>XBMC.ShutDown()</power>
</remote>
</global>
</keymap>
<FullscreenVideo>
<remote device="HTPC">
<title>ShowSubtitles</title>
</remote>
</FullScreenVideo>



and I also deleted keymap.xml

Alda
Reply
#28
alda Wrote:so my remote.xml will loke like this : ?

No, like this:

Code:
<keymap>
        <global>
                <remote>
                        <left>Left</left>
                        <right>Right</right>
                        <up>Up</up>
                        <down>Down</down>
                        <select>Select</select>
                        <back>Previousmenu</back>
                        <info>Info</info>
                        <pause>Pause</pause>
                        <stop>Stop</stop>
                        <skipplus>SkipNext</skipplus>
                        <skipminus>SkipPrevious</skipminus>
                        <display>FullScreen</display>
                        <star>Aspectratio</star>
                        <title>ShowSubtitles</title>
                        <clear>AudioNextLanguage</clear>
                        <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>
                        <forward>FastForward</forward>
                        <reverse>Rewind</reverse>
                        <volumeplus>VolumeUp</volumeplus>
                        <volumeminus>VolumeDown</volumeminus>
                        <mute>Mute</mute>
                        <menu>ShowVideoMenu</menu>
                        <power>XBMC.ShutDown()</power>
                </remote>
        </global>

       <FullscreenVideo>
           <remote>
               <title>ShowSubtitles</title>
           </remote>
       </FullScreenVideo>
</keymap>

Quote:and I also deleted keymap.xml

Yeah, remote.xml is the future.
Reply
#29
so I did it and it's still the same. When I press subtitle button, on the screen I can see system info.

again log file : http://pastebin.com/mCuEe2qH

Alda
Reply
#30
alda Wrote:so I did it and it's still the same. When I press subtitle button, on the screen I can see system info.

again log file : http://pastebin.com/mCuEe2qH

Alda

Code:
22:14:47 T:3077691264 M:1479598080    INFO: Loading special://xbmc/system/keymaps/remote.xml
22:14:47 T:3077691264 M:1479598080    INFO: Loading special://masterprofile/keymaps/remote.xml
22:14:48 T:3077691264 M:1479598080   ERROR: Error loading keymap: special://masterprofile/keymaps/remote.xml, Line 43
                                            Error reading end tag.
22:14:48 T:3077691264 M:1479598080    INFO: Loading special://profile/keymaps/remote.xml
22:14:48 T:3077691264 M:1479598080   ERROR: Error loading keymap: special://profile/keymaps/remote.xml, Line 43
                                            Error reading end tag.

There is a problem with your remote.xml at or near line 43.

EDIT:
I made a typo: It needs to be...
Code:
</FullscreenVideo>
in line 43.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC live - keymap -ShowSubtitles not working0