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

	<include name="FullScreenFanArtPlacement">
        <left>0</left>
        <top>0</top>
        <width>1920</width>
        <height>1080</height>
		<fadetime>400</fadetime>
		<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
		<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
	</include>

	<include name="MusicVisCoverView">

	<control type="image">
        <visible>
        !String.IsEqual(Skin.String(musicvis.background),albumwall)
        +String.IsEqual(Skin.String(musicvis.background_aspect),keep)
        </visible>
		<aspectratio>keep</aspectratio>
		<include>FullScreenFanArtPlacement</include>
		<texture background="true">$VAR[MusicVizBackground]</texture>
		<animation effect="fade" start="100" end="40" time="0" condition="!Skin.HasSetting(HideVisualizationFanart) + Visualisation.Enabled">Conditional</animation>
		<animation effect="zoom" start="110" end="130" center="auto" time="10000" tween="sine" easing="inout" pulse="true" condition="!Skin.HasSetting(Disable.AnimateFanart)">Conditional</animation>
		<animation effect="slide" start="-30,-30" end="30,30" time="6000" tween="sine" easing="inout" pulse="true" condition="!Skin.HasSetting(Disable.AnimateFanart)">Conditional</animation>
		<colordiffuse>$VAR[VisBackgroundMask]</colordiffuse>
	</control>

	<control type="image">
        <visible>
        !String.IsEqual(Skin.String(musicvis.background),albumwall)
        +!String.IsEqual(Skin.String(musicvis.background_aspect),keep)
        </visible>
		<aspectratio>scale</aspectratio>
		<include>FullScreenFanArtPlacement</include>
		<texture background="true">$VAR[MusicVizBackground]</texture>
		<animation effect="fade" start="100" end="40" time="0" condition="!Skin.HasSetting(HideVisualizationFanart) + Visualisation.Enabled">Conditional</animation>
		<animation effect="zoom" start="110" end="130" center="auto" time="10000" tween="sine" easing="inout" pulse="true" condition="!Skin.HasSetting(Disable.AnimateFanart)">Conditional</animation>
		<animation effect="slide" start="-30,-30" end="30,30" time="6000" tween="sine" easing="inout" pulse="true" condition="!Skin.HasSetting(Disable.AnimateFanart)">Conditional</animation>
		<colordiffuse>$VAR[VisBackgroundMask]</colordiffuse>
	</control>


	<control type="group">
		<visible>
		String.IsEqual(Skin.String(musicvis.background),albumwall) 
		</visible>
		<control type="panel" id="9032">
			<include>FullScreenFanArtPlacement</include>
			<viewtype label="31086">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">
					<animation effect="fade" start="100" end="40" time="0" condition="!Skin.HasSetting(HideVisualizationFanart) + Visualisation.Enabled">Conditional</animation>
					<width>192</width>
					<height>192</height>
					<aspectratio>scale</aspectratio>
					<texture background="true">$INFO[ListItem.Icon]</texture>
					<fadetime>400</fadetime>
				</control>
			</itemlayout>
			<focusedlayout height="192" width="192">
				<control type="image">
					<animation effect="fade" start="100" end="40" time="0" condition="!Skin.HasSetting(HideVisualizationFanart) + Visualisation.Enabled">Conditional</animation>
					<width>192</width>
					<height>192</height>
					<aspectratio>scale</aspectratio>
					<texture background="true">$INFO[ListItem.Icon]</texture>
					<fadetime>400</fadetime>
				</control>
			</focusedlayout>
			<content>special://skin/extras/albumwall.xsp</content>
		</control>
	</control> 

<!-- 			<control type="image"> -->
<!-- 	 			<aspectratio>$VAR[VizBackgroundAspect]</aspectratio> -->
<!-- 				<include>FullscreenDimensions</include> -->
<!-- 				<fadetime>400</fadetime> -->
<!-- 				<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation> -->
<!-- 				<animation effect="fade" start="100" end="0" time="300">WindowClose</animation> -->
<!-- 				<texture background="true">$INFO[Player.Art(album.fanart)]</texture> -->
<!-- 				<visible>String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image)) + !String.IsEmpty(Player.Art(album.fanart)) + !Skin.HasSetting(HideVisualizationFanart)</visible> -->
<!-- 				<colordiffuse>$VAR[VisBackgroundMask]</colordiffuse> -->
<!-- 			</control> -->


