Req default button in OSD
#1
In OSD menu the default highlighted button is pause. It would be nice to make the subtitle button as the default, or make an option to choose one.
Reply
#2
That's easy, simply change the default focus.

<onfocus>SetFocus(14)</onfocus>

where "14" is the button ID

<control type="button" id="14">
<description>OSD Subtitles</description>
<include>Animation_ButtonFocus</include>
<height>60</height>
<width>60</width>
<texturefocus>osd/osd_button_sub_fo.png</texturefocus>
<texturenofocus>osd/osd_button_sub_nf.png</texturenofocus>
<onclick>Close</onclick>
<onclick>ShowSubtitles</onclick>
<visible>VideoPlayer.HasSubtitles</visible>
</control>
Using a NUC7PJYHN and a 2820FYKH0 Intel NUC running LibreELEC, and two FireTVs.:)
Reply
#3
So I got bored and implemented this in Metropolis, it's in my branch if the author wants it.
Image
Using a NUC7PJYHN and a 2820FYKH0 Intel NUC running LibreELEC, and two FireTVs.:)
Reply

Logout Mark Read Team Forum Stats Members Help
default button in OSD0