How can I change skin to always show time
#1
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.
Reply
#2
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.
Reply
#3
Here is a link to the complete file how I modified it: https://pastebin.com/WyssxHaN
Reply
#4
Davu,
Thanks for the quick response, will try this tonight.
Reply

Logout Mark Read Team Forum Stats Members Help
How can I change skin to always show time0