<?xml version="1.0" encoding="UTF-8"?>
<includes>

	<include name="BackgroundWeather">
		<control type="multiimage">
			<aspectratio>scale</aspectratio>
			<include>FullscreenDimensions</include>
			<include>FanartFade</include>
			<imagepath background="true" diffuse="windows/bg/bg_effect_vignette.png">$INFO[Skin.String(WeatherFanart.path)]$INFO[Window(Weather).Property(Current.FanartCode)]$VAR[WeatherFanartType]</imagepath>
			<timeperimage>30000</timeperimage>
			<fadetime>500</fadetime>
			<randomize>true</randomize>
			<loop>yes</loop>
			<visible>![Skin.HasSetting(HideBGFanart) | [Window.IsActive(PlayerControls) + Player.HasMedia]]</visible>
			<visible>[Window.IsVisible(weather) | String.IsEqual(Container(20).ListItem.Property(background),BackgroundWeather)] + !String.IsEmpty(Skin.String(WeatherFanart.path))</visible>
			<include condition="[Skin.HasSetting(HomeBG-Animation) + Window.IsActive(Home)]">BackgroundAnimation</include>
		</control>
	</include>

	<include name="BackgroundContent">
		<control type="group">
			<animation effect="fade" start="0" end="100" time="1000">Visible</animation>
			<animation effect="fade" start="100" end="0" time="1000">Hidden</animation>
			<visible>![Player.HasVideo + !Skin.HasSetting(HideBGVideo)]</visible>
			<visible>![Player.HasAudio + [[Skin.HasSetting(Vis-Fanart) + !String.IsEmpty(Player.Art(fanart))] | Skin.HasSetting(Vis-MusicSlideshow) | Skin.HasSetting(Vis-ArtistSlideshow)]]</visible>
			<control type="image">
				<description>Default Background</description>
				<include>FullscreenDimensions</include>
				<colordiffuse>$VAR[BG.GlobalColor]</colordiffuse>
				<texture background="true" diffuse="windows/bg/bg_effect_vignette.png">special://skin/extras/backgrounds/default.jpg</texture>
			</control>

			<control type="group">
				<visible>![String.StartsWith(Container(20).ListItem.Property(widgetRatio),Fanart/) + !String.IsEqual(Container(20).ListItem.Property(widgetAutoHide),ON)]</visible>
				<visible>![Window.IsVisible(weather) + !String.IsEmpty(Skin.String(WeatherFanart.path))]</visible>
				<control type="image">
					<description>HomeMenu Single-Background</description>
					<aspectratio>scale</aspectratio>
					<include>FullscreenDimensions</include>
					<include>FanartFade</include>
					<texture background="true" diffuse="windows/bg/bg_effect_vignette.png">$INFO[Container(20).ListItem.Property(Background)]</texture>
					<fadetime>500</fadetime>
					<visible>![String.EndsWith(Container(20).ListItem.Property(Background),\) | String.EndsWith(Container(20).ListItem.Property(Background),/)]</visible>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
				</control>
				<control type="multiimage">
					<description>HomeMenu Multi-Background</description>
					<aspectratio>scale</aspectratio>
					<include>FullscreenDimensions</include>
					<include>FanartFade</include>
					<imagepath background="true" diffuse="windows/bg/bg_effect_vignette.png">$INFO[Container(20).ListItem.Property(Background)]</imagepath>
					<timeperimage>10000</timeperimage>
					<randomize>true</randomize>
					<loop>yes</loop>
					<fadetime>600</fadetime>
					<visible>String.EndsWith(Container(20).ListItem.Property(Background),\) | String.EndsWith(Container(20).ListItem.Property(Background),/)</visible>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>Playlists_Backgrounds</include>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>3DWallBG_Movies_Posters</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_Movies_Posters)</visible>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>3DWallBG_Movies_Logos</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_Movies_Logos)</visible>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>3DWallBG_Movies_Landscapes</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_Movies_Landscapes)</visible>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>3DWallBG_Movies_DiscArts</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_Movies_DiscArts)</visible>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>3DWallBG_TVShows_Posters</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_TVShows_Posters)</visible>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>3DWallBG_TVShows_Logos</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_TVShows_Logos)</visible>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>3DWallBG_TVShows_Landscapes</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_TVShows_Landscapes)</visible>
				</control>
				<control type="group">
					<include>FanartFade</include>
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>3DWallBG_Albums</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_Albums)</visible>
				</control>
				<control type="group">
					<include condition="Skin.HasSetting(HomeBG-Animation)">BackgroundAnimation</include>
					<include>FanartFade</include>
					<include>3DWallBG_Artists</include>
					<visible>String.IsEqual(Container(20).ListItem.Property(Background),3DWallBG_Artists)</visible>
				</control>
			</control>

		</control>

		<control type="videowindow">
			<include>FullscreenDimensions</include>
			<visible>Player.HasVideo + !Skin.HasSetting(HideBGVideo)</visible>
		</control>
		<control type="image">
			<include>FullscreenDimensions</include>
			<texture background="true">windows/bg/bg_vignette.png</texture>
			<visible>Player.HasVideo + !Skin.HasSetting(HideBGVideo)</visible>
		</control>
		
		<control type="visualisation">
			<include>FullscreenDimensions</include>
			<visible>[Window.IsActive(MusicVisualisation.xml) + Player.HasAudio] + Skin.HasSetting(Vis-Visualization)</visible>
		</control>

		<control type="image">
			<aspectratio>scale</aspectratio>
			<include>FullscreenDimensions</include>
			<fadetime>1000</fadetime>
			<texture background="true" diffuse="windows/bg/bg_effect_vignette.png">$VAR[Vis-Background]</texture>
			<animation effect="fade" start="0" end="100" time="1000">Visible</animation>
			<animation effect="fade" start="100" end="0" time="1000">Hidden</animation>
			<include condition="Skin.HasSetting(Vis-Animation)">BackgroundAnimation</include>
			<visible>Player.HasAudio</visible>
		</control>

		<!-- Scrolling Titles -->
		<control type="group">
			<animation effect="fade" time="400">Visible</animation>
			<animation effect="fade" time="400">Hidden</animation>
			<visible>!Window.IsActive(script-cu-lrclyrics-main.xml)</visible>
			<visible>Player.HasAudio + !Skin.HasSetting(HideOSDScrollingTitles)</visible>
			<control type="group" id="3333">
				<visible> Integer.IsGreater(System.Time(ss),41)</visible>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
				<control type="label">
					<description>Now Playing</description>
					<left>0</left>
					<top>900</top>
					<width>1350</width>
					<height>25</height>
					<label>$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]</label>
					<scroll>true</scroll>
					<font>FontSize_230</font>
					<pauseatend>0</pauseatend>
					<textcolor>77F1F1F1</textcolor>
					<angle>45</angle>
					<align>left</align>
				</control>
				<control type="label">
					<description>Now Playing</description>
					<left>170</left>
					<top>900</top>
					<width>1350</width>
					<label>$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist,,]$INFO[MusicPlayer.Artist,,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]</label>
					<scroll>true</scroll>
					<pauseatend>0</pauseatend>
					<font>FontSize_110</font>
					<textcolor>44DDDDDD</textcolor>
					<angle>45</angle>
					<align>left</align>
					<scrollspeed>100</scrollspeed>
				</control>
				<control type="label">
					<description>Now Playing</description>
					<left>320</left>
					<top>900</top>
					<width>1350</width>
					<label>$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]</label>
					<scroll>true</scroll>
					<pauseatend>0</pauseatend>
					<font>FontSize_48</font>
					<textcolor>99DDDDDD</textcolor>
					<angle>45</angle>
					<align>left</align>
					<scrollspeed>80</scrollspeed>
				</control>
				<control type="label">
					<description>Player Times</description>
					<left>70</left>
					<top>0</top>
					<width>900</width>
					<label>$INFO[MusicPlayer.Time(mm:ss)]</label>
					<align>left</align>
					<font>FontSize_230</font>
					<angle>-45</angle>
					<textcolor>33F1F1F1</textcolor>
				</control>
			</control>
			<control type="group" id="3334">
				<visible> Integer.IsGreater(System.Time(ss),0) + !Integer.IsGreater(System.Time(ss),21)</visible>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
				<control type="label">
					<description>Now Playing</description>
					<left>0</left>
					<top>500</top>
					<width>1350</width>
					<height>25</height>
					<label>$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]</label>
					<scroll>true</scroll>
					<font>FontSize_230</font>
					<pauseatend>0</pauseatend>
					<textcolor>77F1F1F1</textcolor>
					<align>left</align>
				</control>
				<control type="label">
					<description>Now Playing</description>
					<left>0</left>
					<top>600</top>
					<width>1350</width>
					<label>$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist,,]$INFO[MusicPlayer.Artist,,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]</label>
					<scroll>true</scroll>
					<pauseatend>0</pauseatend>
					<font>FontSize_110</font>
					<textcolor>44DDDDDD</textcolor>
					<align>left</align>
					<scrollspeed>100</scrollspeed>
				</control>
				<control type="label">
					<description>Now Playing</description>
					<left>0</left>
					<top>600</top>
					<width>1350</width>
					<label>$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]</label>
					<scroll>true</scroll>
					<pauseatend>0</pauseatend>
					<font>FontSize_48</font>
					<textcolor>99DDDDDD</textcolor>
					<align>left</align>
					<scrollspeed>80</scrollspeed>
				</control>
				<control type="label">
					<description>Player Times</description>
					<left>760</left>
					<top>80</top>
					<width>900</width>
					<label>$INFO[MusicPlayer.Time(mm:ss)]</label>
					<align>left</align>
					<font>FontSize_230</font>
					<textcolor>33F1F1F1</textcolor>
				</control>
			</control>
			<control type="group" id="3335">
				<visible> Integer.IsGreater(System.Time(ss),20) + !Integer.IsGreater(System.Time(ss),41)</visible>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
				<control type="label">
					<description>Now Playing</description>
					<left>400</left>
					<top>900</top>
					<width>1050</width>
					<height>25</height>
					<label>$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]$INFO[Player.Title,  ,]</label>
					<scroll>true</scroll>
					<font>FontSize_230</font>
					<pauseatend>0</pauseatend>
					<angle>90</angle>
					<textcolor>77F1F1F1</textcolor>
				</control>
				<control type="label">
					<description>Now Playing</description>
					<left>580</left>
					<top>900</top>
					<width>1350</width>
					<label>$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist,,]$INFO[MusicPlayer.Artist,,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]$INFO[MusicPlayer.Artist, ,]</label>
					<scroll>true</scroll>
					<pauseatend>0</pauseatend>
					<font>FontSize_110</font>
					<textcolor>44DDDDDD</textcolor>
					<align>left</align>
					<angle>90</angle>
					<scrollspeed>100</scrollspeed>
				</control>
				<control type="label">
					<description>Now Playing</description>
					<left>580</left>
					<top>900</top>
					<width>1350</width>
					<label>$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]$INFO[MusicPlayer.Album, ,]</label>
					<scroll>true</scroll>
					<pauseatend>0</pauseatend>
					<font>FontSize_48</font>
					<textcolor>99DDDDDD</textcolor>
					<align>left</align>
					<angle>90</angle>
					<scrollspeed>80</scrollspeed>
				</control>
				<control type="label">
					<description>Player Times</description>
					<left>-40</left>
					<top>280</top>
					<width>900</width>
					<label>$INFO[MusicPlayer.Time(mm:ss)]</label>
					<align>left</align>
					<font>FontSize_230</font>
					<textcolor>33F1F1F1</textcolor>
				</control>
			</control>
		</control>

		<!-- Fade Colors -->
		<control type="multiimage">
			<include>FullscreenDimensions</include>
			<randomize>true</randomize>
			<timeperimage>12000</timeperimage>
			<fadetime>4000</fadetime>
			<pauseatend>0</pauseatend>
			<loop>true</loop>
			<imagepath background="true">special://skin/extras/backgrounds/music_colors</imagepath>
			<colordiffuse>BBFFFFFF</colordiffuse>
			<animation effect="fade" start="0" end="100" time="550" delay="0" tween="sine" easing="out">Visible</animation>
			<animation effect="fade" start="100" end="0" time="550" delay="200" tween="sine" easing="out">Hidden</animation>
			<visible>Player.HasAudio + !Skin.HasSetting(HideOSDDiffuseColors)</visible>
		</control>

		<include condition="!String.IsEmpty(Skin.String(WeatherFanart.path))">BackgroundWeather</include>
	</include>

	<include name="GlobalFanart">
		<control type="image">
			<description>Global Fanart</description>
			<aspectratio>scale</aspectratio>
			<include>FullscreenDimensions</include>
			<texture background="true" diffuse="windows/bg/bg_effect_vignette.png">$VAR[GlobalFanartVar]</texture>
			<include>FanartFade</include>
			<fadetime>FanartCrossfadeTime</fadetime>
			<visible>!Container(3000).IsUpdating</visible>
			<visible>![[Skin.HasSetting(HideBGFanart) + !Control.IsVisible(65)] | [Window.IsActive(PlayerControls) + Player.HasMedia]]</visible>
			<visible>![[Control.IsVisible(55) | $EXP[CustumHubsCondition] | [Control.IsVisible(59) + Window.IsVisible(MyVideoNav.xml)]] + ![Window.IsActive(movieinformation) | Window.IsActive(musicinformation) | Window.IsActive(addoninformation) | Window.IsActive(1130) | [String.IsEqual(Window(Home).Property(ShowTextViewer),1) + Window.IsActive(TextViewer)] | Window.IsActive(favourites) | Window.IsActive(playercontrols)] + String.IsEmpty(Window(Home).Property(infodialogs.active))] + !Control.IsVisible(580)</visible>
			<include condition="[Skin.HasSetting(HomeBG-Animation) + Window.IsActive(Home)]">BackgroundAnimation</include>
		</control>
		<control type="image">
			<include>FullscreenDimensions</include>
			<texture background="true">windows/bg/black.png</texture>
			<include>FanartFade</include>
			<visible>!Skin.HasSetting(HideBGFanart)</visible>
			<visible>[[[$EXP[CustumHubsCondition] + !String.IsEmpty(ListItem.Art(fanart))] | [Control.IsVisible(59) + Window.IsVisible(MyVideoNav.xml)]] + ![Window.IsActive(playercontrols) | Window.IsActive(movieinformation) | Window.IsActive(musicinformation) | Window.IsActive(addoninformation) | Window.IsActive(1130) | [String.IsEqual(Window(Home).Property(ShowTextViewer),1) + Window.IsActive(TextViewer)] | Window.IsActive(script-script.extendedinfo-DialogInfo.xml) | Window.IsActive(script-script.extendedinfo-DialogVideoInfo.xml) | Window.IsActive(script-script.extendedinfo-VideoList.xml) | Window.IsActive(script-script.extendedinfo-YoutubeList.xml)] + String.IsEmpty(Window(Home).Property(infodialogs.active))]</visible>
			<visible>!ListItem.IsParentFolder</visible>
		</control>
		<control type="image">
			<description>Netflix Fanart</description>
			<left>380</left>
			<top>0</top>
			<width>900</width>
			<height>510</height>
			<aspectratio>scale</aspectratio>
			<texture background="true" diffuse="views/netflix/fanart_diffuse.png">$INFO[ListItem.Art(fanart)]</texture>
			<include>FanartFade</include>
			<fadetime>FanartCrossfadeTime</fadetime>
			<visible>!Skin.HasSetting(HideBGFanart)</visible>
			<visible>[[Control.IsVisible(59) + Window.IsVisible(MyVideoNav.xml)] | $EXP[CustumHubsCondition] + ![Window.IsActive(playercontrols) | Window.IsActive(movieinformation) | Window.IsActive(musicinformation) | Window.IsActive(addoninformation) | Window.IsActive(1130) | [String.IsEqual(Window(Home).Property(ShowTextViewer),1) + Window.IsActive(TextViewer)] | Window.IsActive(script-script.extendedinfo-DialogInfo.xml) | Window.IsActive(script-script.extendedinfo-DialogVideoInfo.xml) | Window.IsActive(script-script.extendedinfo-VideoList.xml) | Window.IsActive(script-script.extendedinfo-YoutubeList.xml)] + String.IsEmpty(Window(Home).Property(infodialogs.active))]</visible>
		</control>
		<control type="image">
			<description>TVGuide Fanart</description>
			<aspectratio>scale</aspectratio>
			<include>FullscreenDimensions</include>
			<include>FanartFade</include>
			<fadetime>FanartCrossfadeTime</fadetime>
			<texture background="true" diffuse="windows/bg/bg_effect_vignette.png">$INFO[Container.ListItem.Property(Fanart)]</texture>
			<visible>![Skin.HasSetting(HideBGTVGuideFanart) | Skin.HasSetting(HideBGFanart)]</visible>
		</control>
	</include>

	<include name="QuickNavFanart">
		<control type="image">
			<description>QuickNav Fanart</description>
			<aspectratio>scale</aspectratio>
			<include>FullscreenDimensions</include>
			<texture background="true" diffuse="windows/bg/bg_effect_vignette.png">$VAR[QuickNavWidgetsFanart]</texture>
			<fadetime>FanartCrossfadeTime</fadetime>
			<animation effect="fade" time="300" tween="sine" easing="out" reversible="false">WindowOpen</animation>
			<animation effect="fade" time="300" tween="sine" easing="in" reversible="false">WindowClose</animation>
			<visible>!Skin.HasSetting(HideBGFanart)</visible>
		</control>
	</include>

	<include name="VideoWallFanartVideos">
		<itemlayout height="720" width="1280">
			<control type="image">
				<aspectratio>scale</aspectratio>
				<include>FullscreenDimensions</include>
				<texture background="true" diffuse="windows/bg/bg_effect_vignette.png">$INFO[ListItem.Art(fanart)]</texture>
			</control>
		</itemlayout>
		<focusedlayout height="720" width="1280">
			<control type="image">
				<aspectratio>scale</aspectratio>
				<include>FullscreenDimensions</include>
				<texture background="true" diffuse="windows/bg/bg_effect_vignette.png">$INFO[ListItem.Art(fanart)]</texture>
			</control>
		</focusedlayout>
	</include>

	<include name="BackgroundDarkness">
		<control type="image">
			<include>FullscreenDimensions</include>
			<texture background="true">windows/bg/bg_overlay.png</texture>
			<include>FanartFade</include>
			<visible>![Window.IsActive(MyPVRChannels.xml) | Window.IsActive(MyPVRRecordings.xml) | Window.IsActive(MyPVRGuide.xml) | Window.IsActive(MyPVRTimers.xml) | Window.IsActive(MyPVRSearch.xml) | [Window.IsActive(PlayerControls) + Player.HasMedia]]</visible>
			<visible>[Control.IsVisible(50) + !Window.IsVisible(script-globalsearch.xml)]
				| Control.IsVisible(51)
				| Control.IsVisible(52)
				| Control.IsVisible(53)
				| Control.IsVisible(54)
				| Control.IsVisible(55)
				| Control.IsVisible(56)
				| Control.IsVisible(57)
				| Control.IsVisible(58)
				| Control.IsVisible(58)
				| Control.IsVisible(560)
				| Control.IsVisible(561)
				| Control.IsVisible(562)
				| Control.IsVisible(563)
				| Control.IsVisible(64)
				| [[Control.IsVisible(25) | Control.IsVisible(65) | Control.IsVisible(66) | Control.IsVisible(660) | Control.IsVisible(661) | Control.IsVisible(580) | Control.IsVisible(3000)] + [Window.IsActive(DialogVideoInfo.xml) | Window.IsActive(DialogMusicInfo.xml) | Window.IsActive(DialogAddonInfo.xml)]]
				| [[Control.IsVisible(59) | $EXP[CustumHubsCondition]] + [Skin.HasSetting(HideBGFanart) | Window.IsActive(DialogVideoInfo.xml) | Window.IsActive(DialogMusicInfo.xml) | Window.IsActive(DialogAddonInfo.xml)]]
				| Window.IsActive(Custom_Trailers.xml)
				| Window.IsActive(Custom_HubAddons.xml)
				| Window.IsActive(Custom_HubLiveTV.xml)
				| [Window.IsActive(Custom_TMDBInfo.xml) + Window.IsVisible(DialogMusicInfo.xml)]
				| Window.IsActive(AddonSettings)
				| Window.IsActive(TextViewer)
				| Window.IsActive(MusicPlaylistEditor)
				| [Window.IsActive(script-globalsearch.xml) + [Window.IsActive(DialogVideoInfo.xml) | Window.IsActive(DialogMusicInfo.xml) | Window.IsActive(DialogAddonInfo.xml)]]
				| [Window.IsActive(script-NextAired-TVGuide.xml) + ![Skin.HasSetting(HideBGFanart) | Skin.HasSetting(HideBGTVGuideFanart)]]
				| [Window.IsActive(script-NextAired-TVGuide2.xml) + ![Skin.HasSetting(HideBGFanart) | Skin.HasSetting(HideBGTVGuideFanart)]]
				| !String.IsEmpty(Window(Home).Property(infodialogs.active))
			</visible>
		</control>
		<include>InfoDialogsOverlay</include>
	</include>

	<include name="InfoDialogsOverlay">
		<control type="image">
			<include>FullscreenDimensions</include>
			<texture background="true">windows/bg/bg_overlay_two.png</texture>
			<include>FanartFade</include>
			<visible>Window.IsActive(DialogVideoInfo.xml) | Window.IsActive(DialogMusicInfo.xml) | Window.IsActive(DialogAddonInfo.xml) | Window.IsActive(DialogPVRInfo.xml)</visible>
		</control>
	</include>


	<!-- ==================================== -->
  <!-- ******* Background Playlists ******* -->
	<!-- ==================================== -->
	<include name="Playlists_Backgrounds">
		<control type="multiimage">
			<aspectratio>scale</aspectratio>
			<include>FullscreenDimensions</include>
			<include>FanartFade</include>
			<imagepath background="true" diffuse="windows/bg/bg_effect_vignette.png">$INFO[Container(45).ListItem.Art(fanart)]</imagepath>
			<fadetime>600</fadetime>
			<visible>String.IsEqual(Container(20).ListItem.Property(Background),playlistBackground)</visible>
		</control>
		<control type="wraplist" id="45">
			<autoscroll time="10000">String.IsEqual(Container(20).ListItem.Property(Background),playlistBackground)</autoscroll>
			<include>HiddenListContainer</include>
			<content browse="never" sortby="random">$INFO[Container(20).ListItem.Property(backgroundPlaylist)]</content>
		</control>
	</include>


	<!-- ================================================== -->
  <!-- ******* Background 3DWall - Movies/Posters ******* -->
	<!-- ================================================== -->
	<include name="3DWallBG_Movies_Posters">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="20" time="0" condition="true">Conditional</animation>
