Posts: 41
Joined: Mar 2012
Reputation:
0
xarc0n
Junior Member
Posts: 41
2013-05-10, 10:30
(This post was last modified: 2013-05-13, 12:54 by Kib.)
Hey
I have installed the XBMC subtitles addon and i'm using it with the default skin and added the button to video osd. Now I have a problem, I have a harmony one remote but I can't find the keyboard key that access the subtitles menu where I can download a correct subtitle. L and T buttons on the keyboard just disables or enables the subtitles, but that won't be enough. Does someone know which button access the subtitle download menu?
Posts: 69
Joined: Oct 2004
Reputation:
0
I think there is not a specific action linked to opening directly the subtitle download menu ...
What is stated on the page of the plugin:
To bind the add-on to a key use RunScript(script.xbmc.subtitles) in the keyboard.xml file.
So what you need to do is: find the key that you want to bind the subtitle action to
Then enable debuggin, and press that key, it will give you the key id.
Then go to your installation to : userdata/keymaps and add there (if it not exists create the keyboard.xml) with inside:
<keymap>
<global>
<keyboard>
<key id="####">RunScript(script.xbmc.subtitles)</key>
</keyboard>
</global>
</keymap>
with #### being the keyid you fetched from the debug log.
Posts: 41
Joined: Mar 2012
Reputation:
0
xarc0n
Junior Member
Posts: 41
I tried that but nothing happens. I added this line to keyboard.xml in XBMC/System/Keymaps folder
<key id="f044">RunScript(script.xbmc.subtitles)</key>
it is the key d
What I'm doing wrong?
Posts: 41
Joined: Mar 2012
Reputation:
0
xarc0n
Junior Member
Posts: 41
I checked the log after editing this keyboard.xml but when i'm pressing d the log indicates that there's no action assigned to d key and it does nothing. Hopefully this helps to solve this problem...
Posts: 41
Joined: Mar 2012
Reputation:
0
xarc0n
Junior Member
Posts: 41
2013-05-10, 14:01
(This post was last modified: 2013-05-10, 14:07 by xarc0n.)
I also tried to do in XBMC\Userdata\keymaps\keyboard.xml containing only this:
<keymap>
<global>
<keyboard>
<key id="f044">RunScript(script.xbmc.subtitles)</key>
</keyboard>
</global>
</keymap>
But still it doesn't work log indicates that theres nothing going on when I press d key
Here's a piece of the log file when I'm pressing d
14:57:33 T:31780 DEBUG: Keyboard: scancode: 20, sym: 0064, unicode: 0064, modifier: 0
14:57:33 T:31780 DEBUG: CApplication::OnKey: d (f044) pressed, action is
14:57:33 T:31780 DEBUG: ------ Window Deinit (Pointer.xml) ------
14:57:33 T:31780 DEBUG: ------ Window Init (VideoOSD.xml) ------
14:57:33 T:31780 DEBUG: ------ Window Init (Pointer.xml) ------
Posts: 41
Joined: Mar 2012
Reputation:
0
xarc0n
Junior Member
Posts: 41
Still trying to figure this out. It is like the keyboard.xml doesn't work. Is there some setting that I have to enable these added keyboard.xml commands?
Posts: 41
Joined: Mar 2012
Reputation:
0
xarc0n
Junior Member
Posts: 41
Worked perfectly, thanks very much!!!
Posts: 21
Joined: Jul 2009
Reputation:
0
RezzZ
Junior Member
Posts: 21
any suggestions how to get my 'u' key to work again and go directly to the subtitles menu?
Now that I installed xbmc 13 Gotham, the script.xbmc.subtitles doesn't work any more...
Posts: 31,445
Joined: Jan 2011
ActivateWindow(subtitlesearch)
Posts: 21
Joined: Jul 2009
Reputation:
0
RezzZ
Junior Member
Posts: 21
works like a charm. Thanks!