2018-09-02, 22:27
Hi,
I control KODI through the HDMI-CEC option (panasonic tv remote), and Long press down and UP does not work for audio and subtitle track. (I do not know why)
So I modified the default videoOSD.xml, to add shortcut directly - 4 shortcuts: audioNextLanguage,CycleSubtitle, volampup (18x),volampdown(18x) (last two are for normalized shortcuts).
I have replaced the commands which I do not require.
However I did not found out (I'm completely new to kodi skin modify), how to replace the default description (so as a temp. workaround, I just removed labels completely).
I would like to ask, If you somebody has got some tips, how to add own labels to the modified buttons in the xml file.
Replaced text:
I control KODI through the HDMI-CEC option (panasonic tv remote), and Long press down and UP does not work for audio and subtitle track. (I do not know why)
So I modified the default videoOSD.xml, to add shortcut directly - 4 shortcuts: audioNextLanguage,CycleSubtitle, volampup (18x),volampdown(18x) (last two are for normalized shortcuts).
I have replaced the commands which I do not require.
However I did not found out (I'm completely new to kodi skin modify), how to replace the default description (so as a temp. workaround, I just removed labels completely).
I would like to ask, If you somebody has got some tips, how to add own labels to the modified buttons in the xml file.
Replaced text:
xml:<control type="radiobutton" id="70011">
<include content="OSDButton">
<param name="texture" value="dialogs/volume/volume1.png"/>
</include>
<onclick>AudioNextLanguage</onclick>
</control>
<control type="radiobutton" id="70040">
<include content="OSDButton">
<param name="texture" value="osd/fullscreen/buttons/settings-subtitle.png"/>
</include>
<onclick>CycleSubtitle</onclick>
</control>
<control type="radiobutton" id="70041">
<include content="OSDButton">
<param name="texture" value="buttons/spinctrl/arrow-light-up.png"/>
</include>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>volampup</onclick>
<onclick>Dialog.Close(VideoOSD)</onclick>
</control>
<control type="radiobutton" id="700">
<include content="OSDButton">
<param name="texture" value="buttons/spinctrl/arrow-light-down.png"/>
</include>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>volampdown</onclick>
<onclick>Dialog.Close(VideoOSD)</onclick>
</control>