HOW-TO:Change the clock in Estuary: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:
This tutorial will show how to hide or '''change the clock'''. This is achieved by editing ''includes.xml'' and ''Custom_1109_TopBarOverlay.xml'' (...\Kodi\addons\skin.estuary\xml\)
This tutorial will show how to hide or '''change the clock'''. This is achieved by editing ''includes.xml'' and ''Custom_1109_TopBarOverlay.xml'' (...\Kodi\addons\skin.estuary\xml\)


==Change the clock (except OSD/Info)==
==Change the clock==
The clock in ''includes.xml'' is used by all windows except the ''OSD'' (pause/rewind) and [[Video_playback#Information|Information Page]].
The clock in ''includes.xml'' is used by all windows except the ''OSD'' (pause/rewind) and [[Video_playback#Information|Information Page]].
[[Skinning_Manual#Includes|Read more about how includes work]].
[[Skinning_Manual#Includes|Read more about how includes work]].


Open includes.xml and find the following code. Then edit or comment it out which removes the clock completely from Kodi (except OSD/Info).
Open includes.xml and find the following code. Then edit or comment it out which removes the clock completely from Kodi except from the OSD and Info page.


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
Line 20: Line 20:
</syntaxhighlight>
</syntaxhighlight>


==Change the clock on OSD/Information page==
==Change the clock on the OSD and Info page==


Open ''Custom_1109_TopBarOverlay.xml'' and find the following code. Then edit or comment it out which removes the clock from the OSD and Info page
Open ''Custom_1109_TopBarOverlay.xml'' and find the following code. Then edit or comment it out which removes the clock from the OSD and Info page.


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Latest revision as of 17:36, 2 June 2022

Home icon grey.png   ▶ Skinning ▶ Estuary ▶ HOW-TO:Change the clock in Estuary

This tutorial will show how to hide or change the clock. This is achieved by editing includes.xml and Custom_1109_TopBarOverlay.xml (...\Kodi\addons\skin.estuary\xml\)

Change the clock

The clock in includes.xml is used by all windows except the OSD (pause/rewind) and Information Page. Read more about how includes work.

Open includes.xml and find the following code. Then edit or comment it out which removes the clock completely from Kodi except from the OSD and Info page.

<control type="label">
	<font>font_clock</font>
	<shadowcolor>text_shadow</shadowcolor>
	<height>200</height>
	<width>auto</width>
	<animation effect="fade" start="100" end="0" time="300" condition="Window.Next(screencalibration)">WindowClose</animation>
	<label>$INFO[System.Time]</label>
</control>

Change the clock on the OSD and Info page

Open Custom_1109_TopBarOverlay.xml and find the following code. Then edit or comment it out which removes the clock from the OSD and Info page.

<control type="label">
	<font>font_clock</font>
	<shadowcolor>text_shadow</shadowcolor>
	<top>0</top>
	<right>20</right>
	<height>200</height>
	<width>600</width>
	<align>right</align>
	<label>$INFO[System.Time]</label>
</control>