Kodi Community Forum
How can I change skin to always show time - 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: Estuary (https://forum.kodi.tv/forumdisplay.php?fid=260)
+---- Thread: How can I change skin to always show time (/showthread.php?tid=317436)



How can I change skin to always show time - enterprised - 2017-06-29

I want to make a change to the skin to always show current time and time remaining (or end time) in videofullscreen. I've browsed through many posts, but failed to find clear instructions. Can someone point me in the right direction.

I recently switched from MediaPortal (after over 10 years of MP use) to Kodi due to Kodi's ability to work on Android TV boxes, by this eliminating the need to support many PC's in the house. In MediaPortal I knew how to skin and program, but in Kodi I'm still learning, thus seeking help to get me going in the right direction.


RE: How can I change skin to always show time - DaVu - 2017-06-29

not sure if that's the best way to do it

depending on the OS you are using, you need to find the file "VideoFullScreen.xml" and modify it. At the bottom of that file I added the following:

Code:
<control type="group" id="2">
                        <control type="label" id="1">
                                <font>font_clock</font>
                                <shadowcolor>text_shadow</shadowcolor>
                                <height>200</height>
                                <width>auto</width>
                                <visible>Player.HasVideo</visible>
                                <label>$INFO[System.Time]</label>
                        </control>
                        <control type="label" id="2">
                                <label>$INFO[Player.FinishTime,$LOCALIZE[31080]: ]</label>
                                <top>80</top>
                                <shadowcolor>text_shadow</shadowcolor>
                                <height>200</height>
                                <width>auto</width>
                                <visible>Player.HasVideo</visible>
                        </control>
        </control>

And that shows the actual time and below the time when the movie will end.

Hope it helps at least a bit as I'm not a skinner at all.


RE: How can I change skin to always show time - DaVu - 2017-06-29

Here is a link to the complete file how I modified it: https://pastebin.com/WyssxHaN


RE: How can I change skin to always show time - enterprised - 2017-06-30

Davu,
Thanks for the quick response, will try this tonight.