<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>-</defaultcontrol>
	<allowoverlay>false</allowoverlay>
	<onload condition="System.HasAddon(script.artistslideshow)">RunScript(script.artistslideshow, daemon=True)</onload>
	<controls>
		<control type="visualisation" id="2">
			<!-- FIX ME Music Visualization needs to have an id of 2 in this window to be able to lock or change preset -->
			<description>visualisation</description>
			<include>FullscreenDimensions</include>
			<visible>Player.HasAudio + ![StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum)]</visible>
		</control>
		<control type="group">
			<visible>!StringCompare(Skin.String(Viz.Background),1)</visible>
			<visible>[Visualisation.Enabled + !Skin.HasSetting(HideVisualizationFanart)] | !Visualisation.Enabled</visible>
			<include>SettingsFadeEffect</include>
			<control type="multiimage" id="90300">
				<description>Fanart image</description>
				<include>FullscreenDimensions</include>
				<fadetime>2000</fadetime>
				<imagepath background="true">$VAR[VizBackgroundVar]</imagepath>
				<animation effect="fade" start="100" end="20" time="0" condition="![StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum) | IsEmpty(Visualisation.Name)] + !Skin.HasSetting(HideVisualizationFanart)">Conditional</animation>
			</control>
		</control>
		<control type="group">
			<visible>StringCompare(Skin.String(Viz.Background),1)</visible>
			<visible>[Visualisation.Enabled + !Skin.HasSetting(HideVisualizationFanart)] | !Visualisation.Enabled</visible>
			<include>SettingsFadeEffect</include>
			<animation effect="fade" start="100" end="20" time="0" condition="![StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum) | IsEmpty(Visualisation.Name)] + !Skin.HasSetting(HideVisualizationFanart)">Conditional</animation>
			<control type="panel" id="9032">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>1080</height>
				<viewtype label="$LOCALIZE[536]">icons</viewtype>
				<onleft>9032</onleft>
				<onright>9032</onright>
				<onup>9032</onup>
				<ondown>9032</ondown>
				<pagecontrol>60</pagecontrol>
				<scrolltime tween="cubic" easing="inout">600</scrolltime>
				<orientation>vertical</orientation>
				<preloaditems>2</preloaditems>
				<itemlayout height="192" width="192">
					<control type="image">
						<left>0</left>
						<top>0</top>
						<width>192</width>
						<height>192</height>
						<aspectratio>scale</aspectratio>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<fadetime>400</fadetime>
						<bordertexture border="1,1,2,1">thumbs/panel_border3.png</bordertexture>
						<bordersize>1,1,2,1</bordersize>
					</control>
				</itemlayout>
				<focusedlayout height="192" width="192">
					<control type="image">
						<left>0</left>
						<top>0</top>
						<width>192</width>
						<height>192</height>
						<aspectratio>scale</aspectratio>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<fadetime>400</fadetime>
						<bordertexture border="1,1,2,1">thumbs/panel_border3.png</bordertexture>
						<bordersize>1,1,2,1</bordersize>
					</control>
				</focusedlayout>
				<content>special://skin/extras/playlists/albumwall.xsp</content>
			</control>
		</control>
		<control type="visualisation" id="2">
			<!-- FIX ME Music Visualization needs to have an id of 2 in this window to be able to lock or change preset -->
			<description>visualisation</description>
			<include>FullscreenDimensions</include>
			<visible>Player.HasAudio + [StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum)]</visible>
		</control>
		<!-- media infos -->
		<control type="fadelabel">
			<width>FullScreenWidth</width>
			<scroll>true</scroll>
			<scrollout>true</scrollout>
			<font>BigAssFont</font>
			<pauseatend>200</pauseatend>
			<aligny>center</aligny>
			<label>                      $INFO[Player.Title]</label>
			<label>                      $INFO[MusicPlayer.Artist]</label>
			<label>                      $INFO[MusicPlayer.Album]</label>
			<textcolor>1FFFFFFF</textcolor>
			<textoffsetx>20</textoffsetx>
			<resetonlabelchange>true</resetonlabelchange>
			<visible>Skin.HasSetting(BigAssLabel)</visible>
		</control>
		<control type="fadelabel">
			<height>1920</height>
			<scroll>true</scroll>
			<scrollout>true</scrollout>
			<font>BigAssFont</font>
			<pauseatend>200</pauseatend>
			<aligny>center</aligny>
			<label>               $INFO[MusicPlayer.Artist]</label>
			<label>               $INFO[MusicPlayer.Album]</label>
			<label>               $INFO[Player.Title]</label>
			<textcolor>1FFFFFFF</textcolor>
			<textoffsetx>20</textoffsetx>
			<resetonlabelchange>true</resetonlabelchange>
			<visible>Skin.HasSetting(BigAssLabel)</visible>
			<animation effect="rotate" tween="cubic" time="720" center="auto" end="90" condition="true">Conditonal</animation>
		</control>
		<control type="group">
			<left>320</left>
			<top>540</top>
			<visible>[Player.ShowInfo | Window.IsActive(MusicOSD)] + ![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList)]</visible>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>
			<control type="image">
				<top>-150</top>
				<width>FullScreenWidth</width>
				<height>700</height>
				<texture border="1">nowplaying_shadow.png</texture>
			</control>
			<control type="image">
				<left>860</left>
				<top>102</top>
				<width>400</width>
				<height>45</height>
				<colordiffuse>FFFFD700</colordiffuse>
				<aspectratio>keep</aspectratio>
				<texture fallback="rating0.png">$INFO[Player.StarRating]</texture>
			</control>
			<control type="grouplist">
				<left>0</left>
				<top>40</top>
				<width>1180</width>
				<height>460</height>
				<itemgap>30</itemgap>
				<!--<usecontrolcoords>true</usecontrolcoords>-->
				<control type="label">
					<left>1140</left>
					<width>1180</width>
					<height>40</height>
					<font>font48_title</font>
					<textoffsetx>15</textoffsetx>
					<align>right</align>
					<textcolor>grey</textcolor>
					<shadowcolor>black</shadowcolor>
					<label>$INFO[MusicPlayer.TrackNumber,[COLOR labelheader],. [/COLOR]]$INFO[Player.Title]</label>
				</control>
				<control type="label">
					<height>22</height>
					<label>-</label>
				</control>
				<control type="label">
					<left>1140</left>
					<width>1180</width>
					<height>40</height>
					<font>font16</font>
					<align>right</align>
					<textoffsetx>15</textoffsetx>
					<textcolor>grey</textcolor>
					<shadowcolor>black</shadowcolor>
					<label>$INFO[MusicPlayer.Artist]</label>
				</control>
				<control type="label">
					<left>1140</left>
					<width>1180</width>
					<height>40</height>
					<font>font16</font>
					<textoffsetx>15</textoffsetx>
					<align>right</align>
					<textcolor>grey</textcolor>
					<shadowcolor>black</shadowcolor>
					<label>$INFO[MusicPlayer.Album]$INFO[musicplayer.discnumber, - $LOCALIZE[427]:]$INFO[MusicPlayer.Year, [COLOR labelheader][,][/COLOR]]</label>
				</control>
				<control type="label">
					<left>1140</left>
					<width>1180</width>
					<height>40</height>
					<font>font16</font>
					<textoffsetx>15</textoffsetx>
					<align>right</align>
					<textcolor>grey</textcolor>
					<shadowcolor>black</shadowcolor>
					<label>$INFO[MusicPlayer.offset(1).TrackNumber,[COLOR=labelheader]$LOCALIZE[19031]:[/COLOR] ,. ]$INFO[MusicPlayer.offset(1).Artist,, - ]$INFO[MusicPlayer.offset(1).Title]</label>
				</control>
				<control type="label">
					<height>2</height>
					<label>-</label>
				</control>
				<control type="label">
					<description>Time Label</description>
					<left>1140</left>
					<height>50</height>
					<width>1180</width>
					<align>right</align>
					<label>$INFO[Player.Time]$INFO[Player.Duration,[COLOR=labelheader] / [/COLOR]]</label>
					<font>font48</font>
					<textcolor>grey</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
			</control>
			<control type="group">
				<left>1180</left>
				<top>0</top>
				<control type="image">
					<left>200</left>
					<width>500</width>
					<height>500</height>
					<aligny>top</aligny>
					<aspectratio align="left">keep</aspectratio>
					<fadetime>300</fadetime>
					<animation effect="rotate" end="-360" center="auto" time="4800" loop="true" reversible="false" condition="!Player.Paused">Conditional</animation>
					<texture background="true" fallback="special://skin/extras/cdart/default.png" diffuse="thumbs/cdart_mask.png">$INFO[Player.FolderPath]cdart.png</texture>
					<bordersize>30</bordersize>
				</control>
				<control type="image">
					<description>Cover image</description>
					<width>500</width>
					<height>500</height>
					<aspectratio align="right">keep</aspectratio>
					<texture diffuse="thumbs/cdcover_mask2.png" fallback="DefaultAlbumCover.png">$INFO[Player.Art(thumb)]</texture>
					<bordertexture border="28">thumbs/cd_shadow2.png</bordertexture>
					<bordersize>28</bordersize>
				</control>
			</control>
			<!--<control type="image">
				<left>1290</left>
				<top>45</top>
				<width>609</width>
				<height>360</height>
				<aspectratio>stretch</aspectratio>
				<texture border="20">thumbs/thumb_shadow.png</texture>
			</control>
			<control type="multiimage">
				<description>Fanart image</description>
				<left>1310</left>
				<top>65</top>
				<width>570</width>
				<height>320</height>
				<aspectratio align="left">keep</aspectratio>
				<imagepath background="true" fallback="special://skin/backgrounds/fallback_music.jpg">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
				<texture fallback="special://skin/backgrounds/fallback_music.jpg">$INFO[Player.Art(fanart)]</texture>
				<bordertexture border="20">thumbs/thumb_shadow.png</bordertexture>
				<bordersize>20</bordersize>
			</control>-->
		</control>
		<!-- RSS Feed: similar artists-->
		<control type="group">
			<animation effect="slide" end="1870,0" time="240">WindowClose</animation>
			<animation effect="slide" start="1870" end="0" time="240">VisibleChange</animation>
			<animation effect="slide" start="1870,0" end="0,0" delay="800" time="480" condition="Window.Previous(startup)">WindowOpen</animation>
			<visible>System.HasAddon(script.artistslideshow) + [!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.ArtistBiography)) | !IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumName)) | !IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.SimilarName))]</visible>
			<visible>[Player.ShowInfo + Skin.HasSetting(Enable.VizInfo)] | Skin.HasSetting(Enable.VizPersistent)</visible>
			<top>993</top>
			<control type="group">
				<control type="image">
					<left>140</left>
					<width>2420</width>
					<height>87</height>
					<texture flipy="true">submenu_bar.png</texture>
				</control>
				<control type="image">
					<left>50</left>
					<width>90</width>
					<height>87</height>
					<texture flipy="true" border="78,0,0,0">submenu_end.png</texture>
				</control>
			</control>
			<control type="group">
				<control type="label">
					<left>2520</left>
					<top>44</top>
					<width>60</width>
					<height>41</height>
					<label></label>
					<font>IconSmall</font>
					<textcolor>themecolor</textcolor>
				</control>
				<control type="fadelabel">
					<description>RSS feed</description>
					<left>140</left>
					<top>44</top>
					<height>30</height>
					<width>2370</width>
					<font>font13</font>
					<textcolor>grey</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<label>$INFO[Window(Visualisation).Property(ArtistSlideshow.ArtistBiography),[COLOR labelheader]$LOCALIZE[21887]:[/COLOR] ]</label>
					<label>$INFO[MusicPlayer.Artist,[COLOR labelheader]$LOCALIZE[31105] ,:[/COLOR] ]$INFO[Window(Visualisation).Property(ArtistSlideshow.1.AlbumName)]$INFO[Window(Visualisation).Property(ArtistSlideshow.2.AlbumName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.3.AlbumName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.4.AlbumName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.5.AlbumName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.6.AlbumName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.7.AlbumName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.8.AlbumName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.9.AlbumName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.10.AlbumName),[COLOR labelheader]  •  [/COLOR]]</label>
					<label>$INFO[Window(Visualisation).Property(ArtistSlideshow.1.SimilarName),[COLOR labelheader]$LOCALIZE[31104]:[/COLOR] ]$INFO[Window(Visualisation).Property(ArtistSlideshow.2.SimilarName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.3.SimilarName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.4.SimilarName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.5.SimilarName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.6.SimilarName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.7.SimilarName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.8.SimilarName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.9.SimilarName),[COLOR labelheader]  •  [/COLOR]]$INFO[Window(Visualisation).Property(ArtistSlideshow.10.SimilarName),[COLOR labelheader]  •  [/COLOR]]</label>
				</control>
			</control>
		</control>
		<!-- codec & viz infos -->
		<control type="group" id="0">
			<animation effect="slide" start="0,-340" end="0,0" time="200">VisibleChange</animation>
			<animation effect="fade" time="200">VisibleChange</animation>
			<visible>Player.ShowCodec + ![Window.IsVisible(script-XBMC_Lyrics-main.xml) | Window.IsVisible(VisualisationSettings) | Window.IsVisible(VisualisationPresetList)]</visible>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>340</height>
				<texture border="1,1,1,40">topbar.png</texture>
			</control>
			<control type="grouplist">
				<left>30</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>300</height>
				<align>center</align>
				<aligny>center</aligny>
				<itemgap>10</itemgap>
				<control type="label">
					<description>row 1 label</description>
					<width>1770</width>
					<height>90</height>
					<align>left</align>
					<aligny>center</aligny>
					<font>font14</font>
					<textcolor>grey2</textcolor>
					<label>$INFO[musicplayer.Codec,$LOCALIZE[21446]: ,]$INFO[musicplayer.Bitrate, · $LOCALIZE[623]: ,kbps]$INFO[musicplayer.bitspersample, · $LOCALIZE[612]: ,]$INFO[musicplayer.Samplerate, · $LOCALIZE[613]: ,kHz]$INFO[musicplayer.Channels, · $LOCALIZE[21444]: ]</label>
				</control>
				<control type="label">
					<description>row 2 label</description>
					<width>1770</width>
					<height>90</height>
					<align>left</align>
					<aligny>center</aligny>
					<font>font14</font>
					<label>$INFO[Visualisation.Name,, [I][COLOR=orange]($LOCALIZE[20166])[/COLOR][/I] · ]fps: $INFO[System.FPS]</label>
					<textcolor>grey2</textcolor>
					<visible>Visualisation.Locked</visible>
				</control>
				<control type="label">
					<description>row 3 label</description>
					<width>1770</width>
					<height>90</height>
					<align>left</align>
					<aligny>center</aligny>
					<font>font14</font>
					<label>$INFO[Visualisation.Name,, · ]fps: $INFO[System.FPS]</label>
					<textcolor>grey2</textcolor>
					<visible>!Visualisation.Locked</visible>
				</control>
				<control type="label">
					<description>row 3 label</description>
					<width>1770</width>
					<height>90</height>
					<align>left</align>
					<aligny>center</aligny>
					<font>font14</font>
					<label>$INFO[Visualisation.Preset,$LOCALIZE[13388]: ]</label>
					<textcolor>grey2</textcolor>
				</control>
			</control>
		</control>
	</controls>
</window>