Shortcut to show audio settings menu?
#1
I want to show the audio settings while playing / pausing a video by pressing "t" (or STRG + T), but I cannot get it to work: http://wiki.xbmc.org/index.php?title=Vid...e_settings

Code:
<t mod="">OSDAudioSettings</t>

Here a part of my keymap file:

Code:
<FullscreenVideo>
    <keyboard>
    <b mod="ctrl">ActivateWindow(VideoBookmarks)</b>
      <b>RunScript(I:\Programme\XBMC\portable_data\userdata\setbookmark.py)</b>
                 <t mod="">OSDAudioSettings</t>
    </keyboard>
  </FullscreenVideo>
  <VideoOSD>
    <keyboard>
      <b>RunScript(I:\Programme\XBMC\portable_data\userdata\setbookmark.py)</b>
      <b mod="ctrl">ActivateWindow(VideoBookmarks)</b>
              <t mod="">OSDAudioSettings</t>
       </keyboard>
  </VideoOSD>

How could I correct it?
Newest stable Kodi (portable), Win 10 | skin: default Confluence
Reply
#2
Have you tried to move your "t mod" up to FullscreenVideo?
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
#3
Thank you, pettergulbra,

Sorry, I am not quite sure what you mean by this, there is a second "t mod" between those FullscreenVideo tags. May be you mean without using the keyboard tags? That would not work.
Newest stable Kodi (portable), Win 10 | skin: default Confluence
Reply
#4
Sorry did not see that.

But, I don`t know this. But should it be like this:
<t mod="">OSDAudioSettings</t>

and not:
<t>OSDAudioSettings</t>

Why have the "mod="" there if it just an normal key?

I don`t have any mod for my normal keys. :-)
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
#5
Yes, that is a good point. Because I had tried some of the keys I just had left the mod option empty. And according to my tries it does not matter whether the mod setting is empty or not. It does not work with something like <t mod="strg">OSDAudioSettings</t> either.

Yes, there are also some shortcuts not having such a mod in my file.

Thanks again.
Newest stable Kodi (portable), Win 10 | skin: default Confluence
Reply
#6
No problem.
Hope you find out of it. :-)
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Reply
#7
this: uses CTRL+T
Code:
<keymap>
  <FullscreenVideo>
    <keyboard>
    <t mod="ctrl">ActivateWindow(OSDAudioSettings)</t>
    </keyboard>
  </FullscreenVideo>
</keymap>

you can use just "t" as well, but this overrides the default action "enable subtitles"
Reply
#8
Great, that works, wsnipex, many thanks,

I am wondering how one could know to add "ActivateWindow" with that brackets to that line?

Hmmm, when I press "t" (without strg) nothing happens, no subtitles. The option "Enable subtitles" ("Untertitel aktivieren") in the audo settings menu stays enabled or disabled like before: http://i.imgur.com/b09ZDlV.png

Many thanks again.
Newest stable Kodi (portable), Win 10 | skin: default Confluence
Reply
#9
You can only map buttons against a defined action. In our case the action is: ActivateWindow() with the argument of a defined window name: OSDAudioSettings.
You can find valid actions in the list of builtins: http://wiki.xbmc.org/index.php?title=Lis..._functions
your file doesn't have any subs, thats why nothing happens.
Reply
#10
Alright, I am not quite sure if I understand that, but I will try it next time.

Many thanks for the link.

Ah, yes, the movie without subs, I would have thought there will would occur a message that subtitles are activated / deactivated.

Thank you very much, very glad it works now.
Newest stable Kodi (portable), Win 10 | skin: default Confluence
Reply

Logout Mark Read Team Forum Stats Members Help
Shortcut to show audio settings menu?0