<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<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="ControlGroup(9011).HasFocus">SetProperty(MusicDirectLink,True)</onunload>
	<onunload condition="Control.HasFocus(9000) + Container(9000).Hasfocus(2)">ClearProperty(VideosDirectLink)</onunload>
	<onunload condition="Control.HasFocus(9000) + Container(9000).Hasfocus(3)">ClearProperty(MusicDirectLink)</onunload>
	<onload>RunScript(script.skinshortcuts,type=buildxml&amp;mainmenuID=9000&amp;levels=1)</onload>
	<controls>
		<include>CommonBackground</include>
		<control type="image">
			<depth>DepthFloor</depth>
			<left>-20</left>
			<top></top>
			<bottom>0</bottom>
			<width>1320</width>
			<height>90</height>
			<texture>floor.png</texture>
			<colordiffuse>BFFFFFFF</colordiffuse>
			<visible>!Skin.HasSetting(nofloor)</visible>
			<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>
		</control>
		<!-- Music Info 313011 -->
		<control type="group">
			<depth>DepthMenu</depth>
			<left>0</left>
			<top>60</top>
			<visible>Player.HasAudio + !Skin.HasSetting(homepageMusicinfo) + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))</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">
			<depth>DepthMenu</depth>
			<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>
				<!--313011-->
				<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">
			<depth>DepthMenu</depth>
			<left>0</left>
			<top>50</top>
			<visible>Player.HasVideo + !Skin.HasSetting(homepageVideoinfo) + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))</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>
			<include>showlist</include>
			<visible>false</visible>
		</control>
		<control type="group">
			<depth>DepthMenu-</depth>
			<animation effect="slide" start="0,0" end="0,-180" time="0" condition="!Skin.HasSetting(menubottom)">Conditional</animation>
			<description>Controls for currently playing media</description>
			<left>545r</left>
			<top>550</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>
			<visible>IsEmpty(Window(videolibrary).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="!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 condition="Skin.HasSetting(menubottom)">700</onup>
				<onup condition="!Skin.HasSetting(menubottom)">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>605</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="605">
						<left>130</left>
						<top>2</top>
						<width>30</width>
						<height>30</height>
						<label>-</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>-</label>
						<texturefocus>OSDRecordOffFO.png</texturefocus>
						<texturenofocus>OSDRecordOffNF.png</texturenofocus>
						<onleft>605</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">
			<depth>DepthMenu</depth>
			<top>580</top>
			<animation effect="slide" start="0,0" end="0,-180" time="0" condition="!Skin.HasSetting(menubottom)">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="group">
				<left>0</left>
				<top>70</top>
				<animation effect="fade" start="100" end="0" time="225" condition="StringCompare(Container(9001).NumItems,0)">Conditional</animation>
				<animation effect="slide" start="0,0" end="0,-130" time="0" condition="!Skin.HasSetting(menubottom)">Conditional</animation>
				<control type="image">
					   <left>-40</left>
			           <width>35</width>
			           <height>35</height>
			           <texture border="0,0,0,3" flipx="true">HomeSubEnd.png</texture>
					   <animation effect="slide" start="0,0" end="0,130" time="0" condition="!Skin.HasSetting(menubottom)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="50,0" time="0" condition="StringCompare(Container(9001).NumItems,7)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="135,0" time="0" condition="StringCompare(Container(9001).NumItems,6)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="220,0" time="0" condition="StringCompare(Container(9001).NumItems,5)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="305,0" time="0" condition="StringCompare(Container(9001).NumItems,4)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="390,0" time="0" condition="StringCompare(Container(9001).NumItems,3)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="475,0" time="0" condition="StringCompare(Container(9001).NumItems,2)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="560,0" time="0" condition="StringCompare(Container(9001).NumItems,1)">Conditional</animation>
		        </control>
				<control type="image">
					   <left>-40</left>
			           <width>35</width>
			           <height>35</height>
			           <texture border="0,0,0,3">HomeSubEnd.png</texture>
					   <animation effect="slide" start="0,0" end="0,130" time="0" condition="!Skin.HasSetting(menubottom)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="1275,0" time="0" condition="StringCompare(Container(9001).NumItems,7)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="1190,0" time="0" condition="StringCompare(Container(9001).NumItems,6)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="1105,0" time="0" condition="StringCompare(Container(9001).NumItems,5)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="1020,0" time="0" condition="StringCompare(Container(9001).NumItems,4)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="935,0" time="0" condition="StringCompare(Container(9001).NumItems,3)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="850,0" time="0" condition="StringCompare(Container(9001).NumItems,2)">Conditional</animation>
					   <animation effect="slide" start="0,0" end="765,0" time="0" condition="StringCompare(Container(9001).NumItems,1)">Conditional</animation>
		        </control>
			<control type="list" id="9001">
			<animation effect="slide" start="0,0" end="0,130" time="0" condition="!Skin.HasSetting(menubottom)">Conditional</animation>
					<orientation>horizontal</orientation>
					<top>0</top>
					<left>45</left>
					<width>1210</width>
					<onup>9000</onup>
					<ondown condition="Skin.HasSetting(menubottom)">20</ondown>
					<ondown condition="!Skin.HasSetting(menubottom)">9002</ondown>
					<animation effect="slide" start="0,0" end="85,0" time="0" condition="StringCompare(Container(9001).NumItems,6)">Conditional</animation>
					<animation effect="slide" start="0,0" end="170,0" time="0" condition="StringCompare(Container(9001).NumItems,5)">Conditional</animation>
					<animation effect="slide" start="0,0" end="255,0" time="0" condition="StringCompare(Container(9001).NumItems,4)">Conditional</animation>
					<animation effect="slide" start="0,0" end="340,0" time="0" condition="StringCompare(Container(9001).NumItems,3)">Conditional</animation>
					<animation effect="slide" start="0,0" end="425,0" time="0" condition="StringCompare(Container(9001).NumItems,2)">Conditional</animation>
					<animation effect="slide" start="0,0" end="510,0" time="0" condition="StringCompare(Container(9001).NumItems,1)">Conditional</animation>
					<itemlayout height="35" width="170">						
						<control type="image">
							<width>170</width>
							<height>35</height>
							<texture border="5">HomeSubNF.png</texture>
						</control>
						<control type="label">
							<label>$INFO[ListItem.Label]</label>
							<left>0</left>
							<width>170</width>
							<align>center</align>
							<aligny>center</aligny>
							<font>font12</font>
							<textcolor>grey2</textcolor>
						</control>
					</itemlayout>
					<focusedlayout height="35" width="170">						
						<control type="image">
							<width>170</width>
							<height>35</height>
							<visible>!Control.HasFocus(9001)</visible>
							<texture border="5">HomeSubNF.png</texture>
						</control>
						<control type="label">
							<label>$INFO[ListItem.Label]</label>
							<left>0</left>
							<width>170</width>
							<align>center</align>
							<aligny>center</aligny>
							<font>font12</font>
							<textcolor>grey2</textcolor>
							<visible>!Control.HasFocus(9001)</visible>
						</control>
						<control type="image">
							<width>170</width>
							<height>35</height>
							<visible>Control.HasFocus(9001)</visible>
							<texture border="5">HomeSubFO.png</texture>
						</control>
						<control type="label">
							<label>$INFO[ListItem.Label]</label>
							<left>0</left>
							<width>170</width>
							<align>center</align>
							<aligny>center</aligny>
							<font>font12</font>
							<visible>Control.HasFocus(9001)</visible>
							<textcolor>white</textcolor>
						</control>
					</focusedlayout>
					<content>
						<include>skinshortcuts-submenu</include>
					</content>
				</control>
				</control>
				<include>dbstatistic</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>
			<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>
					<include>skinshortcuts-mainmenu</include>
				</content>
			</control>
			<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>
		<control type="group" id="9002">
			<depth>DepthMenu</depth>
			<include>showmenu</include>
			<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>
				<onleft>700</onleft>
				<onright>700</onright>
				<include>showmenu</include>
				<include condition="!Skin.HasSetting(menubottom)">HomeAddonsCommonLayout</include>
				<include condition="Skin.HasSetting(menubottom)">HomeAddonsCommonLayout1</include>
				<content>
					<include>skinshortcuts-submenu-1</include>
				</content>
			</control>
		</control>
		<include>systemstatistic</include>
		<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</description>
				<left>0</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>31003</label>
				<font>-</font>
				<onclick>ActivateWindow(ShutdownMenu)</onclick>
				<texturefocus border="0">floor_buttonFO.png</texturefocus>
				<texturenofocus border="0">floor_button.png</texturenofocus>
				<onleft>21</onleft>
				<onright>21</onright>
				<onup condition="Skin.HasSetting(menubottom)">9001</onup>
		        <onup condition="!Skin.HasSetting(menubottom)">9002</onup>
				<ondown>9003</ondown>
                <visible>!Skin.HasSetting(HomeMenuN0PBottomButton)</visible>
			</control>
			<control type="image">
				<description>Power Icon</description>
				<left>5</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_power.png</texture>
                <visible>!Skin.HasSetting(HomeMenuN0PBottomButton)</visible>
			</control>
			<control type="button" id="21">
				<description>Favourites push button</description>
				<animation effect="slide" start="0,0" end="-55,00" time="0" condition="Skin.HasSetting(HomeMenuNoPBottomButton)">conditional</animation>
				<left>55</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>1036</label>
				<font>-</font>
				<onclick>ActivateWindow(Favourites)</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>20</onleft>
				<onright>20</onright>
				<onup condition="Skin.HasSetting(menubottom)">9001</onup>
		        <onup condition="!Skin.HasSetting(menubottom)">9002</onup>
				<ondown>9003</ondown>
                <visible>!Skin.HasSetting(HomeMenuN0FBottomButton)</visible>
			</control>
			<control type="image">
				<description>Favourites Icon</description>
				<animation effect="slide" start="0,0" end="-55,00" time="0" condition="Skin.HasSetting(HomeMenuNoPBottomButton)">conditional</animation>
				<left>60</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_favourites.png</texture>
                <visible>!Skin.HasSetting(HomeMenuN0FBottomButton)</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(HomeMenuN0Logo)</visible>
			</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>
					<!--313011-->
					<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>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="Window.IsVisible(Mutebug)">conditional</animation>
			</control>
		</control>
	</controls>
</window>
