Display Time Always in XBMC (Kodi)

20141129_230555_d

Just put these 2 controls to your VideoFullScreen.xml (after opening tag, line 4-5)

        <control type="label" id="1">
            <description>Clock</description>
            <left>460</left>
            <top>15</top>
            <width>800</width>
            <height>5</height>
            <align>right</align>
            <aligny>center</aligny>
            <font>font12</font>
            <textcolor>grey</textcolor>
            <shadowcolor>black</shadowcolor>
            <label>$INFO[System.Time] ($INFO[Player.FinishTime])</label>
        </control>
        <control type="label" id="2">
            <description>OSD</description>
            <left>15</left>
            <top>15</top>
            <width>800</width>
            <height>5</height>
            <align>left</align>
            <aligny>center</aligny>
            <font>font12</font>
            <textcolor>grey</textcolor>
            <shadowcolor>black</shadowcolor>
            <label>$INFO[Player.Time(hh:mm:ss)] - $INFO[Player.Duration(hh:mm:ss)]</label>
        </control>

20141129_230434_d

For skin.maximinimalism I use:

        <control type="label" id="1">
            <description>Clock</description>
            <posx>1730</posx>
            <posy>0</posy>
            <width>24-col</width>
            <font>smallStrong</font>
            <textcolor>grey</textcolor>
            <shadowcolor>-</shadowcolor>
            <label>$INFO[System.Time] ($INFO[Player.FinishTime])</label>
        </control>
        <control type="label" id="2">
            <description>OSD</description>
            <posx>15</posx>
            <posy>5</posy>
            <width>24-col</width>
            <font>smallStrong</font>
            <textcolor>grey</textcolor>
            <shadowcolor>-</shadowcolor>
            <label>$INFO[Player.Time] - $INFO[Player.Duration]</label>
        </control>
Tagged , , , . Bookmark the permalink.

2 Responses to Display Time Always in XBMC (Kodi)

  1. LeMarsu says:

    how would you the same but just show the system clock.

  2. snack says:

    daaaaaaang man this is exactly what I was looking for. well, almost. but the code is easy enough to change to my needs 🙂 Thank you so much for posting!!

Leave a Reply

Your email address will not be published. Required fields are marked *