Always Visible Clock/ End time during videos
#1
Features: (During video play)
- Always visible clock on the bottom left
- Always visible end time just below (smaller)
- Always visible episode number (s x e) or movie title if the file is scraped/ Filename otherwise
Feel completely free to alter/ post suggestions or changes/ repost elsewhere etc.

Add to: VideoFullScreen.xml just after <controls>
- Tested on (Many various skins)/ v17 / Linux - Raspberry Pi  (Make sure you're logged in as root before attempting to edit/ overwrite)
- Tested on confluence/ v17/ Windows 10
- Tested on confluence/ v17/ Android - Samsung S6
- Path (may vary):
 Linux (Rpi): usr/share/kodi/addons/skin.(Skin name)/720p
 Linux (Retropie port): /opt/retropie/configs/ports/kodi/addons/skin.(Skin name)/720p
 Windows: %APPDATA%\Roaming\kodi\addons\skin.(Skin name)\720p
Should work on any skin.
 
Code:
<!-- Start - Created by Crunchward -->
<control type="label" id="1">
<description>Current time</description>
<left>4</left>
<top>690</top>
<width>800</width>
<height>5</height>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<label>$INFO[System.Time]</label>
<animation type="WindowOpen">
<effect type="fade" start="0" end="100" time="1000"/>
<effect type="slide" start="0,13" end="0,0" time="1000"/>
</animation>
<animation effect="fade" start="100" end="0" time="100">WindowClose</animation>
</control>
<control type="label" id="1">
<description>End time and SE x EP</description>
<left>6</left>
<top>704</top>
<width>800</width>
<height>5</height>
<align>left</align>
<aligny>center</aligny>
<font>font10</font>
<textcolor>grey</textcolor>
<shadowcolor>black</shadowcolor>
<label>[color=white]$INFO[Player.FinishTime][/color][color=grey]  Ep:$INFO[VideoPlayer.Season,,x]$INFO[VideoPlayer.Episode][/color]</label>
<animation type="WindowOpen">
<effect type="fade" start="0" end="90" time="2000"/>
<effect type="slide" start="0,13" end="0,0" time="1500"/>
</animation>
<animation effect="fade" start="100" end="0" time="100">WindowClose</animation>
<visible>VideoPlayer.Content(Episodes)</visible>
</control>
<control type="label" id="1">
<description>End time and Movie name/ File name</description>
<left>6</left>
<top>704</top>
<width>800</width>
<height>5</height>
<align>left</align>
<aligny>center</aligny>
<font>font10</font>
<textcolor>grey</textcolor>
<shadowcolor>black</shadowcolor>
<label>[color=white]$INFO[Player.FinishTime][/color][color=grey] $INFO[Player.Title][/color]</label>
<animation type="WindowOpen">
<effect type="fade" start="0" end="90" time="2000"/>
<effect type="slide" start="0,13" end="0,0" time="1500"/>
</animation>
<animation effect="fade" start="100" end="0" time="100">WindowClose</animation>
<visible>!VideoPlayer.Content(Episodes)</visible>
</control>
<!-- End - Created by Crunchward -->
Note to mods: Originally posted in the Confluence sub before testing on many others. Feel free to remove one or the other.
Reply
#2
I've made a lot of changes for personal reasons, figured I'd share for you guys.

Changelog:
  • Clocks are now centered
  • Clocks now have a subtle dark fade behind them to keep them visible on white/ light content
    • Uses existing resources
Notes:
  • Reset 'left' value to 0 to use the dark fade on the original left aligned clocks
  • Again, as always, I do not need credit. Feel free to edit/ repost/ request changes etc.
Code:
<!-- Start - Created by Crunchward -->
        <control type="image" id="1">
            <description>Clock fade background small</description>
            <visible>VideoPlayer.Content(Episodes)</visible>
            <depth>1</depth>
            <top>684</top>
            <left>580</left>
            <top>692</top>
            <width>120</width>
            <height>40</height>
            <texture border="1">HomeNowPlayingBack.png</texture>
            </control>
        <control type="image" id="1">
            <description>Clock fade background big</description>
            <visible>!VideoPlayer.Content(Episodes)</visible>
            <depth>1</depth>
            <top>684</top>
            <left>500</left>
            <top>692</top>
            <width>280</width>
            <height>40</height>
            <texture border="1">HomeNowPlayingBack.png</texture>
            </control>
        <control type="label" id="1">
            <description>Current time</description>
            <depth>2</depth>
            <left>0</left>
            <top>695</top>
            <width>1280</width>
            <height>5</height>
            <align>center</align>
            <aligny>center</aligny>
            <font>font12</font>
            <textcolor>white</textcolor>
            <shadowcolor>ff000000</shadowcolor>
            <label>$INFO[System.Time]</label>
                    <texture>VolumeIcon.png</texture>
            <animation type="WindowOpen">
                <effect type="fade" start="0" end="100" time="1000"/>
                <effect type="slide" start="0,13" end="0,0" time="1000"/>
            </animation>
            <animation effect="fade" start="100" end="0" time="100">WindowClose</animation>
        </control>
        <control type="label" id="1">
            <description>End time and episode count</description>
            <depth>2</depth>
            <left>0</left>
            <top>709</top>
            <width>1280</width>
            <height>5</height>
            <align>center</align>
            <aligny>center</aligny>
            <font>font10</font>
            <textcolor>grey</textcolor>
            <shadowcolor>ff000000</shadowcolor>
            <label>[color=white]$INFO[Player.FinishTime][/color][color=grey]  Ep:$INFO[VideoPlayer.Season,,x]$INFO[VideoPlayer.Episode][/color]</label>
            <animation type="WindowOpen">
                <effect type="fade" start="0" end="90" time="2000"/>
                <effect type="slide" start="0,13" end="0,0" time="1500"/>
            </animation>
            <animation effect="fade" start="100" end="0" time="100">WindowClose</animation>
            <visible>VideoPlayer.Content(Episodes)</visible>
        </control>
        <control type="label" id="1">
            <description>End time and Movie name/ Filename</description>
            <depth>2</depth>
            <left>0</left>
            <top>707</top>
            <width>1280</width>
            <height>5</height>
            <align>center</align>
            <aligny>center</aligny>
            <font>font10</font>
            <textcolor>grey</textcolor>
            <shadowcolor>ff000000</shadowcolor>
            <label>[color=white]$INFO[Player.FinishTime][/color] $INFO[Player.Title]</label>
            <animation type="WindowOpen">
                <effect type="fade" start="0" end="90" time="2000"/>
                <effect type="slide" start="0,13" end="0,0" time="1500"/>
            </animation>
            <animation effect="fade" start="100" end="0" time="100">WindowClose</animation>
            <visible>!VideoPlayer.Content(Episodes)</visible>
        </control>
<!-- End - Created by Crunchward -->
Reply

Logout Mark Read Team Forum Stats Members Help
Always Visible Clock/ End time during videos0