Page 1 of 1

Remove "Showing Day/Date/Time" - Skin related? - Help Please

Posted: Tue Sep 04, 2012 4:36 am
by psychotron
I now have an XBOX I am using in my Car with XBMC. All works fine... However, since I do not have internet in my Car the Date and time are never accurate and are always displayed wrong on the Main menu as a result. Is there a way to turn off displaying Day/Date/Time on the main page?

I am not sure if this is a skin feature but I am using the standard confluence skin that comes with XBMC.

Thanks much for any help.

Re: Remove "Showing Day/Date/Time" - Skin related? - Help Pl

Posted: Tue Sep 04, 2012 12:13 pm
by xbs
Look in the includes.xml and deleted (or comment <!-- -->) the clock includes.

Re: Remove "Showing Day/Date/Time" - Skin related? - Help Pl

Posted: Tue Sep 04, 2012 12:19 pm
by psychotron
Thanks XBS !... I will look at that file and get back to you. :)

Re: Remove "Showing Day/Date/Time" - Skin related? - Help Pl

Posted: Tue Sep 04, 2012 1:19 pm
by nidge
Hmm, a dashboard in the dashboard eh? Would like to see some pics of that :)

Re: Remove "Showing Day/Date/Time" - Skin related? - Help Pl

Posted: Thu Sep 06, 2012 3:31 am
by psychotron
</control>
</include>
<include name="Clock">
<control type="label">
<description>low free memory label</description>
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>28</height>
<align>center</align>
<aligny>center</aligny>
<font>font12</font>
<textcolor>FFDD0000</textcolor>
<label>$LOCALIZE[158]: $INFO[System.FreeMemory]</label>
<visible>IntegerGreaterThan(system.memory(used.percent),90)</visible>
</control>

@XBS,

Do I simply delete the following line listed above :

<include name="Clock">

Thanks and sorry for being a newb!

@nidge

I will upload some video and pics soon. I have it running on a standard 7inch double din DVD in dash radio.

Re: Remove "Showing Day/Date/Time" - Skin related? - Help Pl

Posted: Thu Sep 06, 2012 8:01 am
by Spongy
Do NOT delet that line or any of the <control> you quoted.
You want The control "group" right below that section . It looks like this.

Code: Select all

		<control type="group">
			<posx>160r</posx>
			<posy>0</posy>
			<animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
			<animation effect="slide" start="0,0" end="210,0" delay="0" time="300" condition="Window.Next(Home) | Window.IsVisible(FullscreenVideo) | Window.IsVisible(Visualisation)">WindowClose</animation>
			<animation effect="slide" start="210,0" end="0,0" delay="0" time="300" condition="Window.Previous(Home) | Window.IsVisible(FullscreenVideo) | Window.IsVisible(Visualisation)">WindowOpen</animation>
			<control type="image">
				<description>time background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>150</width>
				<height>35</height>
				<texture flipx="true" border="32,0,0,0">header.png</texture>
			</control>
			<control type="label">
				<description>time label</description>
				<posx>30</posx>
				<posy>0</posy>
				<width>400</width>
				<height>28</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<label>$INFO[System.Time]</label>
			</control>
		</control>
I would just base it's visibilty on another internet required setting. Such as weather or RSS.

You could tie it to the weather setting by adding this line.

Code: Select all

			<visible>!Skin.HasSetting(homepageWeatherinfo)</visible>

So it would look like this.

Code: Select all

		<control type="group">
			<posx>160r</posx>
			<posy>0</posy>
			<animation effect="slide" start="0,0" end="-60,0" delay="0" time="300" condition="Window.IsVisible(MuteBug)">conditional</animation>
			<animation effect="slide" start="0,0" end="210,0" delay="0" time="300" condition="Window.Next(Home) | Window.IsVisible(FullscreenVideo) | Window.IsVisible(Visualisation)">WindowClose</animation>
			<animation effect="slide" start="210,0" end="0,0" delay="0" time="300" condition="Window.Previous(Home) | Window.IsVisible(FullscreenVideo) | Window.IsVisible(Visualisation)">WindowOpen</animation>
			<visible>!Skin.HasSetting(homepageWeatherinfo)</visible>
			<control type="image">
				<description>time background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>150</width>
				<height>35</height>
				<texture flipx="true" border="32,0,0,0">header.png</texture>
			</control>
			<control type="label">
				<description>time label</description>
				<posx>30</posx>
				<posy>0</posy>
				<width>400</width>
				<height>28</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<label>$INFO[System.Time]</label>
			</control>
		</control>
Now if you go to settings>skin>home window
You can toggle it on or off with the "show weather info" setting.

Re: Remove "Showing Day/Date/Time" - Skin related? - Help Pl

Posted: Thu Sep 06, 2012 12:29 pm
by psychotron
Spongy...

Thank You :) I really appreciate the help and the detailed explanation of why and how it works!

I will give this a go.