HOW-TO:Change time and date in Confluence: Difference between revisions
Appearance
Created page with "This tutorial will show how to hide or '''change time and date'''. This is achieved by editing [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullS..." |
No edit summary |
||
| Line 1: | Line 1: | ||
This tutorial will show how to hide or '''change time and date'''. This is achieved by editing [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml VideoFullScreen.xml], [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/Home.xml Home.xml] and [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/includes.xml includes.xml]. | This tutorial will show how to hide or '''change time and date'''. This is achieved by editing [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/VideoFullScreen.xml VideoFullScreen.xml], [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/Home.xml Home.xml] and [https://github.com/xbmc/xbmc/blob/master/addons/skin.confluence/720p/includes.xml 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>''. [[Skinning_Manual#Includes|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. | |||
<syntaxhighlight lang="xml"> | |||
<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>--> | |||
</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. | |||
Revision as of 18:51, 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 was and edit it.