Kodi Community Forum
shortcut to subtitles - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: shortcut to subtitles (/showthread.php?tid=94176)



shortcut to subtitles - tikker - 2011-02-14

i have a question about making/creating a shortcut for remote in xbmc.

When i want to watch a movie/serie i usually want to watch it with (dutch) subtitles. The situation right now is:
1) i start the movie
2) i go to play menu
3) i go to subtitle addon(movie paused)
4) i choose the subtitle
5) i watch the movie

Is there a way to make a shortcut (for remote) wich goes directly to the subtitle addon?

Thanx!

Btw. i am using xbmc for windows on an asrock ion 330 with a logitech harmony 525 remote


- costa - 2011-02-14

This for the keyboard .. copied it from anothe post:

you could bind it to a key (in this example 'u'):
Create a keymap.xml in your xbmc profile 'XBMC\userdata\keymaps' with content:

Code:
<keymap>
<FullscreenVideo>
<keyboard>
<u>RunScript(script.xbmc.subtitles)</u>
</keyboard>
</FullscreenVideo>
</keymap>


- sjw1 - 2011-02-14

Does this help?
(T to toggle subs on and off.)
EDIT: Apologies, just seen you only need it for a remote.


- tikker - 2011-02-14

costa Wrote:This for the keyboard .. copied it from anothe post:

you could bind it to a key (in this example 'u'):
Create a keymap.xml in your xbmc profile 'XBMC\userdata\keymaps' with content:

Code:
<keymap>
<FullscreenVideo>
<keyboard>
<u>RunScript(script.xbmc.subtitles)</u>
</keyboard>
</FullscreenVideo>
</keymap>



perfect!!!! thanx a lot


- skullmonkey - 2012-01-01

Thanks costa, exactly what I need.

S@


RE: shortcut to subtitles - Evershift - 2014-03-06

FYI, in Gotham and up, this has changed to:

Code:
<keymap>
<FullscreenVideo>
<keyboard>

    <u>ActivateWindow(SubtitleSearch)</u>

</keyboard>
</FullscreenVideo>
</keymap>

( add the single row to keymap.xml in section FullscreenVideo->keyboard to set keyboard shortcut for subtitle search to u )


RE: shortcut to subtitles - alexp4re - 2014-06-25

thanx evershift. it works.