<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="CommonBackground">
		<control type="image">
			<description>Normal Default Background Image</description>
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<aspectratio>scale</aspectratio>
			<texture fallback="special://skin/backgrounds/SKINDEFAULT.jpg">$INFO[Skin.CurrentTheme,special://skin/backgrounds/,.jpg]</texture>
			<visible>![Skin.HasSetting(UseCustomBackground) + !IsEmpty(Skin.String(CustomBackgroundPath))]</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="image">
			<description>User Set Background Image</description>
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<aspectratio>scale</aspectratio>
			<texture>$INFO[Skin.String(CustomBackgroundPath)]</texture>
			<visible>Skin.HasSetting(UseCustomBackground) + !IsEmpty(Skin.String(CustomBackgroundPath))</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<aspectratio>scale</aspectratio>
			<texture background="true">$INFO[ListItem.Art(fanart)]</texture>
			<include>backgroundfade</include>
			<fadetime>FanartCrossfadeTime</fadetime>
			<visible>!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))</visible>
			<include>Window_OpenClose_Animation</include>
			<visible>![Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)]</visible>
		</control>
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<texture>special://skin/backgrounds/media-overlay.jpg</texture>
			<visible>[Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)] + !Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels)</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="visualisation">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<visible>Player.HasAudio + !Skin.HasSetting(ShowBackgroundVis)</visible>
		</control>
		<control type="videowindow">
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<visible>Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo) + !Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels)</visible>
		</control>
		<control type="image">
			<left>0</left>
			<top>-40</top>
			<width>1280</width>
			<height>120</height>
			<texture flipy="true" border="1">HomeNowPlayingBack.png</texture>
			<visible>[Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)] | [Player.HasAudio + !Skin.HasSetting(ShowBackgroundVis)] | [!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))]</visible>
			<include>VisibleFadeEffect</include>
		</control>
	</include>
	<include name="ContentPanelBackgrounds">
		<control type="image">
			<left>0</left>
			<top>100r</top>
			<width>1280</width>
			<height>100</height>
			<texture></texture>
			<animation effect="slide" start="0,10" end="0,0" time="150" condition="Window.Previous(Home)">WindowOpen</animation>
			<animation effect="slide" start="0,0" end="0,10" time="150" condition="Window.Next(Home)">WindowClose</animation>
		</control>
		<control type="group">
			<include>Window_OpenClose_Animation</include>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(50)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>750</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>750</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(504) | Control.IsVisible(550) | Control.IsVisible(512)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>640</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>640</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<left>700</left>
					<top>60</top>
					<width>530</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>700</left>
					<top>652</top>
					<width>530</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(551) | Control.IsVisible(560) | Control.IsVisible(511) | Control.IsVisible(506) | Control.IsVisible(513)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>840</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>840</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<left>900</left>
					<top>60</top>
					<width>330</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>900</left>
					<top>652</top>
					<width>330</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(501)</visible>
				<control type="image">
					<left>50</left>
					<top>50</top>
					<width>1180</width>
					<height>610</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>1180</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(503)</visible>
				<control type="image">
					<left>50</left>
					<top>230</top>
					<width>640</width>
					<height>430</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>640</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<left>700</left>
					<top>230</top>
					<width>550</width>
					<height>430</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>700</left>
					<top>652</top>
					<width>550</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(51) | Control.IsVisible(500) | Control.IsVisible(505)</visible>
				<control type="image">
					<left>75</left>
					<top>60</top>
					<width>1130</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>75</left>
					<top>652</top>
					<width>1130</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(514)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>490</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>490</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<left>550</left>
					<top>60</top>
					<width>680</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>550</left>
					<top>652</top>
					<width>680</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
			<control type="group">
				<include>VisibleFadeEffect</include>
				<visible>Control.IsVisible(515)</visible>
				<control type="image">
					<left>50</left>
					<top>60</top>
					<width>400</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<top>652</top>
					<width>400</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
				<control type="image">
					<left>460</left>
					<top>60</top>
					<width>770</width>
					<height>600</height>
					<texture border="15">ContentPanel.png</texture>
				</control>
				<control type="image">
					<left>460</left>
					<top>652</top>
					<width>770</width>
					<height>64</height>
					<texture border="15">ContentPanelMirror.png</texture>
				</control>
			</control>
		</control>
	</include>
</includes>
