Kodi Community Forum
Subtitle offset? - 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: Mimic-LR (https://forum.kodi.tv/forumdisplay.php?fid=218)
+---- Thread: Subtitle offset? (/showthread.php?tid=259108)



Subtitle offset? - john2014 - 2016-02-07

I installed Mimic skin yesterday and really like it. I can see how I download subtitles, but where has the option gone to change the offset of the subtitle? I cant seem to get there with my remote.


RE: Subtitle offset? - braz - 2016-02-07

It's in the audio settings dialog. When you're playing a video, press enter to bring up the player controls and select the audio button on the left side.


RE: Subtitle offset? - john2014 - 2016-02-07

(2016-02-07, 18:15)braz Wrote: It's in the audio settings dialog. When you're playing a video, press enter to bring up the player controls and select the audio button on the left side.

Ah thank you very much. I did not think of looking there as there is also a subtitle option in the main bar that pops up after enter. I would expect it to be there as subtitles would not be logical to find under the audio setting. But now that I know, it should be ok, I don't use it that much.

It really is a nice skin. I was on the default Confluence skin for years and tried several others but always went back to Confluence. This Mimic skin however is something else, it just works!


RE: Subtitle offset? - User 325245 - 2017-01-25

This is something I use a lot, I thought to add a button to the player controls screen but for the life of me I can't find how to open the subtitle offset dialog? I managed to find the screen (videoOSD.xml), add a button, but what do I execute under <onclick>Huh


RE: Subtitle offset? - braz - 2017-01-25

No idea, not sure if that is possible.


RE: Subtitle offset? - User 325245 - 2017-01-25

<onclick>ActivateWindow(SliderDialog)</onclick> opens the dialog, but it does nothing - how to specify that it should be used for subtitle delay? It must be possible, how does it work in all skinsHuh


RE: Subtitle offset? - braz - 2017-01-25

I don't know, I've only ever accessed it from the audio settings dialog. That's where Kodi puts it.


RE: Subtitle offset? - braz - 2017-01-25

There's a keyboard shortcut, ctrl T...

http://kodi.wiki/view/Keyboard_controls


RE: Subtitle offset? - braz - 2017-01-25

Try just SubtitleAlign for your onclick.

http://wiki.xbmc.org/index.php?title=Keyboard.xml#Actions


RE: Subtitle offset? - User 325245 - 2017-01-25

Tried:

<onclick>Action(SubtitleAlign)</onclick>
<onclick>Action(SubtitleAlign, 12005)</onclick>
<onclick>SubtitleAlign</onclick>

no go... I'm new to skinning Smile


RE: Subtitle offset? - braz - 2017-01-26

Hmm, I guess Subtitle Align isn't in the audio settings on the OSD.

I tried this onclick though, and it did work. At least it showed the notification that it was changing the subtitle position. Didn't seem to actually move the subtitle though. This is a feature I've never used and don't know anything about. Someone else will have to chime in...

<onclick>SubtitleAlign</onclick>


RE: Subtitle offset? - User 325245 - 2017-01-27

Managed to get it working, it is indeed <onclick>SubtitleAlign</onclick>... I had another onclick assigned to the button that I didn't notice Smile Thanx


RE: Subtitle offset? - satanuke - 2017-04-13

I found this thread when looking to accomplish exactly the same thing.
I want to add a subtitle offset button on the mimic skin OSD controls and I have figured it out.

The onclick event should be Action(SubtitleDelay).

I edited my VideoOSD.xml and added a new button right next to the OSDSubtitles one.
My button looks like this :

Quote:<control type="button" id="707">
<texturefocus>osd/buttons/OSDTeleText.png</texturefocus>
<texturenofocus>osd/buttons/OSDTeleText2.png</texturenofocus>
<label>-</label>
<width>100</width>
<height>64</height>
<font>-</font>
<onclick>Action(SubtitleDelay)</onclick>
<colordiffuse>$VAR[ColorTextVar]</colordiffuse>
</control>

I am using the Teletext (TXT) icon because it already existed and I dont know how to skin Kodi and add new assets to mix.


RE: Subtitle offset? - peterrudy - 2023-02-06

I was able to do it by downloading "Keymap editor" add-on from Kodi settings and after opening the program click on edit/full screen video/Subtitle/Delay/Edit key/click on any unassigned key within 5 seconds (I chose "Q") and then hit "escape" a few times to "save" and exit the Keymap editor. Now, when I am playing videos that have issues with subtitle sync, I simply hit "Q" and the subtitle offset bar appears on the top of the screen and I can easily use left and right arrows on the keyboard to adjust the delay.