<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<!-- SkinShortcuts -->
	<onload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9000&amp;group=mainmenu|powermenu&amp;levels=1)</onload>
	<!-- SkinHelper -->
	<onload condition="Skin.HasSetting(ActivateSmartShortcutsPlaylists)">Skin.SetBool(SmartShortcuts.playlists)</onload>
	<onload condition="!Skin.HasSetting(ActivateSmartShortcutsPlaylists)">Skin.Reset(SmartShortcuts.playlists)</onload>
	<onload condition="Skin.HasSetting(ActivateSmartShortcutsFavorites)">Skin.SetBool(SmartShortcuts.favorites)</onload>
	<onload condition="!Skin.HasSetting(ActivateSmartShortcutsFavorites)">Skin.Reset(SmartShortcuts.favorites)</onload>
	<onload condition="Skin.HasSetting(ActivateAnimatedPosters) | Skin.HasSetting(ActivateAnimatedFanarts)">Skin.SetBool(SkinHelper.EnableAnimatedPosters)</onload>
	<onload condition="![Skin.HasSetting(ActivateAnimatedPosters) | Skin.HasSetting(ActivateAnimatedFanarts)]">Skin.Reset(SkinHelper.EnableAnimatedPosters)</onload>
	<onload condition="Skin.HasSetting(ActivateWallBackgrounds)">Skin.SetBool(SkinHelper.EnableWallBackgrounds)</onload>
	<onload condition="!Skin.HasSetting(ActivateWallBackgrounds)">Skin.Reset(SkinHelper.EnableWallBackgrounds)</onload>
	<onload>Skin.SetBool(SkinHelper.EnableExtendedArt)</onload>
	<onload>Skin.SetBool(SkinHelper.EnableMusicArt)</onload>
	<onload>Skin.SetBool(SkinHelper.EnablePVRThumbs)</onload>
	<onload>Skin.SetBool(SkinHelper.EnableAddonsLookups)</onload>
	<onload>Skin.SetString(SkinHelper.RandomFanartDelay, $VAR[RandomFanartDelayName])</onload>
	<onunload>ClearProperty(SkinHelper.WidgetContainer)</onunload>
	<!-- ScriptFavourites -->
	<onload condition="System.HasAddon(script.pvr.favourites)+[PVR.HasTVChannels | PVR.HasRadioChannels]">RunScript(script.pvr.favourites)</onload>
	<!-- -->
	<include condition="!Skin.HasSetting(InitialSetUpRun)">DefaultInitialSetup</include>
	<onload condition="!String.IsEmpty(Window(Home).Property(MenuItemActive))">ClearProperty(MenuItemActive,Home)</onload>
	<onload condition="!String.IsEmpty(Window(Home).Property(MenuBackground))">ClearProperty(MenuBackground,Home)</onload>
	<onload condition="Window.Previous(Startup)">Control.Move(9000,$INFO[Skin.String(CustomFocus)])</onload>
	<onload condition="String.IsEmpty(Skin.String(MenuColor))">Skin.SetString(MenuColor,blue,)</onload>
	<onload condition="!String.IsEmpty(Weather.Plugin) + !Weather.IsFetched">Weather.Refresh</onload>
	<controls>
		<!-- Backgrounds -->
		<include>CommonBackground</include>
		<control type="image">
			<depth>DepthFloor</depth>
			<left>-20</left>
			<top/>
			<bottom>0</bottom>
			<width>1320</width>
			<height>90</height>
			<texture>floor.png</texture>
			<animation effect="rotatex" end="45" time="0" center="620,0" condition="true">Conditional</animation>
			<animation effect="slide" time="200" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="slide" time="200" condition="Window.Next(Home)">WindowClose</animation>
			<visible>!Skin.HasSetting(NoFloor)</visible>
		</control>
		<!-- Music and Radio Info -->
		<control type="group">
			<depth>DepthMenu</depth>
			<left>0</left>
			<top>60</top>
			<visible>Player.HasAudio + !Skin.HasSetting(homepageMusicinfo) + String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))</visible>
			<animation effect="slide" start="0,0" end="0,155" time="0" condition="Skin.HasSetting(LowerMenu)">Conditional</animation>
			<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>grey2</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>!VideoPlayer.Content(LiveTV)</visible>
			</control>
			<control type="label">
				<description>Album Label</description>
				<left>170</left>
				<top>265</top>
				<height>25</height>
				<width>1000</width>
				<label>$INFO[VideoPlayer.ChannelNumberLabel,([COLOR=blue],[/COLOR]) ]$INFO[VideoPlayer.ChannelName]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>VideoPlayer.Content(LiveTV)</visible>
			</control>
			<control type="label">
				<description>Title label</description>
				<left>170</left>
				<top>285</top>
				<height>30</height>
				<width>1000</width>
				<label>$VAR[PlayerTitle]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font13_title</font>
				<textcolor>blue</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 Rec -->
		<control type="group">
			<depth>DepthMenu</depth>
			<left>490r</left>
			<top>70</top>
			<visible>[String.IsEqual(Container(9000).ListItem.Property(defaultID),livetv) | String.IsEqual(Container(9000).ListItem.label2,$LOCALIZE[19020]) | String.IsEqual(Container(9000).ListItem.Property(defaultID),radio) | String.IsEqual(Container(9000).ListItem.label2,$LOCALIZE[19021])] + [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>365</left>
					<top>5</top>
					<width>25</width>
					<height>25</height>
					<aspectratio>keep</aspectratio>
					<texture>PVR-IsRecording.png</texture>
				</control>
				<control type="label">
					<description>Is Recording Header label</description>
					<left>-45</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">
			<depth>DepthMenu</depth>
			<left>0</left>
			<top>50</top>
			<animation effect="slide" start="0,0" end="0,155" time="0" condition="Skin.HasSetting(LowerMenu)">Conditional</animation>
			<visible>Player.HasVideo + !Skin.HasSetting(homepageVideoinfo) + String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))</visible>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>
			<!-- Other Videos -->
			<control type="group">
				<visible>!VideoPlayer.Content(Movies) + !VideoPlayer.Content(Episodes) + !VideoPlayer.Content(LiveTV) + !VideoPlayer.Content(MusicVideos)</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[VideoPlayer.Title]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>blue</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>
			<!-- LiveTV Info -->
			<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.ChannelNumberLabel,([COLOR=blue],[/COLOR]) ]$INFO[VideoPlayer.ChannelName]$INFO[VideoPlayer.EpisodeName, (,)]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</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>$VAR[PlayerTitle]$INFO[VideoPlayer.Year,[COLOR=grey2] (,)[/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>blue</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>
					<visible>!VideoPlayer.HasEpg</visible>
				</control>
				<control type="label">
					<description>Time Label</description>
					<left>160</left>
					<top>310</top>
					<height>30</height>
					<width>300</width>
					<label>$INFO[PVR.EpgEventElapsedTime]$INFO[PVR.EpgEventDuration,[COLOR=blue] / [/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<visible>VideoPlayer.HasEpg</visible>
				</control>
			</control>
			<!-- MusicVideos -->
			<control type="group">
				<visible>VideoPlayer.Content(MusicVideos)</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>Artist label</description>
					<left>190</left>
					<top>265</top>
					<height>25</height>
					<width>1000</width>
					<label>$INFO[VideoPlayer.Artist]$INFO[VideoPlayer.Album, - ]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="label">
					<description>Title label</description>
					<left>190</left>
					<top>285</top>
					<height>30</height>
					<width>1000</width>
					<label>$INFO[VideoPlayer.Title]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>blue</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>
			<!-- Movies -->
			<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>grey2</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=grey2] (,)[/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>blue</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>
			<!-- Episodes -->
			<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>grey2</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]$INFO[VideoPlayer.Year,[COLOR=grey2] (,)[/COLOR]]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>blue</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>
		<!-- Witgets -->
		<include>HomeWidgetDisplay</include>
		<!-- Players Controls -->
		<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/>
			<font/>
			<texturefocus/>
			<texturenofocus/>
			<onleft>9000</onleft>
			<onright>9000</onright>
			<onup>20</onup>
			<ondown>608</ondown>
			<visible>false</visible>
		</control>
		<control type="group">
			<depth>DepthMenu-</depth>
			<description>Controls For Currently Playing Media</description>
			<left>545r</left>
			<top>370</top>
			<animation effect="slide" start="0,0" end="0,155" time="0" condition="Skin.HasSetting(LowerMenu)">Conditional</animation>
			<animation effect="slide" start="0,0" end="-140,0" time="300" condition="!Player.HasMedia + Skin.HasSetting(EnableHomeStats)">conditional</animation>
			<animation effect="fade" start="100" end="65" time="200" condition="Window.IsVisible(2123) | Window.IsVisible(2124) | Window.IsVisible(2125) | Window.IsVisible(2126) | Window.IsVisible(Favourites)">conditional</animation>
			<animation effect="slide" start="0,0" end="365,0" time="300" condition="!Player.HasMedia + !Skin.HasSetting(EnableHomeStats)">conditional</animation>
			<animation effect="slide" start="0,0" end="365,0" time="300" condition="Player.HasMedia + Skin.HasSetting(HidePlayerPanel)">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>
			<visible>String.IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))</visible>
			<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="!Skin.HasSetting(EnableSearchButton)">Conditional</animation>
				<visible>Skin.HasSetting(EnableSearchButton) | [ Player.HasMedia +!Skin.HasSetting(HidePlayerPanel) ] | [ !Player.HasMedia + Skin.HasSetting(EnableHomeStats) ]</visible>
			</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>ActivateWindow(2212)</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 condition="!Skin.HasSetting(LowerMenu)">9003</onup>
				<onup condition="Skin.HasSetting(LowerMenu)">9002</onup>
				<ondown>9000</ondown>
				<visible>Skin.HasSetting(EnableSearchButton)</visible>
			</control>
			<control type="group" id="600">
				<left>180</left>
				<onup>9003</onup>
				<ondown>9000</ondown>
				<defaultcontrol/>
				<enable>Player.HasMedia + !Skin.HasSetting(HidePlayerPanel)</enable>
				<control type="image">
					<description>Background image</description>
					<left>0</left>
					<top>0</top>
					<width>205</width>
					<height>35</height>
					<texture flipy="true" border="5">HomeSubNF.png</texture>
					<colordiffuse>CCFFFFFF</colordiffuse>
					<animation effect="zoom" start="0,0,205,35" end="0,0,505,35" delay="0" time="300" condition="!Player.HasMedia + Skin.HasSetting(EnableHomeStats)">conditional</animation>
				</control>
				<control type="group">
					<visible>!VideoPlayer.Content(LiveTV)</visible>
					<animation effect="slide" end="0,35" time="300" condition="!Player.HasMedia">conditional</animation>
					<control type="button" id="601">
						<left>10</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label/>
						<texturefocus>OSDPrevTrackFO.png</texturefocus>
						<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
						<onleft>608</onleft>
						<onright>602</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<texturefocus>OSDRewindFO.png</texturefocus>
						<texturenofocus>OSDRewindNF.png</texturenofocus>
						<onleft>601</onleft>
						<onright>603</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<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 condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<texturefocus>OSDStopFO.png</texturefocus>
						<texturenofocus>OSDStopNF.png</texturenofocus>
						<onleft>603</onleft>
						<onright>605</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<texturefocus>OSDForwardFO.png</texturefocus>
						<texturenofocus>OSDForwardNF.png</texturenofocus>
						<onleft>604</onleft>
						<onright>606</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<texturefocus>OSDNextTrackFO.png</texturefocus>
						<texturenofocus>OSDNextTrackNF.png</texturenofocus>
						<onleft>605</onleft>
						<onright>607</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<texturefocus>OSDChannelUPFO.png</texturefocus>
						<texturenofocus>OSDChannelUPNF.png</texturenofocus>
						<onleft>608</onleft>
						<onright>602</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<texturefocus>OSDChannelDownFO.png</texturefocus>
						<texturenofocus>OSDChannelDownNF.png</texturenofocus>
						<onleft>601</onleft>
						<onright>603</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<texturefocus>OSDStopFO.png</texturefocus>
						<texturenofocus>OSDStopNF.png</texturenofocus>
						<onleft>602</onleft>
						<onright>604</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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/>
						<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>605</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</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="605">
						<left>130</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label/>
						<texturefocus>OSDRadioRDSFO.png</texturefocus>
						<texturenofocus>OSDRadioRDSNF.png</texturenofocus>
						<onleft>604</onleft>
						<onright>606</onright>
						<onup>9003</onup>
						<ondown>9000</ondown>
						<onclick>ActivateWindow(PVRRadioRDSInfo)</onclick>
						<enable>RDS.HasRadiotextPlus</enable>
						<animation effect="fade" start="100" end="30" time="75" condition="!RDS.HasRadiotextPlus">Conditional</animation>
					</control>
					<control type="button" id="606">
						<left>160</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label/>
						<texturefocus>OSDRecordOffFO.png</texturefocus>
						<texturenofocus>OSDRecordOffNF.png</texturenofocus>
						<onleft>605</onleft>
						<onright>607</onright>
						<onup condition="!Skin.HasSetting(LowerMenu)">9003</onup>
						<onup condition="Skin.HasSetting(LowerMenu)">9002</onup>
						<ondown>9000</ondown>
						<onclick>PlayerControl(record)</onclick>
					</control>
				</control>
			</control>
			<control type="radiobutton" id="607">
				<animation effect="slide" end="0,35" time="300" condition="!Player.HasMedia">conditional</animation>
				<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 condition="!Skin.HasSetting(LowerMenu)">9003</onup>
				<onup condition="Skin.HasSetting(LowerMenu)">9002</onup>
				<ondown>9000</ondown>
				<enable>Player.HasMedia + !Skin.HasSetting(HidePlayerPanel)</enable>
			</control>
			<control type="label">
				<left>190</left>
				<top>7</top>
				<height>20</height>
				<width>500</width>
				<label>$VAR[InfoBarStats]</label>
				<align>center</align>
				<aligny>center</aligny>
				<font>font12_title</font>
				<scroll>true</scroll>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>!Player.HasMedia + Skin.HasSetting(EnableHomeStats)</visible>
			</control>
		</control>
		<!-- Main menu -->
		<control type="group">
			<depth>DepthMenu</depth>
			<top>400</top>
			<animation effect="slide" start="0,0" end="0,155" time="0" condition="Skin.HasSetting(LowerMenu)">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>
			<!-- Submenu -->
			<include>HomeSubMenuDisplay</include>
			<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>
			<!-- Menu -->
			<include condition="Skin.HasSetting(WrapAroundHomeMenu)">WrapHomeMainMenuDisplay</include>
			<include condition="!Skin.HasSetting(WrapAroundHomeMenu)">FixedHomeMainMenuDisplay</include>
			<control type="image">
				<left>-10</left>
				<top>6</top>
				<width>138</width>
				<height>63</height>
				<texture>SideFade.png</texture>
			</control>
			<control type="image">
				<left>128r</left>
				<top>6</top>
				<width>138</width>
				<height>63</height>
				<texture flipx="true">SideFade.png</texture>
			</control>
		</control>
		<!-- Addons -->
		<include>HomeAddonsDisplay</include>
		<!-- RSSFeeds -->
		<control type="group">
			<depth>DepthMenu-</depth>
			<left>0</left>
			<top>33r</top>
			<visible>system.getbool(lookandfeel.enablerssfeeds)</visible>
			<include>Window_OpenClose_Animation</include>
			<control type="rss">
				<description>RSS feed 1</description>
				<left>127</left>
				<top>0</top>
				<height>30</height>
				<width>1117</width>
				<font>font12</font>
				<urlset>1</urlset>
				<textcolor>blue</textcolor>
				<titlecolor>blue</titlecolor>
				<headlinecolor>white</headlinecolor>
				<visible>!Skin.HasSetting(HidePowerButton) + !Skin.HasSetting(HideFavoritesButton)</visible>
			</control>
			<control type="rss">
				<description>RSS Feed 2</description>
				<left>73</left>
				<top>0</top>
				<height>30</height>
				<width>1167</width>
				<font>font12</font>
				<urlset>1</urlset>
				<textcolor>blue</textcolor>
				<titlecolor>blue</titlecolor>
				<headlinecolor>white</headlinecolor>
				<visible>[Skin.HasSetting(HidePowerButton) + !Skin.HasSetting(HideFavoritesButton)] | [!Skin.HasSetting(HidePowerButton) + Skin.HasSetting(HideFavoritesButton)]</visible>
			</control>
			<control type="rss">
				<description>RSS Feed 3</description>
				<left>10</left>
				<top>0</top>
				<height>30</height>
				<width>1233</width>
				<font>font12</font>
				<urlset>1</urlset>
				<textcolor>blue</textcolor>
				<titlecolor>blue</titlecolor>
				<headlinecolor>white</headlinecolor>
				<visible>Skin.HasSetting(HidePowerButton) + Skin.HasSetting(HideFavoritesButton)</visible>
			</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" id="10">
			<depth>DepthFooter</depth>
			<left>20</left>
			<top>55r</top>
			<include>Window_OpenClose_Animation</include>
			<control type="button" id="20">
				<description>Power push button Pos1</description>
				<left>55</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>31003</label>
				<font/>
				<onclick>$VAR[PowerButtonCommand]</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>22</onleft>
				<onright>21</onright>
				<onup condition="!Skin.HasSetting(LowerMenu)">9002</onup>
				<onup condition="Skin.HasSetting(LowerMenu)">9001</onup>
				<ondown>9003</ondown>
				<visible>!Skin.HasSetting(HidePowerButton) + !Skin.HasSetting(HideFavoritesButton)</visible>
			</control>
			<control type="image">
				<description>Power Icon Pos1</description>
				<left>60</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_power.png</texture>
				<visible>!Skin.HasSetting(HidePowerButton) + !Skin.HasSetting(HideFavoritesButton)</visible>
			</control>
			<control type="button" id="21">
				<description>Favourites push button</description>
				<left>0</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>1036</label>
				<font/>
				<onclick>$VAR[FavoritesButtonCommand]</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>20</onleft>
				<onright>22</onright>
				<onup condition="!Skin.HasSetting(LowerMenu)">9002</onup>
				<onup condition="Skin.HasSetting(LowerMenu)">9001</onup>
				<ondown>9003</ondown>
				<visible>!Skin.HasSetting(HideFavoritesButton)</visible>
			</control>
			<control type="image">
				<description>Favourites Icon</description>
				<left>5</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_favourites.png</texture>
				<visible>!Skin.HasSetting(HideFavoritesButton)</visible>
			</control>
			<control type="button" id="22">
				<description>Power Push Button Pos2</description>
				<left>0</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>1036</label>
				<font/>
				<onclick>$VAR[PowerButtonCommand]</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>21</onleft>
				<onright>20</onright>
				<onup condition="!Skin.HasSetting(LowerMenu)">9002</onup>
				<onup condition="Skin.HasSetting(LowerMenu)">9001</onup>
				<ondown>9003</ondown>
				<visible>!Skin.HasSetting(HidePowerButton) + Skin.HasSetting(HideFavoritesButton)</visible>
			</control>
			<control type="image">
				<description>Power Icon Pos2</description>
				<left>5</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_power.png</texture>
				<visible>!Skin.HasSetting(HidePowerButton) + Skin.HasSetting(HideFavoritesButton)</visible>
			</control>
		</control>
		<control type="group">
			<depth>DepthHeader</depth>
			<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) + !Skin.HasSetting(NoLogo)</visible>
			</control>
			<control type="group">
				<left>20</left>
				<top>0</top>
				<visible>Skin.HasSetting(homepageWeatherinfo) + !String.IsEmpty(Weather.Plugin)</visible>
				<include>Window_OpenClose_Animation</include>
				<!-- Current Weather Icon -->
				<include content="WeatherIcons">
					<param name="left" value="0" />
					<param name="top" value="0" />
					<param name="width" value="60" />
					<param name="height" value="60" />
					<param name="image_1" value="$VAR[CurrentWeatherIcon]" />
					<param name="image_multi" value="$VAR[CurrentWeatherIcon]" />
				</include>
				<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>!String.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>300</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="Player.Muted">conditional</animation>
			</control>
		</control>
	</controls>
</window>
