2019-03-12, 22:00
(2019-03-07, 00:48)Wanilton Wrote:@Wanilton Unfortunately while configuring the keymap using long press has some adverse effects in other functions with the small remote a nVidia Shield Tv has. You kindly provided code to achieve this - is it possible to 'change' any of the context menu buttons to function using these instead (as there are some functions I would never use) ?(2019-03-06, 21:20)StoneT Wrote:(2019-03-06, 02:23)Wanilton Wrote: @StoneT, Using keymaps I will try to explain better, when have more time here.@Wanilton I would love to see which key you'd like me to map for subtitle download and offset's ??
This is how a nVidia Shield Tv remote looks:
I use Keyboard only to control my htpc, all codes go in keyboard.xml file in the fullscreen area while playing
u - for call subtitles window
Code:<u>ActivateWindow(SubtitleSearch)</u>
g - for call menus in disc
Code:<g>PlayerControl(ShowVideoMenu)</g>
b - for call audio osd
h - for call subtitle osd
n - for call video osd
Code:<b>RunScript(special://masterprofile/audioosd.py)</b>
<h>RunScript(special://masterprofile/subtitleosd.py)</h>
<n>RunScript(special://masterprofile/videoosd.py)</n>
Subtitles and audio offset
Code:<left mod="ctrl">subtitledelayminus</left>
<right mod="ctrl">subtitledelayplus</right>
<left mod="ctrl,shift">audiodelayminus</left>
<right mod="ctrl,shift">audiodelayplus</right>
python code
audioosd.py
Code:import xbmc
xbmc.executebuiltin('ActivateWindow(osdaudiosettings)')
videoosd.py
Code:import xbmc
xbmc.executebuiltin('ActivateWindow(osdvideosettings)')
subtitleosd.py
Code:import xbmc
xbmc.executebuiltin('ActivateWindow(osdsubtitlesettings)')