<!-- 			<control type="image"> -->
<!-- 				<aspectratio>$VAR[VizBackgroundAspect]</aspectratio> -->
<!-- 				<aspectratio>scale</aspectratio> -->
<!-- 				<include>FullscreenDimensions</include> -->
<!-- 				<fadetime>400</fadetime> -->
<!-- 				<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation> -->
<!-- 				<animation effect="fade" start="100" end="0" time="300">WindowClose</animation> -->
<!-- 				<texture background="true">$INFO[Player.Art(fanart)]</texture> -->
<!-- 				<visible>String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image)) + String.IsEmpty(Player.Art(album.fanart)) + !Skin.HasSetting(HideVisualizationFanart)</visible> -->
<!-- 				<colordiffuse>$VAR[VisBackgroundMask]</colordiffuse> -->
<!-- 			</control> -->

<!-- 			<control type="image"> -->
<!-- 				<aspectratio>$VAR[VizBackgroundAspect]</aspectratio> -->
<!-- 				<include>FullscreenDimensions</include> -->
<!-- 				<fadetime>400</fadetime> -->
<!-- 				<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation> -->
<!-- 				<animation effect="fade" start="100" end="0" time="300">WindowClose</animation> -->
<!-- 				<texture background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow.Image)]</texture> -->
<!-- 				<visible>!String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))</visible> -->
<!-- 				<colordiffuse>$VAR[VisBackgroundMask]</colordiffuse> -->
<!-- 			</control> -->




<!-- 
			<control type="group">
				<visible>String.IsEqual(Skin.String(musicvis.background),albumwall) + !Skin.HasSetting(HideVisualizationFanart)</visible>
				<control type="panel" id="9032">
					<left>0</left>
					<top>0</top>
					<width>1920</width>
					<height>1080</height>
					<viewtype label="31086">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">
							<animation effect="fade" start="100" end="40" time="0" condition="!Skin.HasSetting(HideVisualizationFanart) + Visualisation.Enabled">Conditional</animation>
							<width>192</width>
							<height>192</height>
							<aspectratio>scale</aspectratio>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<fadetime>400</fadetime>
						</control>
					</itemlayout>
					<focusedlayout height="192" width="192">
						<control type="image">
							<animation effect="fade" start="100" end="40" time="0" condition="!Skin.HasSetting(HideVisualizationFanart) + Visualisation.Enabled">Conditional</animation>
							<width>192</width>
							<height>192</height>
							<aspectratio>scale</aspectratio>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<fadetime>400</fadetime>
						</control>
					</focusedlayout>
					<content>special://skin/extras/albumwall.xsp</content>
				</control>
			</control>