<!--  <animation type="Conditional" condition="true" loop="true" reversible="false">
        <effect type="rotatex" center="720,12" start="0" end="23" time="5000"/>
        <effect type="rotatex" center="720,12" start="0" end="-23" time="5000" delay="25000"/>
      </animation> -->
			<left>-320</left>
			<top>-449</top>
			<width>1920</width>
	    <height>1175</height>
			<itemlayout width="160" height="235">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>160</width>
    			<height>235</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_poster.png" fallback="thumbs/fallback_poster.png">$INFO[ListItem.Art(poster)]</texture>
    		</control>
			</itemlayout>
      <focusedlayout width="160" height="235"/>
			<content>special://skin/extras/playlists/Random_Movies.xsp</content>
	  </control>
	</include>


	<!-- ================================================ -->
  <!-- ******* Background 3DWall - Movies/Logos ******* -->
	<!-- ================================================ -->
	<include name="3DWallBG_Movies_Logos">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="19" time="0" condition="true">Conditional</animation>
			<left>-320</left>
			<top>-195</top>
			<width>1920</width>
	    <height>920</height>
			<itemlayout width="320" height="184">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>320</width>
    			<height>184</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_landscape.png">thumbs/thumb_back.png</texture>
    		</control>
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>320</width>
    			<height>184</height>
    			<aspectratio scalediffuse="false">keep</aspectratio>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_landscape.png" fallback="thumbs/fallback_fanart_tp.png">$INFO[ListItem.Art(clearlogo)]</texture>
  		    <bordersize>20</bordersize>
    		</control>
			</itemlayout>
      <focusedlayout width="320" height="184"/>
			<content>special://skin/extras/playlists/Random_Movies.xsp</content>
	  </control>
	</include>

	<!-- ===================================================== -->
  <!-- ******* Background 3DWall - Movies/Landscape ******* -->
	<!-- ===================================================== -->
	<include name="3DWallBG_Movies_Landscapes">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="19" time="0" condition="true">Conditional</animation>
			<left>-320</left>
			<top>-195</top>
			<width>1920</width>
	    <height>920</height>
			<itemlayout width="320" height="184">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>320</width>
    			<height>184</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_landscape.png">thumbs/thumb_back.png</texture>
    		</control>
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>320</width>
    			<height>184</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_landscape.png" fallback="thumbs/fallback_fanart_tp.png">$INFO[ListItem.Art(landscape)]</texture>
    		</control>
			</itemlayout>
      <focusedlayout width="320" height="184"/>
			<content>special://skin/extras/playlists/Random_Movies.xsp</content>
	  </control>
	</include>

	<!-- ================================================== -->
  <!-- ******* Background 3DWall - Movies/DiscArt ******* -->
	<!-- ================================================== -->
	<include name="3DWallBG_Movies_DiscArts">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="20" time="0" condition="true">Conditional</animation>
			<left>-243</left>
			<top>-449</top>
			<width>1764</width>
	    <height>1775</height>
			<itemlayout width="252" height="235">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>252</width>
    			<height>235</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_square.png">thumbs/thumb_back.png</texture>
    		</control>
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>252</width>
    			<height>235</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_square.png" fallback="thumbs/fallback_square_big_tp.png">$INFO[ListItem.Art(discart)]</texture>
  		    <bordersize>20</bordersize>
    		</control>
			</itemlayout>
      <focusedlayout width="252" height="235"/>
			<content>special://skin/extras/playlists/Random_Movies.xsp</content>
	  </control>
	</include>


	<!-- =================================================== -->
  <!-- ******* Background 3DWall - TVShows/Posters ******* -->
	<!-- =================================================== -->
	<include name="3DWallBG_TVShows_Posters">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="20" time="0" condition="true">Conditional</animation>
			<left>-320</left>
			<top>-449</top>
			<width>1920</width>
	    <height>1175</height>
			<itemlayout width="160" height="235">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>160</width>
    			<height>235</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_poster.png" fallback="thumbs/fallback_poster.png">$INFO[ListItem.Art(poster)]</texture>
    		</control>
			</itemlayout>
      <focusedlayout width="160" height="235"/>
			<content>special://skin/extras/playlists/Random_TVShows.xsp</content>
	  </control>
	</include>


	<!-- ================================================= -->
  <!-- ******* Background 3DWall - TVShows/Logos ******* -->
	<!-- ================================================= -->
	<include name="3DWallBG_TVShows_Logos">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="19" time="0" condition="true">Conditional</animation>
			<left>-320</left>
			<top>-195</top>
			<width>1920</width>
	    <height>920</height>
			<itemlayout width="320" height="184">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>320</width>
    			<height>184</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_landscape.png">thumbs/thumb_back.png</texture>
    		</control>
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>320</width>
    			<height>184</height>
    			<aspectratio scalediffuse="false">keep</aspectratio>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_landscape.png" fallback="thumbs/fallback_fanart_tp.png">$INFO[ListItem.Art(clearlogo)]</texture>
  		    <bordersize>20</bordersize>
    		</control>
			</itemlayout>
      <focusedlayout width="320" height="184"/>
			<content>special://skin/extras/playlists/Random_TVShows.xsp</content>
	  </control>
	</include>


	<!-- ===================================================== -->
  <!-- ******* Background 3DWall - TVShows/Landscape ******* -->
	<!-- ===================================================== -->
	<include name="3DWallBG_TVShows_Landscapes">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="19" time="0" condition="true">Conditional</animation>
			<left>-320</left>
			<top>-195</top>
			<width>1920</width>
	    <height>920</height>
			<itemlayout width="320" height="184">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>320</width>
    			<height>184</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_landscape.png">thumbs/thumb_back.png</texture>
    		</control>
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>320</width>
    			<height>184</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_landscape.png" fallback="thumbs/fallback_fanart_tp.png">$INFO[ListItem.Art(landscape)]</texture>
    		</control>
			</itemlayout>
      <focusedlayout width="320" height="184"/>
			<content>special://skin/extras/playlists/Random_TVShows.xsp</content>
	  </control>
	</include>


	<!-- ========================================== -->
  <!-- ******* Background 3DWall - Albums ******* -->
	<!-- ========================================== -->
	<include name="3DWallBG_Albums">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="20" time="0" condition="true">Conditional</animation>
			<left>-243</left>
			<top>-449</top>
			<width>1764</width>
	    <height>1775</height>
			<itemlayout width="252" height="235">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>252</width>
    			<height>235</height>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_square.png">$INFO[ListItem.Icon]</texture>
    		</control>
			</itemlayout>
      <focusedlayout width="252" height="235"/>
			<content>special://skin/extras/playlists/Random_Albums.xsp</content>
	  </control>
	</include>


	<!-- =========================================== -->
  <!-- ******* Background 3DWall - Artists ******* -->
	<!-- =========================================== -->
	<include name="3DWallBG_Artists">
		<control type="panel">
			<animation effect="rotatex" center="720,12" start="0" end="20" time="0" condition="true">Conditional</animation>
			<left>-243</left>
			<top>-449</top>
			<width>1764</width>
	    <height>1775</height>
			<itemlayout width="252" height="235">
    		<control type="image">
    			<left>0</left>
    			<top>0</top>
    			<width>252</width>
    			<height>235</height>
    			<aspectratio scalediffuse="false">scale</aspectratio>
    			<texture background="true" diffuse="views/wall/3dBG_diffuse_square.png">$INFO[ListItem.Icon]</texture>
    		</control>
			</itemlayout>
      <focusedlayout width="252" height="235"/>
			<content>special://skin/extras/playlists/Random_Artists.xsp</content>
	  </control>
	</include>

</includes>