<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include file="defaults.xml" />
	<include file="ViewsVideoLibrary.xml" />
	<include file="ViewsMusicLibrary.xml" />
	<include file="ViewsFileMode.xml" />
	<include file="ViewsPictures.xml" />
	<include file="ViewsAddonBrowser.xml" />
	<include file="ViewsLiveTV.xml" />
	<include file="ViewsPVRGuide.xml" />
	<include file="ViewsWeather.xml" />
	<include file="IncludesCodecFlagging.xml" />
	<include file="IncludesHomeRecentlyAdded.xml" />
	<include file="IncludesHomeRecentAdded.xml" />
	<include file="IncludesHomeMenuItems.xml" />
	<include file="IncludesPVR.xml" />
	<include file="IncludesBackgroundBuilding.xml" />
	<include file="script-skinshortcuts-includes.xml"/>
	<include file="script-tvhighlights.xml" />
	<include file="View_Custom.xml" />
	<include file="View_Custom1.xml" />
	<include file="View_Custom2.xml" />
	<include file="View_Custom3.xml" />
	<!-- CONSTANTS -->
	<constant name="FanartCrossfadeTime">500</constant>
	<constant name="IconCrossfadeTime">400</constant>
	<constant name="DepthDialog">0.50</constant>
	<constant name="DepthDialog+">0.52</constant>
	<constant name="DepthDialog-">0.48</constant>
	<constant name="DepthMax">0.54</constant>
	<constant name="DepthOSD">0.40</constant>
	<constant name="DepthOSD+">0.44</constant>
	<constant name="DepthOSD-">0.36</constant>
	<constant name="DepthOSDPopout">0.48</constant>
	<constant name="DepthContent">0</constant>
	<constant name="DepthContent+">0.08</constant>
	<constant name="DepthContent-">-0.08</constant>
	<constant name="DepthContentPopout">0.15</constant>
	<constant name="DepthMenu">0.08</constant>
	<constant name="DepthMenu+">0.14</constant>
	<constant name="DepthMenu-">0.00</constant>
	<constant name="DepthHeader">0.08</constant>
	<constant name="DepthFooter">0.08</constant>
	<constant name="DepthBackground">-0.80</constant>
	<constant name="DepthFloor">-0.20</constant>
	<constant name="DepthSideBlade">0.15</constant>
	<!-- VARIABLES -->

	<variable name="MediaInfoOverlayVar">
		<value condition="ListItem.IsCollection">flagging/video/Set.png</value>
		<value condition="!ListItem.IsStereoscopic">$INFO[ListItem.VideoResolution,flagging/lists/,.png]</value>
		<value>flagging/lists/3D.png</value>
	</variable>
	<variable name="BannerThumb">
		<value condition="!IsEmpty(ListItem.Art(banner))">$INFO[ListItem.Art(banner)]</value>
		<value>$INFO[ListItem.Icon]</value>
	</variable>
	<variable name="PosterThumb">
		<value condition="!IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Art(poster)]</value>
		<value>$INFO[ListItem.Icon]</value>
	</variable>
	<variable name="AlbumInfoPanelLabel">
		<value condition="Container.Content(Artists)">$INFO[ListItem.Label]</value>
		<value>$INFO[ListItem.TrackNumber,([COLOR=selected][B],[/B][/COLOR]) - ]$INFO[ListItem.Label]</value>
	</variable>
	<variable name="PlayList">
		<value condition="Window.IsActive(videolibrary) + !StringCompare(Playlist.Length(video),0)">ActivateWindow(videoplaylist)</value>
		<value>ActivateWindow(musicplaylist)</value>
	</variable>
	<variable name="SelectBack">
		<value condition="![Window.IsVisible(FullscreenVideo) | Window.IsVisible(Visualisation)]">DialogBack.png</value>
		<value>DialogBack2.png</value>
	</variable>
	<variable name="typehackflagging">
		<value condition="[substring(ListItem.FilenameAndPath,bluray) | substring(ListItem.FilenameAndPath,bdrip) | substring(ListItem.FilenameAndPath,brrip) | substring(ListItem.FilenameAndPath,bd25) | substring(ListItem.FilenameAndPath,bd50)]">bluray</value>
		<value condition="substring(ListItem.FilenameAndPath,hddvd)">hddvd</value>
		<value condition="substring(ListItem.FilenameAndPath,dvd)">dvd</value>
		<value condition="[substring(ListItem.FilenameAndPath,pdtv) | substring(ListItem.FilenameAndPath,hdtv) | substring(ListItem.FilenameAndPath,dsr)]">TV</value>
		<value condition="substring(ListItem.FilenameAndPath,vhs)">vhs</value>
	</variable>
	<variable name="rating">
		<value condition="substring(listitem.mpaa,Rated G)">mpaa_general</value>
		<value condition="substring(listitem.mpaa,Rated PG-13)">mpaa_pg13</value>
		<value condition="substring(listitem.mpaa,Rated PG)">mpaa_pg</value>
		<value condition="substring(Listitem.mpaa,Rated R)">mpaa_restricted</value>
		<value condition="substring(Listitem.mpaa,Rated NC)">mpaa_nc17</value>
		<value condition="substring(Listitem.mpaa,Not Rated)">mpaa_notrated</value>
	</variable>
	<variable name="videocodec">
		<value condition="[substring(ListItem.VideoCodec,div,left) | stringcompare(ListItem.VideoCodec,dx50)]">divx</value>
		<value>$INFO[ListItem.VideoCodec]</value>
	</variable>
	<variable name="SeekLabel">
		<value condition="Player.Playing + !Player.Seeking + !Player.DisplayAfterSeek">$LOCALIZE[31042]</value>
		<value condition="[Player.Paused + !Player.Caching] + !Player.Seeking + !Player.DisplayAfterSeek">$LOCALIZE[31043]</value>
		<value condition="[Player.Paused + Player.Caching] + !Player.Seeking">$LOCALIZE[15107] $INFO[Player.CacheLevel]%</value>
		<value condition="!IsEmpty(Player.SeekStepSize) + ![player.forwarding | player.rewinding]">$LOCALIZE[31046][COLOR=grey] $INFO[Player.SeekStepSize][/COLOR]</value>
		<value condition="Player.DisplayAfterSeek + ![player.forwarding | player.rewinding]">$LOCALIZE[31046][COLOR=grey] $INFO[Player.SeekOffset][/COLOR]</value>
		<value condition="!Player.DisplayAfterSeek + Player.Seeking">$LOCALIZE[31046]</value>
		<value condition="Player.Forwarding">$LOCALIZE[31044]</value>
		<value condition="Player.Rewinding">$LOCALIZE[31045]</value>
	</variable>
	<variable name="SelectLabel">
		<value condition="Control.IsVisible(3)">([COLOR=blue]$INFO[Container(3).NumItems][/COLOR]) $LOCALIZE[31025] - $LOCALIZE[31024] ([COLOR=blue]$INFO[Container(3).CurrentPage]/$INFO[Container(3).NumPages][/COLOR])</value>
		<value condition="Control.IsVisible(6)">([COLOR=blue]$INFO[Container(6).NumItems][/COLOR]) $LOCALIZE[31025] - $LOCALIZE[31024] ([COLOR=blue]$INFO[Container(6).CurrentPage]/$INFO[Container(6).NumPages][/COLOR])</value>
	</variable>
	<variable name="PlayerControlsRepeatImageVar">
		<value condition="Playlist.IsRepeatOne + Control.HasFocus(704)">OSDRepeatOneFO.png</value>
		<value condition="Playlist.IsRepeat + Control.HasFocus(704)">OSDRepeatAllFO.png</value>
		<value condition="Control.HasFocus(704)">OSDRepeatFO.png</value>
		<value condition="Playlist.IsRepeatOne">OSDRepeatOneNF.png</value>
		<value condition="Playlist.IsRepeat">OSDRepeatAllNF.png</value>
		<value>OSDRepeatNF.png</value>
	</variable>
	<variable name="PVRChannelMgrHeader">
		<value condition="!IsEmpty(Window.Property(IsRadio))">$LOCALIZE[19199] - $LOCALIZE[19024]</value>
		<value>$LOCALIZE[19199] - $LOCALIZE[19023]</value>
	</variable>
	<!-- INCLUDES -->
	<include name="AlbumInfoPanel">
		<control type="panel" id="50">
			<left>$PARAM[panel-left]</left>
			<top>520</top>
			<width>$PARAM[panel-width]</width>
			<height>120</height>
			<onleft>9000</onleft>
			<onright>61</onright>
			<onup>61</onup>
			<ondown>9000</ondown>
			<viewtype label="">list</viewtype>
			<pagecontrol>61</pagecontrol>
			<scrolltime>200</scrolltime>
			<orientation>vertical</orientation>
			<itemlayout height="40" width="$PARAM[item-width]">
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>$PARAM[item-width]</width>
					<height>40</height>
					<texture border="5">button-nofocus.png</texture>
				</control>
				<control type="label">
					<left>10</left>
					<top>0</top>
					<width>$PARAM[label-width]</width>
					<height>40</height>
					<font>font12</font>
					<align>left</align>
					<aligny>center</aligny>
					<selectedcolor>selected</selectedcolor>
					<label>$VAR[AlbumInfoPanelLabel]</label>
				</control>
				<control type="label">
					<left>10</left>
					<top>0</top>
					<width>$PARAM[label-width]</width>
					<height>40</height>
					<font>font12</font>
					<align>right</align>
					<aligny>center</aligny>
					<selectedcolor>selected</selectedcolor>
					<label>$INFO[ListItem.Duration]</label>
				</control>
			</itemlayout>
			<focusedlayout height="40" width="$PARAM[item-width]">
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>$PARAM[item-width]</width>
					<height>40</height>
					<visible>!Control.HasFocus(50)</visible>
					<texture border="5">button-nofocus.png</texture>
				</control>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>$PARAM[item-width]</width>
					<height>40</height>
					<visible>Control.HasFocus(50)</visible>
					<texture border="5">button-focus2.png</texture>
				</control>
				<control type="label">
					<left>10</left>
					<top>0</top>
					<width>$PARAM[label-width]</width>
					<height>40</height>
					<font>font12</font>
					<align>left</align>
					<aligny>center</aligny>
					<selectedcolor>selected</selectedcolor>
					<label>$VAR[AlbumInfoPanelLabel]</label>
				</control>
				<control type="label">
					<left>10</left>
					<top>0</top>
					<width>$PARAM[label-width]</width>
					<height>40</height>
					<font>font12</font>
					<align>right</align>
					<aligny>center</aligny>
					<selectedcolor>selected</selectedcolor>
					<label>$INFO[ListItem.Duration]</label>
				</control>
			</focusedlayout>
		</control>
	</include>
	<include name="DialogBackgroundCommons">
		<control type="image">
			<description>background image</description>
			<left>0</left>
			<top>0</top>
			<width>$PARAM[DialogBackgroundWidth]</width>
			<height>$PARAM[DialogBackgroundHeight]</height>
			<texture border="40">$VAR[SelectBack]</texture>
		</control>
		<control type="image">
			<description>Dialog Header image</description>
			<left>40</left>
			<top>16</top>
			<width>$PARAM[DialogHeaderWidth]</width>
			<height>40</height>
			<texture>dialogheader.png</texture>
		</control>
		<control type="label" id="$PARAM[DialogHeaderId]">
			<description>header label</description>
			<left>40</left>
			<top>20</top>
			<width>$PARAM[DialogHeaderWidth]</width>
			<height>30</height>
			<font>font13_title</font>
			<label>$PARAM[DialogHeaderLabel]</label>
			<align>center</align>
			<aligny>center</aligny>
			<textcolor>selected</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="button">
			<description>Close Window button</description>
			<left>$PARAM[CloseButtonLeft]</left>
			<top>15</top>
			<width>64</width>
			<height>32</height>
			<label>-</label>
			<font>-</font>
			<onclick>PreviousMenu</onclick>
			<texturefocus>DialogCloseButton-focus.png</texturefocus>
			<texturenofocus>DialogCloseButton.png</texturenofocus>
			<onleft>$PARAM[CloseButtonNav]</onleft>
			<onright>$PARAM[CloseButtonNav]</onright>
			<onup>$PARAM[CloseButtonNav]</onup>
			<ondown>$PARAM[CloseButtonNav]</ondown>
			<visible>system.getbool(input.enablemouse)</visible>
		</control>
	</include>
	<include name="BehindDialogFadeOut">
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<texture>black-back.png</texture>
			<animation effect="fade" time="300">Visible</animation>
			<animation effect="fade" time="150">Hidden</animation>
			<visible>Window.IsActive(MovieInformation) | Window.IsActive(MusicInformation) | Window.IsActive(SongInformation) | Window.IsActive(FileBrowser) | Window.IsActive(TextViewer) | Window.IsActive(AddonSettings) | Window.IsActive(ContentSettings) | Window.IsActive(SelectDialog) | Window.IsActive(MediaSource) | Window.IsActive(PictureInfo) | Window.IsActive(PlayerControls) | Window.IsActive(VirtualKeyboard) | Window.IsActive(NumericInput) | Window.IsActive(ProfileSettings) | Window.IsActive(LockSettings) | Window.IsActive(SmartPlaylistEditor) | Window.IsActive(SmartPlaylistRule) | Window.IsActive(script-RSS_Editor-rssEditor.xml) | Window.IsActive(script-RSS_Editor-setEditor.xml) | Window.IsActive(AddonInformation) | Window.IsActive(PeripheralSettings) | Window.IsActive(script-cu-lrclyrics-main.xml) | Window.IsActive(MediaFilter)</visible>
		</control>
	</include>
	<include name="WindowTitleCommons">
		<left>0</left>
		<top>0</top>
		<width min="0" max="800">auto</width>
		<height>30</height>
		<font>font14</font>
		<textcolor>white</textcolor>
		<shadowcolor>black</shadowcolor>
		<scroll>false</scroll>
		<align>left</align>
		<aligny>center</aligny>
	</include>
	<include name="ButtonCommonValues">
		<height>40</height>
		<width>250</width>
		<textoffsetx>10</textoffsetx>
		<textwidth>200</textwidth>
		<aligny>center</aligny>
		<font>font13</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus>-</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonMediaSubCommonValues">
		<height>40</height>
		<width>221</width>
		<textoffsetx>20</textoffsetx>
		<textwidth>195</textwidth>
		<aligny>center</aligny>
		<font>font12_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="ButtonHomeSubCommonValues">
		<height>35</height>
		<width>180</width>
		<textwidth>195</textwidth>
		<align>center</align>
		<aligny>center</aligny>
		<font>font12</font>
		<textcolor>grey2</textcolor>
		<focusedcolor>white</focusedcolor>
		<texturefocus border="5">HomeSubFO.png</texturefocus>
		<texturenofocus border="5">HomeSubNF.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="HomeSubMenuCommonValues">
		<left>0</left>
		<top>0</top>
		<width>1280</width>
		<height>35</height>
		<align>center</align>
		<onup>9000</onup>
		<ondown>9002</ondown>
		<itemgap>0</itemgap>
		<orientation>Horizontal</orientation>
		<animation effect="slide" start="0,-40" end="0,0" delay="150" time="150" tween="quadratic" easing="out">Visible</animation>
		<animation effect="slide" start="0,0" end="0,-40" time="150" tween="quadratic" easing="out">Hidden</animation>
	</include>
	<include name="ButtonInfoDialogsCommonValues">
		<height>40</height>
		<width>170</width>
		<textoffsetx>5</textoffsetx>
		<align>center</align>
		<aligny>center</aligny>
		<font>font12_title</font>
		<texturefocus border="5">button-focus.png</texturefocus>
		<texturenofocus border="5">button-nofocus.png</texturenofocus>
		<pulseonselect>false</pulseonselect>
	</include>
	<include name="SideBladeLeft">
		<depth>DepthSideBlade</depth>
		<animation effect="slide" start="0,0" end="250,0" time="300" tween="quadratic" easing="out" condition="[ControlGroup(9000).HasFocus | Control.HasFocus(9001) | Control.HasFocus(8999)] + ![Window.IsActive(PVRGuideInfo) | Window.IsActive(PVRRadioRDSInfo)]">Conditional</animation>
		<animation effect="slide" start="0,0" end="-300,0" time="300" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus | Control.HasFocus(9001)">WindowClose</animation>
		<animation effect="slide" start="0,0" end="-50,0" time="225" tween="quadratic" easing="out" condition="![ControlGroup(9000).HasFocus | Control.HasFocus(9001)]">WindowClose</animation>
		<animation effect="slide" start="-50,0" end="0,0" time="225" tween="quadratic" easing="out">WindowOpen</animation>
		<control type="button" id="8999">
			<description>Fake button for mouse control</description>
			<left>0</left>
			<top>0</top>
			<width>250</width>
			<height>720</height>
			<label>-</label>
			<font>-</font>
			<texturenofocus>-</texturenofocus>
			<texturefocus>-</texturefocus>
			<visible>true</visible>
		</control>
		<control type="button" id="9001">
			<left>250</left>
			<top>260</top>
			<width>42</width>
			<height>128</height>
			<font>-</font>
			<texturefocus>HasSub.png</texturefocus>
			<texturenofocus>HasSub.png</texturenofocus>
		</control>
		<control type="image">
			<left>-20</left>
			<top>0</top>
			<width>280</width>
			<height>720</height>
			<texture border="0,0,10,0">MediaBladeSub.png</texture>
		</control>
		<control type="image">
			<description>LOGO</description>
			<left>15</left>
			<top>0</top>
			<width>220</width>
			<height>80</height>
			<aspectratio>keep</aspectratio>
			<texture>Confluence_Logo.png</texture>
		</control>
	</include>
	<include name="MainWindowMouseButtons">
		<control type="group">
			<left>120r</left>
			<top>55r</top>
			<animation effect="fade" time="200" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="fade" time="200" condition="Window.Next(Home)">WindowClose</animation>
			<visible>system.getbool(input.enablemouse)</visible>
			<control type="button">
				<description>Back push button</description>
				<left>0</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>1036</label>
				<font>-</font>
				<onclick>back</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>50</onup>
				<ondown>50</ondown>
			</control>
			<control type="image">
				<description>Back Icon</description>
				<left>5</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_back.png</texture>
			</control>
			<control type="button">
				<description>Home push button</description>
				<left>55</left>
				<top>0</top>
				<width>45</width>
				<height>45</height>
				<label>31003</label>
				<font>-</font>
				<onclick>ActivateWindow(home)</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>50</onup>
				<ondown>50</ondown>
			</control>
			<control type="image">
				<description>Home Icon</description>
				<left>60</left>
				<top>5</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_home.png</texture>
			</control>
		</control>
	</include>
	<include name="CommonNowPlaying">
		<control type="group">
			<visible>Player.HasMedia + IsEmpty(Window(videolibrary).Property(PlayingBackgroundMedia))</visible>
			<include>VisibleFadeEffect</include>
			<animation effect="fade" time="200" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="fade" time="200" condition="Window.Next(Home)">WindowClose</animation>
			<control type="button">
				<description>push button</description>
				<left>30</left>
				<top>55r</top>
				<width>45</width>
				<height>45</height>
				<label>31003</label>
				<font>-</font>
				<onclick>ActivateWindow(PlayerControls)</onclick>
				<texturefocus border="5">floor_buttonFO.png</texturefocus>
				<texturenofocus border="5">floor_button.png</texturenofocus>
				<onleft>50</onleft>
				<onright>50</onright>
				<onup>50</onup>
				<ondown>50</ondown>
			</control>
			<control type="image">
				<description>Player Icon</description>
				<left>35</left>
				<top>50r</top>
				<width>35</width>
				<height>35</height>
				<aspectratio>keep</aspectratio>
				<texture>icon_player.png</texture>
			</control>
			<control type="label">
				<left>85</left>
				<top>53r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[Player.Title] - ([COLOR=blue]$INFO[Player.Time] / $INFO[Player.Duration,][/COLOR])</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
			</control>
			<control type="label">
				<left>85</left>
				<top>32r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasAudio</visible>
			</control>
			<control type="label">
				<left>85</left>
				<top>30r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.Studio]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(Movies)</visible>
			</control>
			<control type="label">
				<left>85</left>
				<top>30r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.TVShowTitle]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(Episodes)</visible>
			</control>
			<control type="label">
				<left>85</left>
				<top>30r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.Artist]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(MusicVideos)</visible>
			</control>
			<control type="label">
				<left>85</left>
				<top>30r</top>
				<width>700</width>
				<height>20</height>
				<label>$INFO[VideoPlayer.ChannelName]$INFO[VideoPlayer.ChannelNumberLabel, - ([COLOR=blue],[/COLOR])]</label>
				<align>left</align>
				<aligny>center</aligny>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<shadowcolor>black</shadowcolor>
				<visible>Player.HasVideo + VideoPlayer.Content(LiveTV)</visible>
			</control>
		</control>
	</include>
	<include name="CommonPageCount">
		<control type="group">
			<animation effect="slide" start="0,0" end="-90,0" time="0" condition="system.getbool(input.enablemouse)">Conditional</animation>
			<control type="label">
				<description>Page Count Label</description>
				<right>40</right>
				<top>53r</top>
				<width>500</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<scroll>false</scroll>
				<align>right</align>
				<aligny>center</aligny>
				<label>$INFO[Container.NumItems,([COLOR=blue],[/COLOR]) $LOCALIZE[31025]]$INFO[Container.CurrentPage, - $LOCALIZE[31024] ([COLOR=blue]]$INFO[Container.NumPages,/,[/COLOR])]</label>
				<include>Window_OpenClose_Animation</include>
			</control>
			<control type="label">
				<description>Container Duration Label</description>
				<right>40</right>
				<top>32r</top>
				<width>500</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey</textcolor>
				<scroll>false</scroll>
				<align>right</align>
				<aligny>center</aligny>
				<label>$INFO[Container.TotalTime,$LOCALIZE[31009] ([COLOR=blue],[/COLOR])]</label>
				<include>Window_OpenClose_Animation</include>
			</control>
		</control>
	</include>
	<include name="SmallMusicInfo">
		<control type="image">
			<description>gradient</description>
			<left>0</left>
			<top>0</top>
			<width>500</width>
			<height>165</height>
			<colordiffuse>DDFFFFFF</colordiffuse>
			<texture border="20">OverlayDialogBackground.png</texture>
		</control>
		<control type="image">
			<description>Cover image</description>
			<left>20</left>
			<top>17</top>
			<width>130</width>
			<height>130</height>
			<texture>$INFO[MusicPlayer.Cover]</texture>
		</control>
		<control type="label">
			<description>Artist label</description>
			<left>160</left>
			<top>20</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Artist]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>grey2</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="fadelabel">
			<description>Title label</description>
			<left>160</left>
			<top>43</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[Player.Title]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font13_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="label">
			<description>Album Label</description>
			<left>160</left>
			<top>70</top>
			<height>30</height>
			<width>325</width>
			<label>$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>Time Label</description>
			<left>160</left>
			<top>95</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[MusicPlayer.Time]$INFO[MusicPlayer.Duration, / ]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
		<control type="label">
			<description>Next Label</description>
			<left>160</left>
			<top>120</top>
			<height>30</height>
			<width>325</width>
			<label>[COLOR=blue]$LOCALIZE[19031] :[/COLOR] $INFO[MusicPlayer.offset(1).Title]</label>
			<align>right</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>grey</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
	</include>
	<include name="SmallVideoInfo">
		<control type="image">
			<description>gradient</description>
			<left>0</left>
			<top>0</top>
			<width>500</width>
			<height>165</height>
			<colordiffuse>DDFFFFFF</colordiffuse>
			<texture border="20">OverlayDialogBackground.png</texture>
		</control>
		<control type="image">
			<description>Cover image</description>
			<left>20</left>
			<top>17</top>
			<width>130</width>
			<height>130</height>
			<aspectratio>keep</aspectratio>
			<texture>$INFO[VideoPlayer.cover]</texture>
		</control>
		<control type="label">
			<description>Studio label</description>
			<left>160</left>
			<top>20</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Studio]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>grey2</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>!videoplayer.content(episodes) + !videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<description>TV Show Title label</description>
			<left>160</left>
			<top>20</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.tvshowtitle]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(episodes)</visible>
		</control>
		<control type="fadelabel">
			<description>Music Video Artist label</description>
			<left>160</left>
			<top>20</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Artist]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(musicvideos)</visible>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="fadelabel">
			<description>Title label</description>
			<left>160</left>
			<top>43</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[Player.Title]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font13_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<scrollout>false</scrollout>
			<pauseatend>2000</pauseatend>
		</control>
		<control type="label">
			<description>Genre label</description>
			<left>160</left>
			<top>70</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Genre]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>!videoplayer.content(episodes) + !videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<left>160</left>
			<top>70</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Album]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(musicvideos)</visible>
		</control>
		<control type="label">
			<description>Season and Episode label</description>
			<left>160</left>
			<top>70</top>
			<height>30</height>
			<width>325</width>
			<label>$LOCALIZE[20373] $INFO[VideoPlayer.Season] - $LOCALIZE[20359] $INFO[VideoPlayer.episode]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<visible>videoplayer.content(episodes)</visible>
		</control>
		<control type="label">
			<description>Time Label</description>
			<left>160</left>
			<top>95</top>
			<height>30</height>
			<width>325</width>
			<label>$INFO[VideoPlayer.Time]$INFO[VideoPlayer.Duration, / ]</label>
			<align>left</align>
			<aligny>center</aligny>
			<font>font12</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
		</control>
	</include>
	<include name="CommonNowPlaying_Controls">
		<control type="label" id="202">
			<width>250</width>
			<height>35</height>
			<font>font12</font>
			<label>31023</label>
			<textcolor>blue</textcolor>
			<align>center</align>
			<aligny>center</aligny>
			<visible>Player.HasMedia</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="button" id="610">
			<description>Fake Button to fix Player Controls Navigation</description>
			<visible>false</visible>
		</control>
		<control type="group" id="90060">
			<height>45</height>
			<visible>VideoPlayer.Content(LiveTV)</visible>
			<include>VisibleFadeEffect</include>
			<control type="grouplist" id="9006">
				<width>250</width>
				<height>45</height>
				<itemgap>1</itemgap>
				<orientation>horizontal</orientation>
				<onright>50</onright>
				<onback>50</onback>
				<onup>610</onup>
				<ondown>611</ondown>
				<control type="button" id="600">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDChannelUPFO.png</texturefocus>
					<texturenofocus>OSDChannelUPNF.png</texturenofocus>
					<onclick>ChannelDown</onclick>
				</control>
				<control type="button" id="601">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDChannelDownFO.png</texturefocus>
					<texturenofocus>OSDChannelDownNF.png</texturenofocus>
					<onclick>ChannelUp</onclick>
				</control>
				<control type="button" id="603">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDStopFO.png</texturefocus>
					<texturenofocus>OSDStopNF.png</texturenofocus>
					<onclick>down</onclick>
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="togglebutton" id="604">
					<width>39</width>
					<height>39</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>
					<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">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDRecordOffFO.png</texturefocus>
					<texturenofocus>OSDRecordOffNF.png</texturenofocus>
					<onclick>PlayerControl(record)</onclick>
					<enable>Player.CanRecord</enable>
					<animation effect="fade" start="100" end="30" time="75" condition="!Player.CanRecord">Conditional</animation>
				</control>
				<control type="button" id="606">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<visible>RDS.HasRadiotextPlus</visible>
					<texturefocus>OSDRadioRDSFO.png</texturefocus>
					<texturenofocus>OSDRadioRDSNF.png</texturenofocus>
					<onclick>ActivateWindow(PVRRadioRDSInfo)</onclick>
				</control>
				<control type="button" id="622">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<visible>!RDS.HasRadiotextPlus</visible>
					<texturefocus>OSDChannelListFO.png</texturefocus>
					<texturenofocus>OSDChannelListNF.png</texturenofocus>
					<onclick>ActivateWindow(PVRGuideInfo)</onclick>
				</control>
			</control>
		</control>
		<control type="group" id="90050">
			<visible>Player.HasMedia</visible>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
			<include>VisibleFadeEffect</include>
			<height>45</height>
			<control type="grouplist" id="9005">
				<width>250</width>
				<height>45</height>
				<itemgap>1</itemgap>
				<orientation>horizontal</orientation>
				<onright>50</onright>
				<onback>50</onback>
				<onup>610</onup>
				<ondown>611</ondown>
				<defaultcontrol always="true">603</defaultcontrol>
				<control type="button" id="700">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDPrevTrackFO.png</texturefocus>
					<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
					<onclick>PlayerControl(Previous)</onclick>
				</control>
				<control type="button" id="706">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDRewindFO.png</texturefocus>
					<texturenofocus>OSDRewindNF.png</texturenofocus>
					<onclick>PlayerControl(Rewind)</onclick>
					<visible>Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo</visible>
				</control>
				<control type="togglebutton" id="703">
					<width>39</width>
					<height>39</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>
					<onclick>PlayerControl(Play)</onclick>
				</control>
				<control type="button" id="701">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDStopFO.png</texturefocus>
					<texturenofocus>OSDStopNF.png</texturenofocus>
					<onclick>down</onclick>
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="button" id="707">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDForwardFO.png</texturefocus>
					<texturenofocus>OSDForwardNF.png</texturenofocus>
					<onclick>PlayerControl(Forward)</onclick>
					<visible>Window.IsVisible(MusicPlaylist) | Window.IsVisible(VideoPlaylist) | Player.HasVideo</visible>
				</control>
				<control type="button" id="702">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDNextTrackFO.png</texturefocus>
					<texturenofocus>OSDNextTrackNF.png</texturenofocus>
					<onclick>PlayerControl(Next)</onclick>
				</control>
				<control type="group" id="799">
					<width>39</width>
					<height>39</height>
					<control type="button" id="704">
						<width>39</width>
						<height>39</height>
						<label>-</label>
						<texturefocus>-</texturefocus>
						<texturenofocus>-</texturenofocus>
						<onleft>702</onleft>
						<onright>705</onright>
						<onclick>PlayerControl(Repeat)</onclick>
						<visible>!Window.IsVisible(MusicPlaylist) + !Window.IsVisible(VideoPlaylist) + !Player.HasVideo</visible>
					</control>
					<control type="image" id="713">
						<width>39</width>
						<height>39</height>
						<texture>$VAR[PlayerControlsRepeatImageVar]</texture>
						<visible>!Window.IsVisible(MusicPlaylist) + !Window.IsVisible(VideoPlaylist) + !Player.HasVideo</visible>
					</control>
				</control>
				<control type="togglebutton" id="705">
					<width>39</width>
					<height>39</height>
					<label>-</label>
					<texturefocus>OSDRandomOffFO.png</texturefocus>
					<texturenofocus>OSDRandomOffNF.png</texturenofocus>
					<usealttexture>Playlist.IsRandom</usealttexture>
					<alttexturefocus>OSDRandomOnFO.png</alttexturefocus>
					<alttexturenofocus>OSDRandomOnNF.png</alttexturenofocus>
					<onclick>PlayerControl(Random)</onclick>
					<visible>!Window.IsVisible(MusicPlaylist) + !Window.IsVisible(VideoPlaylist) + !Player.HasVideo</visible>
				</control>
			</control>
		</control>
		<control type="radiobutton" id="611">
			<description>Go to fullscreen Playback</description>
			<include>ButtonCommonValues</include>
			<label>31008</label>
			<onclick>fullscreen</onclick>
			<textureradioonfocus>GoFullscreen.png</textureradioonfocus>
			<textureradioonnofocus>GoFullscreen.png</textureradioonnofocus>
			<textureradioofffocus>GoFullscreen.png</textureradioofffocus>
			<textureradiooffnofocus>GoFullscreen.png</textureradiooffnofocus>
			<visible>Player.HasMedia</visible>
		</control>
		<control type="button" id="612">
			<description>Go to playlist</description>
			<include>ButtonCommonValues</include>
			<label>13350</label>
			<onclick>$VAR[PlayList]</onclick>
			<visible>[Window.IsActive(videolibrary) + !StringCompare(Playlist.Length(video),0)] | [[Window.IsActive(musiclibrary) | Window.IsActive(musicfiles)] + !StringCompare(Playlist.Length(music),0)]</visible>
		</control>
	</include>
	<include name="showlist">
        <ondown condition="!Skin.HasSetting(menubottom) + System.HasAddon(script.globalsearch)">608</ondown>
	    <ondown condition="!Skin.HasSetting(menubottom) + !System.HasAddon(script.globalsearch)">603</ondown>
		<ondown condition="Skin.HasSetting(menubottom)">9002</ondown>
    </include>
	<include name="showmenu">
        <onup condition="Skin.HasSetting(menubottom)">9003</onup>
		<onup condition="!Skin.HasSetting(menubottom)">9001</onup>
	    <ondown condition="!Skin.HasSetting(menubottom)">20</ondown>
		<ondown condition="Skin.HasSetting(menubottom)">9000</ondown>
    </include>
	<include name="ScrollOffsetLabel">
		<control type="group">
			<depth>DepthSideBlade</depth>
			<visible>Container.Scrolling + [StringCompare(Container.SortMethod,$LOCALIZE[551]) | StringCompare(Container.SortMethod,$LOCALIZE[561]) | StringCompare(Container.SortMethod,$LOCALIZE[558]) | StringCompare(Container.SortMethod,$LOCALIZE[557]) | StringCompare(Container.SortMethod,$LOCALIZE[556])]</visible>
			<animation effect="slide" start="0,0" end="0,-60" time="75">Visible</animation>
			<animation effect="slide" start="0,-60" end="0,0" delay="300" time="75">Hidden</animation>
			<left>300r</left>
			<top>720</top>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>70</width>
				<height>65</height>
				<texture border="20,20,20,2">InfoMessagePanel.png</texture>
			</control>
			<control type="label">
				<left>5</left>
				<top>0</top>
				<width>65</width>
				<height>60</height>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.SortLetter]</label>
				<textcolor>white</textcolor>
				<font>font30_title</font>
			</control>
		</control>
	</include>
	<include name="Clock">
		<control type="label">
			<description>time label</description>
			<right>20</right>
			<top>5</top>
			<width>200</width>
			<height>30</height>
			<align>right</align>
			<aligny>center</aligny>
			<font>font28_title</font>
			<textcolor>white</textcolor>
			<shadowcolor>black</shadowcolor>
			<label>$INFO[System.Time]</label>
			<animation effect="slide" start="0,0" end="-40,0" time="75" condition="Window.IsVisible(Mutebug)">conditional</animation>
		</control>
	</include>
	<include name="HomeAddonsCommonLayout"><!--313011-->
	    <visible>!Skin.HasSetting(menubottom)</visible>
		<include>Window_OpenClose_Animation</include>
		<animation type="Visible">
			<effect type="slide" start="0,30" end="0,0" delay="150" easing="out" tween="quadratic" time="150" />
			<effect type="fade" start="0" end="100" delay="150" time="150" />
		</animation>
		<animation type="Hidden">
			<effect type="zoom" start="100" end="70" center="auto" easing="in" tween="quadratic" time="225" />
			<effect type="fade" start="100" end="0" time="225" />
		</animation>
		<hitrect x="0" y="530" w="1280" h="120" />
		<left>0</left>
		<top>190r</top>
		<width>1280</width>
		<height>200</height>
		<pagecontrol>-</pagecontrol>
		<scrolltime>300</scrolltime>
		<focusposition>3</focusposition>
		<movement>2</movement>
		<orientation>Horizontal</orientation>
		<itemlayout height="200" width="182">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">button-nofocus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="image">
				<left>5</left>
				<top>120</top>
				<width>170</width>
				<height>110</height>
				<aspectratio aligny="top">keep</aspectratio>
				<texture diffuse="diffuse_mirror2.png" flipy="true" background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
			</control>
		</itemlayout>
		<focusedlayout height="200" width="182">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">button-nofocus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
				<visible>!ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">folder-focus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
				<visible>ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="image">
				<left>5</left>
				<top>120</top>
				<width>170</width>
				<height>110</height>
				<aspectratio aligny="top">keep</aspectratio>
				<texture diffuse="diffuse_mirror2.png" flipy="true" background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>white</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>!ControlGroup(9002).HasFocus</visible>
			</control>
		</focusedlayout>
	</include>
	<include name="HomeAddonsCommonLayout1">
	    <visible>Skin.HasSetting(menubottom)</visible>
		<include>Window_OpenClose_Animation</include>
		<animation type="Visible">
			<effect type="slide" start="0,30" end="0,0" delay="150" easing="out" tween="quadratic" time="150" />
			<effect type="fade" start="0" end="100" delay="150" time="150" />
		</animation>
		<animation type="Hidden">
			<effect type="zoom" start="100" end="70" center="auto" easing="in" tween="quadratic" time="225" />
			<effect type="fade" start="100" end="0" time="225" />
		</animation>
		<hitrect x="0" y="400" w="1280" h="120" />
		<left>0</left>
		<top>320r</top>
		<width>1280</width>
		<height>200</height>
		<pagecontrol>-</pagecontrol>
		<scrolltime>300</scrolltime>
		<focusposition>3</focusposition>
		<movement>2</movement>
		<orientation>Horizontal</orientation>
		<itemlayout height="200" width="182">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">button-nofocus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="image">
				<left>5</left>
				<top>120</top>
				<width>170</width>
				<height>110</height>
				<aspectratio aligny="top">keep</aspectratio>
				<texture diffuse="diffuse_mirror2.png" flipy="true" background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
			</control>
		</itemlayout>
		<focusedlayout height="200" width="182">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">button-nofocus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
				<visible>!ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>180</width>
				<height>120</height>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="5">folder-focus.png</bordertexture>
				<bordersize>3</bordersize>
				<texture background="true">$INFO[ListItem.Icon]</texture>
				<visible>ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="image">
				<left>5</left>
				<top>120</top>
				<width>170</width>
				<height>110</height>
				<aspectratio aligny="top">keep</aspectratio>
				<texture diffuse="diffuse_mirror2.png" flipy="true" background="true">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>white</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>ControlGroup(9002).HasFocus</visible>
			</control>
			<control type="label">
				<left>1</left>
				<top>125</top>
				<width>180</width>
				<height>20</height>
				<font>font12</font>
				<textcolor>grey2</textcolor>
				<align>center</align>
				<aligny>center</aligny>
				<label>$INFO[ListItem.Label]</label>
				<visible>!ControlGroup(9002).HasFocus</visible>
			</control>
		</focusedlayout>
	</include>
	<include name="TVNextAiredListCommonLayout">
		<itemlayout height="150" width="280">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>280</width>
				<height>145</height>
				<texture border="10">button-nofocus.png</texture>
			</control>
			<control type="image">
				<description>Thumb</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(poster))]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),0)</visible>
			</control>
			<control type="image">
				<description>Banner</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(banner))]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),1)</visible>
			</control>
			<control type="image">
				<description>Logo</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Path),,logo.png]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),2)</visible>
			</control>
			<control type="label">
				<description>Episode Number</description>
				<left>10</left>
				<top>60</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(NextNumber),$LOCALIZE[20359] [COLOR=blue]-[/COLOR] ]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Episode Name</description>
				<left>10</left>
				<top>80</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(NextTitle)]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Next air date/time</description>
				<left>10</left>
				<top>100</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(ShortTime)]$INFO[ListItem.Property(NextDate), [COLOR=blue]-[/COLOR] ]</label>
				<textcolor>grey2</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Duration</description>
				<left>10</left>
				<top>120</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(Runtime),, $LOCALIZE[12391]]$INFO[ListItem.Property(Network), [COLOR=blue]-[/COLOR] (,)]</label>
				<textcolor>grey2</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
		</itemlayout>
		<focusedlayout height="150" width="280">
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>280</width>
				<height>145</height>
				<texture border="10">button-focus2.png</texture>
			</control>
			<control type="image">
				<description>Thumb</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(poster))]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),0)</visible>
			</control>
			<control type="image">
				<description>Banner</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Art(banner))]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),1)</visible>
			</control>
			<control type="image">
				<description>Logo</description>
				<left>5</left>
				<top>5</top>
				<width>270</width>
				<height>55</height>
				<aspectratio>keep</aspectratio>
				<texture background="true">$INFO[ListItem.Property(Path),,logo.png]</texture>
				<visible>StringCompare(Window(Home).Property(TVGuide.ThumbType),2)</visible>
			</control>
			<control type="label">
				<description>Episode Number</description>
				<left>10</left>
				<top>60</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(NextNumber),$LOCALIZE[20359] [COLOR=blue]-[/COLOR] ]</label>
				<textcolor>selected</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Episode Name</description>
				<left>10</left>
				<top>80</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(NextTitle)]</label>
				<textcolor>selected</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Next air date/time</description>
				<left>10</left>
				<top>100</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(ShortTime)]$INFO[ListItem.Property(NextDate), [COLOR=blue]-[/COLOR] ]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
			<control type="label">
				<description>Duration</description>
				<left>10</left>
				<top>120</top>
				<width>260</width>
				<height>15</height>
				<label>$INFO[ListItem.Property(Runtime),, $LOCALIZE[12391]]$INFO[ListItem.Property(Network), [COLOR=blue]-[/COLOR] (,)]</label>
				<textcolor>white</textcolor>
				<font>font12</font>
				<align>center</align>
			</control>
		</focusedlayout>
	</include>
	<include name="backgroundfade">
		<animation effect="fade" time="450">Visible</animation>
		<animation effect="fade" time="450">Hidden</animation>
	</include>
	<include name="Window_OpenClose_Animation">
		<animation effect="fade" time="200">WindowOpen</animation>
		<animation effect="fade" time="200">WindowClose</animation>
	</include>
	<include name="dialogeffect">
		<depth>DepthDialog</depth>
		<animation effect="fade" time="200">WindowOpen</animation>
		<animation effect="fade" time="200">WindowClose</animation>
	</include>
	<include name="VisibleFadeEffect">
		<animation effect="fade" time="225">Visible</animation>
		<animation effect="fade" time="225">Hidden</animation>
	</include>
	<include name="KeyboardButton">
		<width>50</width>
		<height>50</height>
		<texturenofocus border="3">KeyboardKeyNF.png</texturenofocus>
		<texturefocus border="5">KeyboardKey.png</texturefocus>
		<align>center</align>
		<aligny>center</aligny>
		<font>font13</font>
		<focusedcolor>black</focusedcolor>
	</include>
	<include name="CommonWindowHeader">
		<param name="Icon" default="icon_home" />
		<param name="Label" default="" />
		<param name="ShowLabel2" default="False" />
		<definition>
			<control type="group">
				<depth>DepthHeader</depth>
				<control type="image">
					<description>Section header image</description>
					<left>20</left>
					<top>3</top>
					<width>35</width>
					<height>35</height>
					<aspectratio>keep</aspectratio>
					<texture>$PARAM[Icon].png</texture>
				</control>
				<control type="grouplist">
					<left>65</left>
					<top>5</top>
					<width>1000</width>
					<height>30</height>
					<orientation>horizontal</orientation>
					<align>left</align>
					<itemgap>5</itemgap>
					<control type="label">
						<include>WindowTitleCommons</include>
						<label>$PARAM[Label]</label>
					</control>
					<control type="label">
						<include>WindowTitleCommons</include>
						<label>[COLOR=blue] - [/COLOR]$INFO[Container.FolderName]</label>
						<visible>!IsEmpty(Container.FolderName)</visible>
					</control>
					<control type="label">
						<include>WindowTitleCommons</include>
						<label>[COLOR=blue] - [/COLOR]$INFO[Control.GetLabel(2)]</label>
						<visible>$PARAM[ShowLabel2]</visible>
					</control>
				</control>
				<include>Clock</include>
			</control>
		</definition>
	</include>
	<include name="dbstatistic">
	    <control type="group">
				<left>0</left>
				<top>0</top>
				<visible>[StringCompare(Container(9000).ListItem.Property(defaultID),movies) | StringCompare(Container(9000).ListItem.Property(defaultID),tvshows) | StringCompare(Container(9000).ListItem.Property(defaultID),music) | StringCompare(Container(9000).ListItem.Property(defaultID),musicvideos)] + Skin.HasSetting(statistic) + !Player.HasMedia</visible>
				<animation effect="slide" start ="-400,0" end="0,0" time="300" delay="1200" condition="StringCompare(Container(9000).ListItem.Property(defaultID),movies) | StringCompare(Container(9000).ListItem.Property(defaultID),tvshows) | StringCompare(Container(9000).ListItem.Property(defaultID),music) | StringCompare(Container(9000).ListItem.Property(defaultID),musicvideos)">Conditional</animation>
			<control type="image">
				<description>Background End image</description>
				<left>200</left>
				<top>-25</top>
				<width>30</width>
				<height>30</height>
				<colordiffuse>CCFFFFFF</colordiffuse>
				<texture flipy="true" border="0,5,0,0">HomeSubEnd.png</texture>
			</control>
			<control type="image">
				<description>Background image</description>
				<left>-20</left>
				<top>-25</top>
				<width>220</width>
				<height>30</height>
				<texture flipy="true" border="0,5,0,0">HomeSubNF.png</texture>
				<colordiffuse>CCFFFFFF</colordiffuse>
			</control>		
			<control type="label">
				<left>10</left>
				<top>-23</top>
				<width>190</width>
				<height>30</height>
				<font>font10</font>
				<textcolor>grey2</textcolor>
				<align>left</align>
				<aligny>center</aligny>
				<label>$LOCALIZE[60014]: $INFO[Window(Home).Property(Movies.Count)]</label>
				<visible>StringCompare(Container(9000).ListItem.Property(defaultID),movies)</visible>
			</control>
			<control type="label">
				<left>100</left>
				<top>-23</top>
				<width>100</width>
				<height>30</height>
				<font>font10</font>
				<textcolor>grey2</textcolor>
				<align>left</align>
				<aligny>center</aligny>
				<label>$LOCALIZE[60013]: $INFO[Window(Home).Property(Episodes.Count)]</label>
				<visible>StringCompare(Container(9000).ListItem.Property(defaultID),tvshows)</visible>
			</control>
			<control type="label">
				<left>10</left>
				<top>-23</top>
				<width>100</width>
				<height>30</height>
				<font>font10</font>
				<textcolor>grey2</textcolor>
				<align>left</align>
				<aligny>center</aligny>
				<label>$LOCALIZE[60012]: $INFO[Window(Home).Property(TVShows.Count)]</label>
				<visible>StringCompare(Container(9000).ListItem.Property(defaultID),tvshows)</visible>
			</control>			
			<control type="label">
				<left>10</left>
				<top>-23</top>
				<width>190</width>
				<height>30</height>
				<font>font10</font>
				<textcolor>grey2</textcolor>
				<align>left</align>
				<aligny>center</aligny>
				<label>$LOCALIZE[60010]: $INFO[Window(Home).Property(Music.AlbumsCount)]</label>
				<visible>StringCompare(Container(9000).ListItem.Property(defaultID),music)</visible>NewsCenter.Unwetter.Anzahl
			</control>
			<control type="label">
				<left>10</left>
				<top>-23</top>
				<width>190</width>
				<height>30</height>
				<font>font10</font>
				<textcolor>grey2</textcolor>
				<align>left</align>
				<aligny>center</aligny>
				<label>$LOCALIZE[60011]: $INFO[Window(Home).Property(MusicVideos.Count)]</label>
				<visible>StringCompare(Container(9000).ListItem.Property(defaultID),musicvideos)</visible>
			</control>
	    </control>
	</include>
	<include name="systemstatistic">
	    <control type="group">
		        <left>430</left>
				<visible>Skin.HasSetting(systemstatistic)</visible>
		    <control type="label">
				<description>CPU Text</description>
				<left>0</left>
				<top>25r</top>
				<width>200</width>
				<height>10</height>
				<label>[COLOR blue]CPU:[/COLOR] $INFO[System.CPUUsage]</label>
				<align>center</align>
				<aligny>center</aligny>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<font>font10</font>
			</control>
		    <control type="progress">
				<description>Memory BAR</description>
				<left>0</left>
				<top>14r</top>
				<width>200</width>
				<height>10</height>
				<align>left</align>
				<aligny>center</aligny>
				<info>System.CPUUsage</info>
			</control>
			<control type="label">
				<description>Memory Text</description>
				<left>220</left>
				<top>25r</top>
				<width>200</width>
				<height>10</height>
				<label>[COLOR blue]Speicher:[/COLOR] $INFO[system.memory(used.percent)]</label>
				<align>center</align>
				<aligny>center</aligny>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<font>font10</font>
			</control>
			<control type="progress">
				<description>Memory BAR</description>
				<left>220</left>
				<top>14r</top>
				<width>200</width>
				<height>10</height>
				<info>system.memory(used)</info>
			</control>
	    </control>
	</include>
	<include name="BackgroundDimensions">
		<width>1280</width>
		<height>720</height>
		<animation effect="zoom" center="auto" end="101,101" time="0" condition="IntegerGreaterThan(System.StereoscopicMode,0)">conditional</animation>
	</include>
</includes>
