<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<onunload condition="Container(9000).Hasfocus(10) | Container(9000).Hasfocus(11) | ControlGroup(9010).HasFocus | ControlGroup(9016).HasFocus | ControlGroup(9017).HasFocus">SetProperty(VideosDirectLink,True)</onunload>
	<onunload condition="Control.HasFocus(9000) + Container(9000).Hasfocus(2)">ClearProperty(VideosDirectLink)</onunload>
	<controls>
		<include>CommonBackground</include>
		<control type="image">
			<description>LOGO</description>
			<left>10</left>
			<top>5</top>
			<width>120</width>
			<height>49</height>
			<aspectratio aligny="top" align="left">keep</aspectratio>
			<texture>kodi-logo.png</texture>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>
			<visible>!Skin.HasSetting(homepageWeatherinfo)</visible>
		</control>
		<!-- Music Info -->
		<control type="group">
			<left>0</left>
			<top>60</top>
			<visible>Player.HasAudio + !Skin.HasSetting(homepageMusicinfo)</visible>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>
			<control type="image">
				<description>Cover image</description>
				<left>20</left>
				<top>45</top>
				<width>130</width>
				<height>295</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<texture fallback="DefaultAlbumCover.png">$INFO[Player.Art(thumb)]</texture>
				<bordertexture border="8">ThumbBorder.png</bordertexture>
				<bordersize>5</bordersize>
			</control>
			<control type="label">
				<description>Album Label</description>
				<left>170</left>
				<top>265</top>
				<height>25</height>
				<width>1000</width>
				<label>$INFO[MusicPlayer.Artist,, - ]$INFO[MusicPlayer.Album]$INFO[musicplayer.discnumber, - $LOCALIZE[427]:]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>Title label</description>
				<left>170</left>
				<top>285</top>
				<height>30</height>
				<width>1000</width>
				<label>$INFO[Player.Title]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font13_title</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<description>Time Label</description>
				<left>170</left>
				<top>310</top>
				<height>30</height>
				<width>300</width>
				<label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
		</control>
		<!-- LiveTV Info -->
		<control type="group">
			<left>490r</left>
			<top>70</top>
			<visible>Container(9000).HasFocus(12) + [PVR.IsRecording | PVR.HasNonRecordingTimer]</visible>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>
			<animation effect="fade" start="100" end="0" time="150" condition="Window.IsActive(Favourites)">conditional</animation>
			<control type="group">
				<animation effect="slide" start="0,0" end="0,100" time="0" condition="PVR.IsRecording">conditional</animation>
				<visible>PVR.HasNonRecordingTimer</visible>
				<control type="image">
					<left>0</left>
					<top>-5</top>
					<width>490</width>
					<height>90</height>
					<texture>gradient.png</texture>
				</control>
				<control type="image">
					<left>400</left>
					<top>0</top>
					<width>80</width>
					<height>80</height>
					<aspectratio>keep</aspectratio>
					<texture background="true" fallback="DefaultVideoCover.png">$INFO[PVR.NextRecordingChannelIcon]</texture>
					<bordertexture border="8">ThumbBorder.png</bordertexture>
					<bordersize>4</bordersize>
				</control>
				<control type="image">
					<left>365</left>
					<top>5</top>
					<width>25</width>
					<height>25</height>
					<aspectratio>keep</aspectratio>
					<texture>PVR-HasTimer.png</texture>
				</control>
				<control type="label">
					<description>Next Timer Header label</description>
					<left>-45</left>
					<top>5</top>
					<height>25</height>
					<width>400</width>
					<label>$LOCALIZE[19157]</label>
					<align>right</align>
					<aligny>center</aligny>
					<font>font12_title</font>
					<textcolor>blue</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>NextRecordingDateTime</description>
					<left>-10</left>
					<top>30</top>
					<height>25</height>
					<width>400</width>
					<label>$INFO[PVR.NextRecordingDateTime,$LOCALIZE[19126] - ]</label>
					<align>right</align>
					<aligny>center</aligny>
					<font>font12</font>
					<scroll>true</scroll>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>NextRecordingTitle Channel</description>
					<left>-410</left>
					<top>50</top>
					<height>25</height>
					<width>800</width>
					<label>$INFO[PVR.NextRecordingTitle][COLOR=grey]$INFO[PVR.NextRecordingChannel, - [COLOR=blue]([/COLOR],[COLOR=blue])[/COLOR]][/COLOR]</label>
					<align>right</align>
					<aligny>center</aligny>
					<font>font12_title</font>
					<shadowcolor>black</shadowcolor>
					<scroll>true</scroll>
				</control>
			</control>
			<control type="group">
				<visible>PVR.IsRecording</visible>
				<control type="image">
					<left>0</left>
					<top>-5</top>
					<width>490</width>
					<height>90</height>
					<texture>gradient.png</texture>
				</control>
				<control type="image">
					<left>400</left>
					<top>0</top>
					<width>80</width>
					<height>80</height>
					<aspectratio>keep</aspectratio>
					<texture background="true" fallback="DefaultVideoCover.png">$INFO[PVR.NowRecordingChannelIcon]</texture>
					<bordertexture border="8">ThumbBorder.png</bordertexture>
					<bordersize>4</bordersize>
				</control>
				<control type="image">
					<left>360</left>
					<top>5</top>
					<width>30</width>
					<height>25</height>
					<aspectratio>keep</aspectratio>
					<texture>PVR-IsRecording.png</texture>
				</control>
				<control type="label">
					<description>Is Recording Header label</description>
					<left>-50</left>
					<top>5</top>
					<height>25</height>
					<width>400</width>
					<label>$LOCALIZE[19158]</label>
					<align>right</align>
					<aligny>center</aligny>
					<font>font12_title</font>
					<textcolor>blue</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>NextRecordingDateTime</description>
					<left>-10</left>
					<top>30</top>
					<height>25</height>
					<width>400</width>
					<label>$INFO[PVR.NowRecordingDateTime,$LOCALIZE[19126] - ]</label>
					<align>right</align>
					<aligny>center</aligny>
					<font>font12</font>
					<scroll>true</scroll>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>NextRecordingTitle Channel</description>
					<left>-410</left>
					<top>50</top>
					<height>30</height>
					<width>800</width>
					<label>$INFO[PVR.NowRecordingTitle][COLOR=grey]$INFO[PVR.NowRecordingChannel, - [COLOR=blue]([/COLOR],[COLOR=blue])[/COLOR]][/COLOR]</label>
					<align>right</align>
					<aligny>center</aligny>
					<font>font12_title</font>
					<shadowcolor>black</shadowcolor>
					<scroll>true</scroll>
				</control>
			</control>
		</control>
		<!-- Video Info -->
		<control type="group">
			<left>0</left>
			<top>50</top>
			<visible>Player.HasVideo + !Skin.HasSetting(homepageVideoinfo)</visible>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>
			<control type="group">
				<visible>!VideoPlayer.Content(Movies) + !VideoPlayer.Content(Episodes) + !VideoPlayer.Content(LiveTV)</visible>
				<control type="image">
					<description>Cover image</description>
					<left>20</left>
					<top>45</top>
					<width>150</width>
					<height>300</height>
					<aspectratio aligny="bottom">keep</aspectratio>
					<texture fallback="DefaultVideoCover.png">$INFO[Player.Art(thumb)]</texture>
					<bordertexture border="8">ThumbBorder.png</bordertexture>
					<bordersize>5</bordersize>
				</control>
				<control type="label">
					<description>Title label</description>
					<left>190</left>
					<top>285</top>
					<height>30</height>
					<width>1000</width>
					<label>$INFO[Player.Title]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>Time Label</description>
					<left>190</left>
					<top>310</top>
					<height>30</height>
					<width>300</width>
					<label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
			</control>
			<control type="group">
				<visible>VideoPlayer.Content(LiveTV)</visible>
				<control type="image">
					<description>Cover image</description>
					<left>20</left>
					<top>45</top>
					<width>120</width>
					<height>300</height>
					<aspectratio aligny="bottom">keep</aspectratio>
					<texture fallback="DefaultVideoCover.png">$INFO[Player.Art(thumb)]</texture>
					<bordertexture border="8">ThumbBorder.png</bordertexture>
					<bordersize>5</bordersize>
				</control>
				<control type="label">
					<description>Channel label</description>
					<left>160</left>
					<top>265</top>
					<height>25</height>
					<width>660</width>
					<label>$INFO[VideoPlayer.ChannelName]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>Title label</description>
					<left>160</left>
					<top>285</top>
					<height>30</height>
					<width>1000</width>
					<label>$INFO[Player.Title]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>Time Label</description>
					<left>160</left>
					<top>310</top>
					<height>30</height>
					<width>300</width>
					<label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
			</control>
			<control type="group">
				<visible>VideoPlayer.Content(Movies)</visible>
				<control type="image">
					<description>Cover image</description>
					<left>20</left>
					<top>45</top>
					<width>120</width>
					<height>300</height>
					<aspectratio aligny="bottom">keep</aspectratio>
					<texture fallback="DefaultVideoCover.png">$INFO[Player.Art(thumb)]</texture>
					<bordertexture border="8">ThumbBorder.png</bordertexture>
					<bordersize>5</bordersize>
				</control>
				<control type="label">
					<description>Studio label</description>
					<left>160</left>
					<top>265</top>
					<height>25</height>
					<width>1000</width>
					<label>$INFO[VideoPlayer.Studio]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>Title label</description>
					<left>160</left>
					<top>285</top>
					<height>30</height>
					<width>1000</width>
					<label>$INFO[Player.Title]$INFO[VideoPlayer.Year,[COLOR=grey] (,)[/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>Time Label</description>
					<left>160</left>
					<top>310</top>
					<height>30</height>
					<width>300</width>
					<label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
			</control>
			<control type="group">
				<visible>VideoPlayer.Content(Episodes)</visible>
				<control type="image">
					<description>Cover image</description>
					<left>20</left>
					<top>225</top>
					<width>180</width>
					<height>120</height>
					<aspectratio>scale</aspectratio>
					<texture fallback="DefaultVideoCover.png">$INFO[Player.Art(thumb)]</texture>
					<bordertexture border="8">ThumbBorder.png</bordertexture>
					<bordersize>5</bordersize>
				</control>
				<control type="label">
					<description>TV Show Season Ep Label</description>
					<left>210</left>
					<top>265</top>
					<height>25</height>
					<width>1000</width>
					<label>$INFO[VideoPlayer.TVShowTitle] ($INFO[VideoPlayer.Season,$LOCALIZE[20373] , - ]$INFO[VideoPlayer.episode,$LOCALIZE[20359] ,])</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>Title label</description>
					<left>210</left>
					<top>285</top>
					<height>30</height>
					<width>1000</width>
					<label>$INFO[Player.Title]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>Time Label</description>
					<left>210</left>
					<top>310</top>
					<height>30</height>
					<width>300</width>
					<label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=blue] / [/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
			</control>
		</control>
		<include condition="!Skin.HasSetting(HomepageHideRecentlyAddedVideo) | !Skin.HasSetting(HomepageHideRecentlyAddedAlbums)">HomeRecentlyAddedInfo</include>
		<control type="button" id="9003">
			<description>Hidden Button to pass through navigation when recently added is disabled</description>
			<left>-20</left>
			<top>-20</top>
			<width>1</width>
			<height>1</height>
			<label>-</label>
			<font>-</font>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onleft>9000</onleft>
			<onright>9000</onright>
			<onup>20</onup>
			<ondown>608</ondown>
			<visible>false</visible>
		</control>
		<control type="group">
			<description>Controls for currently playing media</description>
			<left>545r</left>
			<top>370</top>
			<animation effect="slide" start="0,0" end="365,0" time="225" condition="!Player.HasMedia">conditional</animation>
			<animation type="WindowOpen" reversible="false">
				<effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="225" />
				<effect type="fade" start="0" end="100" time="225" />
			</animation>
			<animation type="WindowClose" reversible="false">
				<effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="225" />
				<effect type="fade" start="100" end="0" time="225" />
			</animation>
			<control type="image">
				<description>Background End image</description>
				<left>0</left>
				<top>0</top>
				<width>35</width>
				<height>35</height>
				<colordiffuse>CCFFFFFF</colordiffuse>
				<texture flipy="true" border="0,5,0,0" flipx="true">HomeSubEnd.png</texture>
				<animation effect="slide" start="0,0" end="145,0" time="0" condition="!System.HasAddon(script.globalsearch)">Conditional</animation>
			</control>
			<control type="radiobutton" id="608">
				<colordiffuse>CCFFFFFF</colordiffuse>
				<description>Global Search</description>
				<left>35</left>
				<top>0</top>
				<height>35</height>
				<width>145</width>
				<textwidth>150</textwidth>
				<textoffsetx>10</textoffsetx>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<texturefocus flipy="true" border="5">HomeSubFO.png</texturefocus>
				<texturenofocus flipy="true" border="5">HomeSubNF.png</texturenofocus>
				<pulseonselect>false</pulseonselect>
				<label>137</label>
				<onclick>RunScript(script.globalsearch)</onclick>
				<textureradioonfocus>icon_search.png</textureradioonfocus>
				<textureradioonnofocus>icon_search.png</textureradioonnofocus>
				<textureradioofffocus>icon_search.png</textureradioofffocus>
				<textureradiooffnofocus>icon_search.png</textureradiooffnofocus>
				<onleft>607</onleft>
				<onright>601</onright>
				<onup>9003</onup>
				<ondown>9000</ondown>
				<visible>System.HasAddon(script.globalsearch)</visible>
			</control>
			<control type="group" id="600">
				<left>180</left>
				<onup>9003</onup>
				<ondown>9000</ondown>
				<defaultcontrol>-</defaultcontrol>
				<enable>Player.HasMedia</enable>
				<control type="image">
					<description>Background image</description>
					<left>0</left>
					<top>0</top>
					<width>205</width>
					<height>35</height>
					<texture flipy="true" border="0,5,0,0">HomeSubNF.png</texture>
					<colordiffuse>CCFFFFFF</colordiffuse>
				</control>
				<control type="group">
					<visible>!VideoPlayer.Content(LiveTV)</visible>
					<control type="button" id="601">
						<left>10</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDPrevTrackFO.png</texturefocus>
						<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
						<onleft>608</onleft>
						<onright>602</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>PlayerControl(Previous)</onclick>
					</control>
					<control type="button" id="602">
						<left>40</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDRewindFO.png</texturefocus>
						<texturenofocus>OSDRewindNF.png</texturenofocus>
						<onleft>601</onleft>
						<onright>603</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>PlayerControl(Rewind)</onclick>
					</control>
					<control type="togglebutton" id="603">
						<left>70</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDPauseFO.png</texturefocus>
						<texturenofocus>OSDPauseNF.png</texturenofocus>
						<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
						<alttexturefocus>OSDPlayFO.png</alttexturefocus>
						<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
						<onleft>602</onleft>
						<onright>604</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>PlayerControl(Play)</onclick>
					</control>
					<control type="button" id="604">
						<left>100</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDStopFO.png</texturefocus>
						<texturenofocus>OSDStopNF.png</texturenofocus>
						<onleft>603</onleft>
						<onright>605</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>down</onclick>
						<onclick>PlayerControl(Stop)</onclick>
					</control>
					<control type="button" id="605">
						<left>130</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDForwardFO.png</texturefocus>
						<texturenofocus>OSDForwardNF.png</texturenofocus>
						<onleft>604</onleft>
						<onright>606</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>PlayerControl(Forward)</onclick>
					</control>
					<control type="button" id="606">
						<left>160</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDNextTrackFO.png</texturefocus>
						<texturenofocus>OSDNextTrackNF.png</texturenofocus>
						<onleft>605</onleft>
						<onright>607</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>PlayerControl(Next)</onclick>
					</control>
				</control>
				<control type="group" id="600">
					<visible>VideoPlayer.Content(LiveTV)</visible>
					<control type="button" id="601">
						<left>10</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDChannelUPFO.png</texturefocus>
						<texturenofocus>OSDChannelUPNF.png</texturenofocus>
						<onleft>608</onleft>
						<onright>602</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>ChannelDown</onclick>
					</control>
					<control type="button" id="602">
						<left>40</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDChannelDownFO.png</texturefocus>
						<texturenofocus>OSDChannelDownNF.png</texturenofocus>
						<onleft>601</onleft>
						<onright>603</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>ChannelUp</onclick>
					</control>
					<control type="button" id="603">
						<left>70</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDStopFO.png</texturefocus>
						<texturenofocus>OSDStopNF.png</texturenofocus>
						<onleft>602</onleft>
						<onright>604</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>down</onclick>
						<onclick>PlayerControl(Stop)</onclick>
					</control>
					<control type="togglebutton" id="604">
						<left>100</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDPauseFO.png</texturefocus>
						<texturenofocus>OSDPauseNF.png</texturenofocus>
						<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
						<alttexturefocus>OSDPlayFO.png</alttexturefocus>
						<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
						<onleft>603</onleft>
						<onright>606</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>PlayerControl(Play)</onclick>
						<enable>Player.PauseEnabled</enable>
						<animation effect="fade" start="100" end="30" time="75" condition="!Player.PauseEnabled">Conditional</animation>
					</control>
					<control type="button" id="606">
						<left>160</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</label>
						<texturefocus>OSDRecordOffFO.png</texturefocus>
						<texturenofocus>OSDRecordOffNF.png</texturenofocus>
						<onleft>604</onleft>
						<onright>607</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>PlayerControl(record)</onclick>
					</control>
				</control>
			</control>
			<control type="radiobutton" id="607">
				<colordiffuse>CCFFFFFF</colordiffuse>
				<description>Go to fullscreen Playback</description>
				<left>385</left>
				<top>0</top>
				<height>35</height>
				<width>160</width>
				<textwidth>150</textwidth>
				<textoffsetx>10</textoffsetx>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<focusedcolor>white</focusedcolor>
				<texturefocus flipy="true" border="5">HomeSubFO.png</texturefocus>
				<texturenofocus flipy="true" border="5">HomeSubNF.png</texturenofocus>
				<pulseonselect>false</pulseonselect>
				<label>31008</label>
				<onclick>fullscreen</onclick>
				<textureradioonfocus>GoFullscreen.png</textureradioonfocus>
				<textureradioonnofocus>GoFullscreen.png</textureradioonnofocus>
				<textureradioofffocus>GoFullscreen.png</textureradioofffocus>
				<textureradiooffnofocus>GoFullscreen.png</textureradiooffnofocus>
				<onleft>606</onleft>
				<onright>608</onright>
				<onup>9003</onup>
				<ondown>9000</ondown>
				<enable>Player.HasMedia</enable>
			</control>
		</control>
		<control type="group">
			<top>400</top>
			<animation type="WindowOpen" reversible="false">
				<effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="225" />
				<effect type="fade" start="0" end="100" time="225" />
			</animation>
			<animation type="WindowClose" reversible="false">
				<effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="225" />
				<effect type="fade" start="100" end="0" time="225" />
			</animation>
			<control type="group" id="9001">
				<left>0</left>
				<top>70</top>
				<onup>9000</onup>
				<ondown>9002</ondown>
				<control type="grouplist" id="9010">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9010</onleft>
					<onright>9010</onright>
					<visible>Container(9000).HasFocus(2)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuVideos</include>
				</control>
				<control type="grouplist" id="9016">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9016</onleft>
					<onright>9016</onright>
					<visible>Container(9000).HasFocus(10)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuMovies</include>
				</control>
				<control type="grouplist" id="9017">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9017</onleft>
					<onright>9017</onright>
					<visible>Container(9000).HasFocus(11)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuTVShows</include>
				</control>
				<control type="grouplist" id="9011">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9011</onleft>
					<onright>9011</onright>
					<visible>Container(9000).HasFocus(3)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuMusic</include>
				</control>
				<control type="grouplist" id="9012">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9012</onleft>
					<onright>9012</onright>
					<visible>Container(9000).HasFocus(5)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuSystem</include>
				</control>
				<control type="grouplist" id="9013">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9013</onleft>
					<onright>9013</onright>
					<visible>Container(9000).HasFocus(6)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuPlayDisc</include>
				</control>
				<control type="grouplist" id="9014">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9014</onleft>
					<onright>9014</onright>
					<visible>Container(9000).HasFocus(12)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuTV</include>
				</control>
				<control type="grouplist" id="9015">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9013</onleft>
					<onright>9013</onright>
					<visible>Container(9000).HasFocus(4)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuPictures</include>
				</control>
				<control type="grouplist" id="9016">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9014</onleft>
					<onright>9014</onright>
					<visible>Container(9000).HasFocus(13)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuRadio</include>
				</control>
				<control type="grouplist" id="9916">
					<include>HomeSubMenuCommonValues</include>
					<onleft>9916</onleft>
					<onright>9916</onright>
					<visible>Container(9000).HasFocus(96)</visible>
					<!-- Buttons for the grouplist -->
					<include>HomeSubMenuHSK</include>
				</control>
			</control>
			<control type="image">
				<left>-100</left>
				<top>0</top>
				<width>1480</width>
				<height>75</height>
				<texture border="0,6,0,6">HomeBack.png</texture>
			</control>
			<control type="image">
				<left>0</left>
				<top>5</top>
				<width>1280</width>
				<height>6</height>
				<texture>HomeOverlay1.png</texture>
			</control>
			<control type="fixedlist" id="9000">
				<left>-110</left>
				<top>5</top>
				<width>1500</width>
				<height>60</height>
				<onleft>9000</onleft>
				<onright>9000</onright>
				<onup condition="System.HasAddon(script.globalsearch)">608</onup>
				<onup condition="!System.HasAddon(script.globalsearch)">603</onup>
				<ondown>9001</ondown>
				<pagecontrol>-</pagecontrol>
				<scrolltime>300</scrolltime>
				<focusposition>2</focusposition>
				<movement>1</movement>
				<orientation>Horizontal</orientation>
				<itemlayout height="60" width="300">
					<control type="image">
						<left>0</left>
						<top>4</top>
						<width>1</width>
						<height>52</height>
						<texture>HomeSeperator.png</texture>
					</control>
					<control type="image">
						<left>299</left>
						<top>4</top>
						<width>1</width>
						<height>52</height>
						<texture>HomeSeperator.png</texture>
					</control>
					<control type="label">
						<left>5</left>
						<top>0</top>
						<width>290</width>
						<height>60</height>
						<font>font_MainMenu</font>
						<textcolor>grey3</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$INFO[ListItem.Label]</label>
					</control>
				</itemlayout>
				<focusedlayout height="60" width="300">
					<control type="image">
						<left>0</left>
						<top>4</top>
						<width>1</width>
						<height>52</height>
						<texture>HomeSeperator.png</texture>
					</control>
					<control type="image">
						<left>299</left>
						<top>4</top>
						<width>1</width>
						<height>52</height>
						<texture>HomeSeperator.png</texture>
					</control>
					<control type="label">
						<left>5</left>
						<top>0</top>
						<width>290</width>
						<height>60</height>
						<font>font_MainMenu</font>
						<textcolor>grey3</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$INFO[ListItem.Label]</label>
					</control>
					<control type="label">
						<left>5</left>
						<top>0</top>
						<width>290</width>
						<height>60</height>
						<font>font_MainMenu</font>
						<textcolor>blue</textcolor>
						<align>center</align>
						<aligny>center</aligny>
						<label>$INFO[ListItem.Label]</label>
						<visible>Control.HasFocus(9000)</visible>
						<include>VisibleFadeEffect</include>
					</control>
				</focusedlayout>
				<content>
					<item id="7">
						<label>31950</label>
						<onclick>ActivateWindow(Weather)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoWeatherButton) + !IsEmpty(Weather.Plugin)</visible>
					</item>
					<item id="4">
						<label>31951</label>
						<onclick>ActivateWindow(Pictures)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoPicturesButton)</visible>
					</item>
					<item id="13">
						<label>31960</label>
						<onclick>ActivateWindow(RadioChannels)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>PVR.HasRadioChannels</visible>
					</item>
					<item id="12">
						<label>31952</label>
						<onclick>ActivateWindow(TVChannels)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>PVR.HasTVChannels</visible>
					</item>
					<item id="2">
						<label>31953</label>
						<onclick condition="StringCompare(Window.Property(VideosDirectLink),True)">ActivateWindow(Videos)</onclick>
						<onclick condition="!StringCompare(Window.Property(VideosDirectLink),True)">ActivateWindow(Videos,root)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoVideosButton)</visible>
					</item>
					<item id="10">
						<label>31954</label>
						<onclick>ActivateWindow(Videos,MovieTitles,return)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoMovieButton) + Library.HasContent(Movies)</visible>
					</item>
					<item id="11">
						<label>31955</label>
						<onclick>ActivateWindow(Videos,TVShowTitles,return)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoTVShowButton) + Library.HasContent(TVShows)</visible>
					</item>
					<item id="3">
						<label>31956</label>
						<onclick>ActivateWindow(Music)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoMusicButton)</visible>
					</item>
					<item id="1">
						<label>31957</label>
						<onclick condition="!System.Platform.Android">ActivateWindow(Programs,Addons,return)</onclick>
						<onclick condition="System.Platform.Android">ActivateWindow(Programs)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoProgramsButton)</visible>
					</item>
					<item id="86">
						<label>FAVORITEN</label>
						<onclick>ActivateWindow(Favourites)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoFAVORITENButton)</visible>
					</item>
					<item id="96">
						<label>HSK</label>
						<onclick>-</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoHSKButton)</visible>
					</item>
					<item id="6">
						<label>31958</label>
						<onclick>PlayDVD()</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>System.HasMediaDVD</visible>
					</item>
					<item id="5">
						<label>31959</label>
						<onclick>ActivateWindow(Settings)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
					</item>
					<item id="87">
						<label>BEENDEN</label>
						<onclick>ActivateWindow(ShutdownMenu)</onclick>
						<icon>-</icon>
						<thumb>-</thumb>
						<visible>!Skin.HasSetting(HomeMenuNoBEENDENButton)</visible>
					</item>
				</content>
			</control>
			<control type="image">
				<left>0</left>
				<top>6</top>
				<width>128</width>
				<height>63</height>
				<texture>SideFade.png</texture>
			</control>
			<control type="image">
				<left>128r</left>
				<top>6</top>
				<width>128</width>
				<height>63</height>
				<texture flipx="true">SideFade.png</texture>
			</control>
		</control>
		<control type="group" id="9002">
			<onup>9001</onup>
			<ondown>20</ondown>
			<control type="fixedlist" id="700">
				<animation effect="slide" start="0,0" end="-91,0" time="0" condition="StringCompare(Container(700).NumItems,2) | StringCompare(Container(700).NumItems,4)">conditional</animation>
				<visible>Container(9000).HasFocus(2) | Container(9000).HasFocus(10) | Container(9000).HasFocus(11)</visible>
				<onleft>700</onleft>
				<onright>700</onright>
				<onup>9001</onup>
				<ondown>20</ondown>
				<include>HomeAddonsCommonLayout</include>
				<content>
					<include>HomeAddonItemsVideos</include>
				</content>
			</control>
			<control type="fixedlist" id="703">
				<animation effect="slide" start="0,0" end="-91,0" time="0" condition="StringCompare(Container(703).NumItems,2) | StringCompare(Container(703).NumItems,4)">conditional</animation>
				<visible>Container(9000).HasFocus(3)</visible>
				<onleft>703</onleft>
				<onright>703</onright>
				<onup>9001</onup>
				<ondown>20</ondown>
				<include>HomeAddonsCommonLayout</include>
				<content>
					<include>HomeAddonItemsMusic</include>
				</content>
			</control>
			<control type="fixedlist" id="704">
				<animation effect="slide" start="0,0" end="-91,0" time="0" condition="StringCompare(Container(704).NumItems,2) | StringCompare(Container(704).NumItems,4)">conditional</animation>
				<visible>Container(9000).HasFocus(4)</visible>
				<onleft>704</onleft>
				<onright>704</onright>
				<onup>9001</onup>
				<ondown>20</ondown>
				<include>HomeAddonsCommonLayout</include>
				<content>
					<include>HomeAddonItemsPictures</include>
				</content>
			</control>
			<control type="fixedlist" id="705">
				<animation effect="slide" start="0,0" end="-91,0" time="0" condition="StringCompare(Container(705).NumItems,2) | StringCompare(Container(705).NumItems,4)">conditional</animation>
				<visible>Container(9000).HasFocus(1)</visible>
				<onleft>705</onleft>
				<onright>705</onright>
				<onup>9001</onup>
				<ondown>20</ondown>
				<include>HomeAddonsCommonLayout</include>
				<content>
					<include>HomeAddonItemsPrograms</include>
				</content>
			</control>
		</control>
		<control type="group">
			<left>0</left>
			<top>33r</top>
			<visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
			<include>Window_OpenClose_Animation</include>
			<control type="rss">
				<description>RSS feed</description>
				<left>5</left>
				<top>0</top>
				<height>30</height>
				<width>1250</width>
				<font>font12</font>
				<urlset>1</urlset>
				<textcolor>blue</textcolor>
				<titlecolor>blue</titlecolor>
				<headlinecolor>white</headlinecolor>
			</control>
			<control type="image">
				<description>RSS background</description>
				<left>1250</left>
				<top>2</top>
				<width>24</width>
				<height>24</height>
				<texture>icon-rss.png</texture>
			</control>
		</control>
		<control type="group">
			<left>20</left>
			<top>0</top>
			<visible>Skin.HasSetting(homepageWeatherinfo) + !IsEmpty(Weather.Plugin)</visible>
			<include>Window_OpenClose_Animation</include>
			<control type="image">
				<description>Weather image</description>
				<left>0</left>
				<top>0</top>
				<width>60</width>
				<height>60</height>
				<aspectratio>keep</aspectratio>
				<texture>$INFO[Weather.Conditions]</texture>
			</control>
			<control type="label">
				<description>Location label</description>
				<left>65</left>
				<top>5</top>
				<width>500</width>
				<height>15</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font10</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<label>$INFO[Window(Weather).Property(Location)]</label>
			</control>
			<control type="grouplist">
				<left>65</left>
				<top>20</top>
				<width>1000</width>
				<height>30</height>
				<orientation>horizontal</orientation>
				<align>left</align>
				<itemgap>0</itemgap>
				<control type="label">
					<description>Temp label</description>
					<width min="0" max="300">auto</width>
					<height>30</height>
					<align>left</align>
					<aligny>center</aligny>
					<font>font28_title</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<label>[B]$INFO[Window(Weather).Property(Current.Temperature)][/B]</label>
				</control>
				<control type="label">
					<description>Temp Units</description>
					<width min="0" max="100">auto</width>
					<height>22</height>
					<font>font10</font>
					<aligny>center</aligny>
					<label>$INFO[System.TemperatureUnits]</label>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<visible>!IsEmpty(Window(Weather).Property(Current.Temperature))</visible>
				</control>
				<control type="label">
					<description>Conditions Label</description>
					<width>500</width>
					<height>22</height>
					<font>font10</font>
					<aligny>center</aligny>
					<label>$INFO[Window(Weather).Property(Current.Condition),  ]</label>
					<textcolor>grey2</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
			</control>
		</control>
		<include>Clock</include>
		<control type="label">
			<description>Date label</description>
			<right>20</right>
			<top>35</top>
			<width>200</width>
			<height>15</height>
			<align>right</align>
			<aligny>center</aligny>
			<font>font10</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<label>$INFO[System.Date]</label>
			<include>Window_OpenClose_Animation</include>
			<animation effect="slide" start="0,0" end="-40,0" time="75" condition="Window.IsVisible(Mutebug)">conditional</animation>
		</control>
	</controls>
</window>
