Kodi Community Forum
subtitles offset onclick - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Arctic: Zephyr - Reloaded (https://forum.kodi.tv/forumdisplay.php?fid=221)
+---- Thread: subtitles offset onclick (/showthread.php?tid=323227)



subtitles offset onclick - testmetest - 2017-10-29

Hi,

Does anyone know what the onclick command is to call the subtitles offset?

I'm trying to call it and can't figure it out.

Thanks!


RE: subtitles offset onclick - Klojum - 2017-10-29

Good question... On a keyboard it is:
CTRL+CursorUP or CTRL+CursorDown

but through API or JSON is apparently not documented (yet).


RE: subtitles offset onclick - testmetest - 2017-10-29

So no way to create a new menu/button to go directly to subtitles offset (yet)?


RE: subtitles offset onclick - TRaSH - 2017-10-30

If I'm not mistaking I found it on the wiki how to do that.
If you didn't find it yet I will try to reply this evening if I get home from work.

Verstuurd vanaf mijn GT-I9505 met Tapatalk


RE: subtitles offset onclick - testmetest - 2017-11-03

(2017-10-30, 06:59)TRaSH Wrote: If I'm not mistaking I found it on the wiki how to do that.
If you didn't find it yet I will try to reply this evening if I get home from work.

That would be so awesome if you can help. I tried perusing the wiki and couldn't find it. Any help would be appreciated. My brain is fried. Maybe I'm staring right at it. lol.


RE: subtitles offset onclick - testmetest - 2017-11-04

Solved!

<onclick>subtitledelay</onclick>

Found in this thread: https://forum.kodi.tv/showthread.php?tid=322437&highlight=button+hasfocus

I can now create a button or label to go directly to subtitles offset.

Thanks everyone for helping!


RE: subtitles offset onclick - TRaSH - 2017-11-04

Nice you found your solution your self I think I mapped that action to my remote.

Sorry for the late response but I think working 13 days in a row is acting up now Sad ZZzz..

Verstuurd vanaf mijn GT-I9505 met Tapatalk


RE: subtitles offset onclick - testmetest - 2017-11-04

Great idea! I'll try that next. Thanks again for the help... Get some sleep!


RE: subtitles offset onclick - TRaSH - 2017-11-04

I can't still at work,
Need to wait till this evening when I get home for my 1 day weekend

Verstuurd vanaf mijn GT-I9505 met Tapatalk


RE: subtitles offset onclick - TRaSH - 2017-11-04

In my userdate/keymaps folder i got the folowing
remote.xml with the following option added to my remote

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>SubtitleDelayMinus</left>
      <right>SubtitleDelayPlus</right>
      <up>AudioDelayPlus</up>
      <down>AudioDelayMinus</down>
      <menu>OSD</menu>
      <start>OSD</start>
      <select>OSD</select>
      <info>Info</info>
      <!-- crash <teletext>XBMC.ActivateWindow(Teletext)</teletext> -->
      <record>CodecInfo</record>
      <green>NextSubtitle</green>
      <yellow>AudioNextLanguage</yellow>
      <blue>XBMC.ActivateWindow(SubtitleSearch)</blue>
    </remote>
  </FullscreenVideo>

This way i can change the subtitle offset by pressing the left right keys on my remote


RE: subtitles offset onclick - testmetest - 2017-11-25

(2017-11-04, 23:53)TRaSH Wrote: In my userdate/keymaps folder i got the folowing
remote.xml with the following option added to my remoteThis way i can change the subtitle offset by pressing the left right keys on my remote
Great idea! Thanks, that's so awesome and very helpful trick.