<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="CommonBackground">
		<control type="group">
			<animation effect="fade" time="600">WindowOpen</animation>
			<animation effect="fade" time="600">WindowClose</animation>
			<include condition="Window.IsActive(home)">HomeFanart</include>
			<include condition="!Window.IsActive(home)">GlobalFanart</include>
			<include condition="Window.IsActive(home)">LiveCasesBackground</include>
			<include condition="Window.IsActive(videos) + !IsEmpty(Skin.String(VideoGenreFanartPath))">VideoGenreFanart</include>
			<include condition="Window.IsActive(musiclibrary) + !IsEmpty(Skin.String(MusicGenreFanartPath))">MusicGenreFanart</include>
			<include condition="Window.IsActive(script-NextAired-TVGuide.xml) | Window.IsActive(script-NextAired-TVGuide2.xml)">TVShowNextAiredBackground</include>
			<include condition="Window.IsActive(weather)">WeatherBackground</include>
			<include condition="Window.IsActive(script-globalsearch-main.xml)">GlobalSearchBG</include>
			<control type="visualisation">
				<include>FullscreenDimensions</include>
				<visible>Player.HasAudio</visible>
				<visible>!Skin.HasSetting(Disable.ShowBackgroundVis)</visible>
				<visible>!Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels)</visible>
				<visible>IsEmpty(Window(Videos).Property(PlayingBackgroundMedia))</visible>
			</control>
			<control type="image">
				<include>FullscreenDimensions</include>
				<texture>black.png</texture>
				<visible>[Player.HasVideo + !Skin.HasSetting(Disable.ShowBackgroundVideo) + !Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels)] | Control.IsVisible(502)</visible>
				<animation effect="fade" start="100" end="70" time="300" condition="Control.IsVisible(502)">conditional</animation>
			</control>
			<control type="videowindow">
				<include>FullscreenDimensions</include>
				<visible>Player.HasVideo + !Skin.HasSetting(Disable.ShowBackgroundVideo) + !Window.IsVisible(TVChannels) + !Window.IsVisible(RadioChannels)</visible>
			</control>
		</control>
		<control type="group">
			<visible>![Window.IsActive(home) | Window.IsActive(startup)] | Window.IsActive(script-globalsearch-main.xml)</visible>
			<include>Window_OpenClose_Animation</include>
			<visible>![Control.IsVisible(59) | Control.IsVisible(501) | Control.IsVisible(502) | Control.IsVisible(503)]</visible>
			<include>ViewAnimation</include>
			<animation effect="slide" start="0,0" end="0,80" time="720" tween="cubic" easing="inout" condition="![[Control.isVisible(52) + !Window.IsActive(systeminfo)] | Control.IsVisible(53) | Control.IsVisible(54) | Control.IsVisible(55)  | Control.IsVisible(56) | Control.IsVisible(500) | Control.IsVisible(57)]">Conditional</animation>
			<animation effect="slide" start="0,0" end="0,-20" time="720" tween="cubic" easing="inout" condition="[Control.IsVisible(58) | Control.IsVisible(510)]">Conditional</animation>
			<control type="image">
				<left>0</left>
				<top>-40</top>
				<width>696</width>
				<height>914</height>
				<texture border="1">vignette.png</texture>
				<visible>![Control.IsVisible(59) | Control.IsVisible(56) | Control.IsVisible(57)]</visible>
				<animation effect="slide" tween="cubic" time="720" start="-696" end="0,0">VisibleChange</animation>
			</control>
			<control type="image">
				<left>696r</left>
				<top>-40</top>
				<width>696</width>
				<height>914</height>
				<texture flipx="true" border="1">vignette.png</texture>
				<animation effect="slide" tween="cubic" time="720" start="696" end="0,0">VisibleChange</animation>
				<visible>![Control.IsVisible(59) | Control.IsVisible(56) | Control.IsVisible(57)]</visible>
			</control>
			<control type="image">
				<left>0</left>
				<top>400</top>
				<width>FullScreenWidth</width>
				<height>680</height>
				<texture>floor.png</texture>
			</control>
		</control>
		<control type="image">
			<left>0</left>
			<top>0</top>
			<width>FullScreenWidth</width>
			<height>1130</height>
			<texture border="0,0,0,50">topbar.png</texture>
			<visible>Control.IsVisible(503)</visible>
		</control>
		<control type="image">
			<include>FullscreenDimensions</include>
			<texture border="1">logo_back.png</texture>
			<visible>Control.IsVisible(59)</visible>
			<include>ViewAnimation</include>
		</control>
	</include>
	<include name="VideoGenreFanart">
		<control type="image" id="4980">
			<description>Normal Default Background Image</description>
			<include>FullscreenDimensions</include>
			<aspectratio>scale</aspectratio>
			<fadetime>FanartCrossfadeTime</fadetime>
			<texture background="true" fallback="special://skin/backgrounds/fallback_movies.jpg">$INFO[Skin.String(VideoGenreFanartPath)]$INFO[ListItem.Label,,.jpg]</texture>
			<visible>Container.Content(genres)</visible>
		</control>
	</include>
	<include name="MusicGenreFanart">
		<control type="image">
			<description>Normal Default Background Image</description>
			<include>FullscreenDimensions</include>
			<aspectratio>scale</aspectratio>
			<fadetime>FanartCrossfadeTime</fadetime>
			<texture background="true" fallback="special://skin/backgrounds/fallback_music.jpg">$INFO[Skin.String(MusicGenreFanartPath)]$INFO[ListItem.Label,,.jpg]</texture>
			<visible>Container.Content(genres)</visible>
		</control>
	</include>
	<include name="GlobalFanart">
		<control type="list" id="9033">
			<include>HiddenList</include>
			<content>
				<include condition="Window.IsActive(pictures)">PicturesFallback</include>
				<include condition="Window.IsActive(musiclibrary) | Window.IsActive(musicplaylist)">MusicFallback</include>
				<include condition="Window.IsActive(MyPVRChannels.xml) | Window.IsActive(MyPVRGuide.xml) | Window.IsActive(MyPVRRecordings.xml) | Window.IsActive(MyPVRSearch.xml) | Window.IsActive(MyPVRTimers.xml)">LiveTVFallback</include>
				<include condition="Window.IsActive(programs)">AppsFallback</include>
				<include condition="Window.IsActive(SettingsCategory.xml) | Window.IsActive(systeminfo) | Window.IsActive(skinsettings) | Window.IsActive(settings) | Window.IsActive(addonbrowser) | Window.IsActive(filemanager) | Window.IsActive(eventlog)">SystemFallback</include>
				<include condition="Window.IsActive(videos) | Window.IsActive(videoplaylist)">VideoFallback</include>
				<item>
					<onclick>noop</onclick>
					<thumb>$INFO[Window(home).Property(fakelabel)]</thumb>
					<visible>no</visible>
				</item>
			</content>
		</control>
		<control type="multiimage">
			<description>Normal Default Background Image</description>
			<include>FullscreenDimensions</include>
			<imagepath fallback="special://skin/backgrounds/default_bg.jpg" background="true">$VAR[GlobalBackgroundVar]</imagepath>
		</control>
	</include>
	<include name="HomeFanart">
		<control type="multiimage">
			<description>Normal Default Background Image</description>
			<include>FullscreenDimensions</include>
			<imagepath fallback="special://skin/backgrounds/default_bg.jpg" background="true">$VAR[HomeBackgroundVar]</imagepath>
			<visible>![ControlGroup(9003).HasFocus() | ControlGroup(9004).HasFocus()]</visible>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="image">
			<description>Normal Default Background Image</description>
			<include>FullscreenDimensions</include>
			<fadetime>600</fadetime>
			<texture fallback="special://skin/backgrounds/default_bg.jpg" background="true">$VAR[HomeBackgroundVar]</texture>
			<visible>ControlGroup(9003).HasFocus() | ControlGroup(9004).HasFocus()</visible>
			<include>VisibleFadeEffect</include>
		</control>
	</include>
	<include name="TVShowNextAiredBackground">
		<control type="group">
			<visible>!IsEmpty(Window(home).Property(TVGuide.BackgroundFanart))</visible>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture background="true">$INFO[Container(200).ListItem.Property(Fanart)]</texture>
				<visible>Control.HasFocus(200)</visible>
				<fadetime>600</fadetime>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture background="true">$INFO[Container(201).ListItem.Property(Fanart)]</texture>
				<visible>Control.HasFocus(201)</visible>
				<fadetime>600</fadetime>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture background="true">$INFO[Container(202).ListItem.Property(Fanart)]</texture>
				<visible>Control.HasFocus(202)</visible>
				<fadetime>600</fadetime>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture background="true">$INFO[Container(203).ListItem.Property(Fanart)]</texture>
				<visible>Control.HasFocus(203)</visible>
				<fadetime>600</fadetime>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture background="true">$INFO[Container(204).ListItem.Property(Fanart)]</texture>
				<visible>Control.HasFocus(204)</visible>
				<fadetime>600</fadetime>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture background="true">$INFO[Container(205).ListItem.Property(Fanart)]</texture>
				<visible>Control.HasFocus(205)</visible>
				<fadetime>600</fadetime>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
			</control>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>1080</height>
				<aspectratio>scale</aspectratio>
				<texture background="true">$INFO[Container(206).ListItem.Property(Fanart)]</texture>
				<visible>Control.HasFocus(206)</visible>
				<fadetime>600</fadetime>
				<animation effect="fade" time="600">Visible</animation>
				<animation effect="fade" time="600">Hidden</animation>
			</control>
		</control>
	</include>
	<include name="WeatherBackground">
		<control type="multiimage">
			<left>0</left>
			<top>0</top>
			<width>FullScreenWidth</width>
			<height>1080</height>
			<imagepath background="true">$INFO[Skin.String(weatherfanart.path)]$INFO[Window(Weather).Property(Current.FanartCode)]$VAR[WeatherBackgroundTypeVar]</imagepath>
			<timeperimage>10000</timeperimage>
			<randomize>true</randomize>
			<fadetime>1000</fadetime>
			<include>VisibleFadeEffect</include>
			<visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
	</include>
	<include name="MusicFallback">
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(Music.Fallback)]</thumb>
		</item>
	</include>
	<include name="SystemFallback">
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(System.Fallback)]</thumb>
		</item>
	</include>
	<include name="LiveTVFallback">
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(LiveTV.Fallback)]</thumb>
		</item>
	</include>
	<include name="PicturesFallback">
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(Pictures.Fallback)]</thumb>
		</item>
	</include>
	<include name="AppsFallback">
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(Apps.Fallback)]</thumb>
		</item>
	</include>
	<include name="VideoFallback">
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(Movies.Fallback)]</thumb>
			<visible>Container.Content(movies)</visible>
		</item>
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(TVShows.Fallback)]</thumb>
			<visible>Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)</visible>
		</item>
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(MusicVideos.Fallback)]</thumb>
			<visible>Container.Content(musicvideos)</visible>
		</item>
		<item>
			<onclick>noop</onclick>
			<thumb>$INFO[Skin.String(Videos.Fallback)]</thumb>
			<visible>![Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes) | Container.Content(movies)]</visible>
		</item>
	</include>
	<include name="GlobalSearchBG">
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(111).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(111)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(121).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(121)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(131).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(131)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(141).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(141)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(151).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(151)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(161).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(161)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(171).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(171)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(181).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(181)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
		<control type="image">
			<texture background="true" fallback="backgrounds/default_bg.jpg">$INFO[Container(211).ListItem.Property(Fanart)]</texture>
			<aspectratio>scale</aspectratio>
			<fadetime>600</fadetime>
			<visible>Control.HasFocus(211)</visible>
			<animation effect="fade" time="600">Visible</animation>
			<animation effect="fade" time="600">Hidden</animation>
			<animation effect="fade" time="200">WindowClose</animation>
		</control>
	</include>
</includes>