-->




			<!-- media infos -->
			<control type="fadelabel">
				<left>0</left>
				<top>0</top>
				<heigth>1080</heigth>
				<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">
				<left>0</left>
				<top>0</top>
				<heigth>1920</heigth>
				<width>1080</width>
				<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="!Skin.HasSetting(Disable.Animations)">Conditonal</animation>
			</control>


			<control type="image">
				<description>Cover image</description>
				<top>100</top>
				<left>60</left>
				<width>660</width>
				<height>660</height>
				<aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
				<texture>$INFO[Player.Art(thumb)]</texture>
			</control>



			<control type="group">
				<description>Currently Playing</description>
				<width>1200</width>
				<height>250</height>
				<left>330</left>
				<top>810</top>
				<!-- <visible>[Player.ShowInfo | Window.IsActive(MusicOSD)] + ![Window.IsVisible(1120) | Window.IsVisible(okdialog) | Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) 
					| Window.IsVisible(VisualisationPresetList)]</visible> -->
				<visible>![Window.IsVisible(1120) | Window.IsVisible(okdialog) | Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList)]
				</visible>

				<!-- <animation effect="slide" tween="cubic" time="500" start="0,400" end="0,0">Visible</animation> -->
				<!-- <animation effect="slide" tween="cubic" time="500" end="0,400" start="0,0">Hidden</animation> -->
				<!-- <include>WindowSlideAnimation</include> -->

				<control type="image">
					<left>0</left>
					<top>0</top>
					<right>0</right>
					<bottom>0</bottom>
					<texture border="5">listselect_fo.png</texture>
					<colordiffuse>dialog</colordiffuse>
				</control>


				<control type="grouplist">
					<description>Codec Info</description>
					<itemgap>10</itemgap>
					<align>center</align>
					<width>200</width>
					<control type="image">
						<height>30</height>
						<aspectratio>keep</aspectratio>
						<shadowcolor>FF000000</shadowcolor>
						<align>center</align>
						<texture background="true" colordiffuse="TitleTextColor">$VAR[StarRatingPlayerVar]</texture>
					</control>

					<control type="label">
						<height>30</height>
						<font>font12</font>
						<align>center</align>
						<shadowcolor>FF000000</shadowcolor>
						<label>$INFO[musicplayer.Channels, ,ch]$INFO[musicplayer.bitspersample, ,bit]$INFO[musicplayer.Samplerate, ,kHz]</label>
					</control>

					<control type="label">
						<height>30</height>
						<font>font12</font>
						<align>center</align>
						<shadowcolor>FF000000</shadowcolor>
						<label>$INFO[musicplayer.Codec,,]$INFO[musicplayer.Bitrate, ,kbps]</label>
					</control>

					<control type="image">
						<include>MediaFlagVars</include>
						<left>30</left>
						<width>130</width>
						<shadowcolor>FF000000</shadowcolor>
						<texture background="true" colordiffuse="TitleTextColor">$INFO[MusicPlayer.Codec,flags/audiocodec/,.png]</texture>
					</control>
					<control type="image">
						<include>MediaFlagVars</include>
						<left>30</left>
						<width>75</width>
						<shadowcolor>FF000000</shadowcolor>
						<texture>$VAR[AudioPlayerSourceFlagVar,flags/audiosource/,.png]</texture>
					</control>


				</control>


				<control type="grouplist">
					<description>Song Metadata</description>

					<left>210</left>
					<top>15</top>
					<width>980</width>
					<!-- <height>400</height> -->
					<itemgap>20</itemgap>


					<control type="label">
						<!-- <width>700</width> -->
						<height>40</height>
						<font>font36</font>
						<align>center</align>
						<label>$INFO[MusicPlayer.TrackNumber,, - ]$INFO[Player.Title]</label>
						<shadowcolor>FF000000</shadowcolor>
						<scroll>true</scroll>
					</control>
					<control type="label">
						<!-- <width>700</width> -->
						<height>30</height>
						<font>font16</font>
						<align>center</align>
						<label>$INFO[MusicPlayer.Artist]</label>
						<shadowcolor>FF000000</shadowcolor>
						<scroll>true</scroll>
					</control>
					<control type="label">
						<!-- <width>700</width> -->
						<height>30</height>
						<font>font16</font>
						<align>center</align>
						<shadowcolor>FF000000</shadowcolor>
						<label>$INFO[MusicPlayer.Album]$INFO[MusicPlayer.Year, (,)]</label>
					</control>
					<control type="label">
						<!-- <width>700</width> -->
						<height>30</height>
						<align>center</align>
						<font>font14_textbox</font>
						<scroll>true</scroll>
						<shadowcolor>FF000000</shadowcolor>
						<label>[COLOR=LabelTextColor]$LOCALIZE[19031]:[/COLOR] $INFO[MusicPlayer.offset(1).Artist,, - ]$INFO[MusicPlayer.offset(1).TrackNumber,, - ]$INFO[MusicPlayer.offset(1).Title]</label>
					</control>


				</control>


				<!-- <control type="group"> <left>31</left> <top>30</top> <control type="image"> <description>Cover image</description> <width>280</width> <height>280</height> <aspectratio align="center" 
					aligny="center" scalediffuse="false">scale</aspectratio> <texture fallback="DefaultAlbumCover.png" diffuse="diffuse/musicviz.png">$INFO[Player.Art(thumb)]</texture> </control> </control> -->

			</control>



			<control type="group">
				<top>5</top>
				<height>35</height>
				<width>600</width>
				<left>660</left>
				<description>progress bar</description>

				<control type="image">
					<left>0</left>
					<top>0</top>
					<right>0</right>
					<bottom>0</bottom>
					<texture colordiffuse="DD181818" border="5">listselect_fo.png</texture>
				</control>


				<control type="progress">
					<!-- <width>1000</width> -->
					<!-- <height>35</height> -->
					<shadowcolor>FF000000</shadowcolor>
					<info>Player.Progress</info>
				</control>
				<control type="label">
					<left>15</left>
					<!-- <width>900</width> -->
					<!-- <height>35</height> -->
					<font>font12</font>
					<shadowcolor>FF000000</shadowcolor>
					<label>$INFO[Player.Time]</label>
				</control>

				<control type="label">
					<centerleft>50%</centerleft>
					<!-- <width>1543</width> -->
					<!-- <height>35</height> -->
					<font>font12</font>
					<align>center</align>
					<shadowcolor>FF000000</shadowcolor>
					<label>$VAR[MusicSeekLabelVar]</label>
				</control>

				<control type="label">
					<right>5</right>
					<!-- <width>900</width> -->
					<!-- <height>35</height> -->
					<font>font12</font>
					<align>right</align>
					<shadowcolor>FF000000</shadowcolor>
					<label>$INFO[Player.Duration]</label>
				</control>

				<control type="grouplist">
					<centerleft>50%</centerleft>
					<!-- <width>408</width> -->
					<height>150</height>
					<itemgap>10</itemgap>
					<orientation>horizontal</orientation>
					<include>VisibleFadeEffect</include>
					<shadowcolor>FF000000</shadowcolor>
					<visible>Player.Forwarding | Player.Rewinding</visible>
					<usecontrolcoords>true</usecontrolcoords>
					<control type="label">
						<top>8</top>
						<label>$VAR[Icon-Rewind]</label>
						<width>35</width>
						<height>35</height>
						<align>center</align>
						<font>IconSmall</font>
						<visible>Player.Rewinding</visible>
					</control>
					<control type="label">
						<top>7</top>
						<label>$VAR[VideoPlayerForwardRewindVar]</label>
						<width min="10" max="300">auto</width>
						<height>35</height>
						<shadowcolor>FF000000</shadowcolor>
						<font>font12</font>
					</control>
					<control type="label">
						<top>8</top>
						<label>$VAR[Icon-FastForward]</label>
						<width>35</width>
						<height>35</height>
						<align>center</align>
						<font>IconSmall</font>
						<shadowcolor>FF000000</shadowcolor>
						<visible>Player.Forwarding</visible>
					</control>
				</control>
			</control>


			<!-- Artist bio -->
			<control type="group">
				<animation effect="slide" end="0,-198" time="240" condition="Window.Next(home)">WindowClose</animation>
				<animation effect="slide" start="0,-198" end="0,0" time="240">VisibleChange</animation>
				<animation effect="slide" start="0,-198" end="0,0" time="400" condition="Window.Previous(home)">WindowOpen</animation>
				<visible>!Window.IsActive(MusicOSD) + !Window.IsActive(1120) + !Window.IsActive(script-cu-lrclyrics-main.xml)</visible>
				<visible>System.HasAddon(script.artistslideshow) + !String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.ArtistBiography))</visible>
				<visible>[Player.ShowInfo + Skin.HasSetting(Enable.VizInfo)] | Skin.HasSetting(Enable.VizPersistent)</visible>
				<top>0</top>
				<control type="group">
					<control type="image">
						<top>-16</top>
						<left>-16</left>
						<width>1952</width>
						<height>214</height>
						<texture border="16">dialog_context.png</texture>
						<colordiffuse>dialog</colordiffuse>
					</control>
					<control type="textbox">
						<description>Artist bio</description>
						<left>25</left>
						<top>12</top>
						<height>160</height>
						<width>1870</width>
						<font>font14_textbox</font>
						<label>[COLOR=LabelTextColor]$LOCALIZE[21887]:[/COLOR] $INFO[Window(Visualisation).Property(ArtistSlideshow.ArtistBiography)]</label>
						<autoscroll time="3000" delay="10000" repeat="5000">!Skin.HasSetting(Disable.AutoScroll)</autoscroll>
					</control>
				</control>
			</control>

	</include>
</includes>