Tgxcorporation / skin.chroma

Chroma Skin for Kodi
Other
12 stars 7 forks source link

VideoOSD.xml: Add setting for subtitles #5

Open niwi-hh opened 5 years ago

niwi-hh commented 5 years ago

Currently Chroma doesn't have a button to turn on/off subtitles while watching TV. Many other skins support this. I solved this myself with adding a modified control-entry from Confluence to VideoOSD.xml. But I don't know the path for the correct image. That's why I reused the picture for teletext. It would be great if a proper control-entry would be added to Chroma.

Here is my entry:

                <control type="button" id="250">
                    <width>55</width>
                    <height>55</height>
                    <label>31356</label>
                    <font></font>
                    <texturefocus>topbar/topbar_teletext_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_teletext_nofocus.png</texturenofocus>
                    <onclick>ActivateWindow(OSDSubtitleSettings)</onclick>
                </control>
niwi-hh commented 5 years ago

I have to correct myself. The file VideoOSD.xml already had an entry for subtitles. But it was deactivated for live-tv. But why? Anyway, I had to remove the following line:

!VideoPlayer.Content(LiveTV)

Could you please change this in Chroma?