Kodi Community Forum
Solved Close Video OSD after subtitle download? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Transparency! (https://forum.kodi.tv/forumdisplay.php?fid=115)
+---- Thread: Solved Close Video OSD after subtitle download? (/showthread.php?tid=200275)



Close Video OSD after subtitle download? - j0cke - 2014-07-20

Hi!
I'm not sure if it's a bug or by design but I'd like the OSD to close/hide after a subtitle has been downloaded and selected.
It does that with the Confluence skin and it used to do that with older version (T! v5.x and XBMC v12.x)

I'm running XBMC v13.1 and T! v6.0.7 on Windows 7.
Is there any way (edit a .xml or something) to make the Video OSD close after a subtitle download?

Thanks for any help.


RE: Close Video OSD after subtitle download? - j0cke - 2014-07-27

I guess my explanation was a bit off...
The video osd can be closed when the subtitles button is pressed.
I added <onclick>Dialog.Close(VideoOSD)</onclick> in the file VideoOSD.xml.

<control type="button" id="916">
<description>Subtitles button</description>
<width>40</width>
<height>40</height>
<label>-</label>
<font>-</font>
<texturenofocus>osd-subs-nofocus.png</texturenofocus>
<texturefocus>osd-subs-focus.png</texturefocus>
<onclick>ActivateWindow(SubtitleSearch)</onclick>
<onclick>Dialog.Close(VideoOSD)</onclick>
</control>