HOW-TO:Change time and date in Confluence: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:
</syntaxhighlight>
</syntaxhighlight>


If you want to remove the clock from a ''specific window'', open its XML file and comment out ''<include>Clock</include>''. If you want a customized clock add the ''control'' section from above where the ''include'' was and edit it.
If you want to remove the clock from a ''specific window'', open its XML file and comment out ''<include>Clock</include>''. If you want a customized clock add the ''control'' section from above where the ''include'' section was and edit it.

Revision as of 18:52, 5 September 2015

This tutorial will show how to hide or change time and date. This is achieved by editing VideoFullScreen.xml, Home.xml and includes.xml.

Change or remove the clock (except OSD/Info)

The clock in includes.xml is used by all windows except the OSD and Info screen. The clock is defined in includes.xml and called by other windows using <include>Clock</include>. Read more about how includes work.

Open includes.xml and find the following code. You can now either comment out to remove the clock completely from Kodi (except OSD/Info) or just modify it.

<include name="Clock"> 
     <control type="label">
          <description>time label</description>
          <right>20</right>
          <top>5</top>
          <width>200</width>
          <height>30</height>
          <align>right</align>
          <aligny>center</aligny>
          <font>font28_title</font>
          <textcolor>white</textcolor>
          <shadowcolor>black</shadowcolor>
          <label>$INFO[System.Time]</label>
          <animation effect="slide" start="0,0" end="-40,0" time="75" condition="Window.IsVisible(Mutebug)">conditional</animation>
     </control>
</include>-->

If you want to remove the clock from a specific window, open its XML file and comment out <include>Clock</include>. If you want a customized clock add the control section from above where the include section was and edit it.