How to call the Subtitle offset pop-up ?
#1
Hello there,

Not sure it's the right section to post this question, but here I go :
I'd like to bind a button on my remote to directly open the Subtitle offset pop-up window (wich can be called normally from the window ID 124 )
So my question is simply :

what is the id of the windows to put in my keymap.xml with a ActivateWindow() ?
By the way, the id of the same window but for Audio offset would be useful too !

Thank for helping !
kodi user since XBMP !
Reply
#2
i'm afraid knowing the id of the window is not enough, as xbmc has to fill that window with the right content.

both the subtitle and audio offset use DialogSlider.xml, id=145
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
OK, thanks, I'll dig with this...
kodi user since XBMP !
Reply
#4
You can map buttons to increment and decrement both the subtitle and audio offsets if you happen to have 2 buttons spare for each function.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Imaginos Wrote:I'd like to bind a button on my remote to directly open the Subtitle offset pop-up window (wich can be called normally from the window ID 124 )
So my question is simply :
what is the id of the windows to put in my keymap.xml with a ActivateWindow() ?
By the way, the id of the same window but for Audio offset would be useful too !
Thank for helping !
You can also call SubtitleDelay from keymap.xml to pop-up the subtitle offset window, and AudioDelay for the audio offset window.
Reply
#6
jmarshall Wrote:You can map buttons to increment and decrement both the subtitle and audio offsets if you happen to have 2 buttons spare for each function.

Cheers,
Jonathan

Could you please tell me how to do that? I know i have to edit the keyboard.xml
but what should i write and where?
Thanks a lot for any help, i could really use that.
Reply
#7
educate yourself.

http://wiki.xbmc.org/index.php?title=Keymap.xml

you were told the action names in the post above yours.
Reply
#8
spiff Wrote:educate yourself.

http://wiki.xbmc.org/index.php?title=Keymap.xml

you were told the action names in the post above yours.


Ok, that was really helpful, i managed to define a key for subtitle sync but there is no osd, i mean i am not able to see the amount of increment and decrement, although i know it works. Any suggestion?
Thanks a lot anyway, i appreciate it.
Reply
#9
Sounds like you might have an old version or are using a skin without the dialog.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
How to call the Subtitle offset pop-up ?0