<?xml version="1.0" encoding="UTF-8"?>
<window>
    <animation effect="fade" time="200">WindowClose</animation>
    <onload condition="Skin.HasSetting(Use_Artist_Slideshow) + System.AddonIsEnabled(script.artistslideshow)">RunScript(script.artistslideshow)</onload>
    <defaultcontrol></defaultcontrol>
    <controls>
        <!-- Fadelabel for extra fanart -->
		<control type="fadelabel" id="4444">
			<top>-100</top>
			<width>2560</width>
			<height>0</height>
			<scrollspeed>20</scrollspeed>
			<scrollout>false</scrollout>
			<randomize>true</randomize>
			<visible>Skin.HasSetting(EnableExtraFanart)</visible>
			<include>FadeLabelTime</include>
			<label>$INFO[Player.Art(artist.fanart)]</label>
			<label>$INFO[Player.Art(artist.fanart1)]</label>
			<label>$INFO[Player.Art(artist.fanart2)]</label>
			<label>$INFO[Player.Art(artist.fanart3)]</label>
			<label>$INFO[Player.Art(artist.fanart4)]</label>
			<label>$INFO[Player.Art(artist.fanart5)]</label>
			<label>$INFO[Player.Art(artist.fanart6)]</label>
			<label>$INFO[Player.Art(artist.fanart7)]</label>
			<label>$INFO[Player.Art(artist.fanart8)]</label>
			<label>$INFO[Player.Art(artist.fanart9)]</label>
			<label>$INFO[Player.Art(artist.fanart10)]</label>
			<label>$INFO[Player.Art(artist.fanart11)]</label>
			<label>$INFO[Player.Art(artist.fanart12)]</label>
			<label>$INFO[Player.Art(artist.fanart13)]</label>
			<label>$INFO[Player.Art(artist.fanart14)]</label>
			<label>$INFO[Player.Art(artist.fanart15)]</label>
			<label>$INFO[Player.Art(artist.fanart16)]</label>
			<label>$INFO[Player.Art(artist.fanart17)]</label>
			<label>$INFO[Player.Art(artist.fanart18)]</label>
			<label>$INFO[Player.Art(artist.fanart19)]</label>
			<label>$INFO[Player.Art(artist.fanart20)]</label>
		</control>

		<!-- Fadelabel for extra fanart -->
		<control type="fadelabel" id="4445">
			<top>-100</top>
			<width>2560</width>
			<height>0</height>
			<scrollspeed>20</scrollspeed>
			<scrollout>false</scrollout>
			<randomize>true</randomize>
			<visible>Skin.HasSetting(EnableExtraFanart)</visible>
			<include>FadeLabelTime</include>
			<label>$INFO[Player.Art(albumartist.fanart)]</label>
			<label>$INFO[Player.Art(albumartist.fanart1)]</label>
			<label>$INFO[Player.Art(albumartist.fanart2)]</label>
			<label>$INFO[Player.Art(albumartist.fanart3)]</label>
			<label>$INFO[Player.Art(albumartist.fanart4)]</label>
			<label>$INFO[Player.Art(albumartist.fanart5)]</label>
			<label>$INFO[Player.Art(albumartist.fanart6)]</label>
			<label>$INFO[Player.Art(albumartist.fanart7)]</label>
			<label>$INFO[Player.Art(albumartist.fanart8)]</label>
			<label>$INFO[Player.Art(albumartist.fanart9)]</label>
			<label>$INFO[Player.Art(albumartist.fanart10)]</label>
			<label>$INFO[Player.Art(albumartist.fanart11)]</label>
			<label>$INFO[Player.Art(albumartist.fanart12)]</label>
			<label>$INFO[Player.Art(albumartist.fanart13)]</label>
			<label>$INFO[Player.Art(albumartist.fanart14)]</label>
			<label>$INFO[Player.Art(albumartist.fanart15)]</label>
			<label>$INFO[Player.Art(albumartist.fanart16)]</label>
			<label>$INFO[Player.Art(albumartist.fanart17)]</label>
			<label>$INFO[Player.Art(albumartist.fanart18)]</label>
			<label>$INFO[Player.Art(albumartist.fanart19)]</label>
			<label>$INFO[Player.Art(albumartist.fanart20)]</label>
		</control>

		<!-- Visualization -->
		<control type="visualisation" id="2" description="Visualisation">
            <width>1920</width>
            <height>1080</height>
            <visible>Player.HasAudio</visible>
        </control>
		<!-- Artist Slideshow 3.x images -->
        <control type="image" description="Slideshow - AS 3.0">
            <visible>Skin.HasSetting(MusicPlayingFanart) + Skin.HasSetting(Use_Artist_Slideshow) + !String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))</visible>
            <include>Dimensions_Fullscreen</include>
            <texture background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow.Image)]</texture>
            <aspectratio>scale</aspectratio>
            <fadetime>800</fadetime>
            <animation effect="fade" start="0" end="80" time="300">Visible</animation>
            <animation effect="fade" start="80" end="0" time="200">Hidden</animation>
            <animation type="Conditional" condition="Visualisation.Enabled">
                <effect type="fade" start="0" end="50" time="0" />
            </animation>
            <animation type="Conditional" condition="!Visualisation.Enabled">
                <effect type="fade" start="0" end="80" time="0" />
            </animation>
        </control>
		<!-- Single Artist Fanart -->
        <control type="image" description="Fanart only">
            <visible>Skin.HasSetting(MusicPlayingFanart) + !Skin.HasSetting(EnableExtraFanart) + [!Skin.HasSetting(Use_Artist_Slideshow) | String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))]</visible>
            <include>Dimensions_Fullscreen</include>
            <fadetime>400</fadetime>
            <aspectratio>scale</aspectratio>
            <texture background="true">$VAR[MusicNonASFanart]</texture>
            <animation effect="fade" start="0" end="80" time="300">Visible</animation>
            <animation effect="fade" start="80" end="0" time="200">Hidden</animation>
            <animation type="Conditional" condition="Visualisation.Enabled">
                <effect type="fade" start="0" end="50" time="0" />
            </animation>
            <animation type="Conditional" condition="!Visualisation.Enabled">
                <effect type="fade" start="0" end="80" time="0" />
            </animation>
        </control>
		<!-- Artist Extra Fanart -->
		<control type="multiimage" description="Artist Extra Fanart">
		    <visible>Skin.HasSetting(MusicPlayingFanart) + Skin.HasSetting(EnableExtraFanart) + [!Skin.HasSetting(Use_Artist_Slideshow) | String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))]</visible>
            <include>Dimensions_Fullscreen</include>
            <aspectratio aligny="top">scale</aspectratio>
			<timeperimage>8000</timeperimage>
            <fadetime>800</fadetime>
            <randomize>true</randomize>
            <loop>true</loop>
            <imagepath background="true">$VAR[MusicVizBackground]</imagepath>
            <animation effect="fade" start="0" end="80" time="300">Visible</animation>
            <animation effect="fade" start="80" end="0" time="200">Hidden</animation>
            <animation type="Conditional" condition="Visualisation.Enabled">
                <effect type="fade" start="0" end="50" time="0" />
            </animation>
            <animation type="Conditional" condition="!Visualisation.Enabled">
                <effect type="fade" start="0" end="80" time="0" />
            </animation>
        </control>

		<!-- Artist Logo -->
		<control type="image">
            <posy>15</posy>
			<posx>1500</posx>
            <width>400</width>
            <height>155</height>
            <texture  background="true">$INFO[Player.Art(artist.clearlogo)]</texture>
			<aspectratio>keep</aspectratio>
            <visible>!String.IsEmpty(Player.Art(artist.clearlogo)) + Skin.HasSetting(ShowLogoMusicViz) + !Window.IsVisible(script-cu-lrclyrics-main.xml)</visible>
			<visible>!String.IsEqual(Skin.String(OSDExtraArt),logo) </visible>
			<animation effect="fade" start="100" end="0" time="100" condition="Window.IsVisible(DialogSeekBar.xml) + !Skin.HasSetting(enable.bottomseekbar)">Conditional</animation>
        </control>

		<!-- Background image to dim lyrics -->
        <control type="image">
            <posy>-110</posy>
            <width>1920</width>
            <height>1200</height>
            <texture border="0,30,0,30">OSD/FS_OSDBackground.png</texture>
            <colordiffuse>ccE2E2E2</colordiffuse>
            <visible>Window.IsVisible(script-cu-lrclyrics-main.xml) + Skin.HasSetting(Music.DimWithLyrics)</visible>
        </control>

		<!-- Track Info -->
        <control type="group">
			<visible>[Player.ShowInfo | Window.IsActive(musicosd)] + !Window.IsActive(playerprocessinfo)</visible>
			<visible>!$EXP[showCompactSeekBar] + !Skin.HasSetting(UseUltraCompactOSD)</visible>

			<include condition="Skin.HasSetting(enable.bottomseekbar)">LowerMusicFullScreenInfo</include>
			<include condition="!Skin.HasSetting(enable.bottomseekbar)">RegularMusicFullScreenInfo</include>

            <!-- Background for seek bar/OSD -->
            <include>OSDFade</include>
            <animation effect="fade" time="200">VisibleChange</animation>
            <control type="image">
                <width>1920</width>
                <height>380</height>
                <texture border="0,30,0,30">OSD/FS_OSDBackground.png</texture>
                <colordiffuse>FFE2E2E2</colordiffuse>
				<visible>Skin.HasSetting(enable.bottomseekbar)</visible>
            </control>
			<control type="image">
                <width>1920</width>
                <height>260</height>
                <texture border="0,30,0,30">OSD/FS_OSDBackground.png</texture>
                <colordiffuse>FFE2E2E2</colordiffuse>
				<visible>!Skin.HasSetting(enable.bottomseekbar)</visible>
            </control>

			<!-- Album cover and dimming image if lyrics playing -->
			<control type="group">
                <visible>String.IsEqual(Skin.String(OSDExtraArt),poster)</visible>
				<include content="ShadowedImage">
                    <param name="top">682r</param>
                    <param name="left">555r</param>
                    <param name="width">509</param>
                    <param name="height">636</param>
                    <param name="shadowoffset">16</param>
                    <param name="texture">$INFO[MusicPlayer.Cover]</param>
                    <param name="aligny">bottom</param>
				    <param name="visibility">!Skin.HasSetting(enable.bottomseekbar)</param>
                </include>
			    <include content="ShadowedImage">
                    <param name="top">-422</param>
                    <param name="left">555r</param>
                    <param name="width">509</param>
                    <param name="height">636</param>
                    <param name="shadowoffset">16</param>
                    <param name="texture">$INFO[MusicPlayer.Cover]</param>
                    <param name="aligny">bottom</param>
				    <param name="visibility">Skin.HasSetting(enable.bottomseekbar)</param>
                </include>
                <control type="image" description="Dim icon for lyrics visibility if active">
                    <visible>Window.IsVisible(script-cu-lrclyrics-main.xml) + !Skin.HasSetting(enable.bottomseekbar) + Skin.HasSetting(Music.DimWithLyrics)</visible>
                    <include>VisibleFadeEffectDelay</include>
                    <top>682r</top>
                    <left>555r</left>
                    <width>509</width>
                    <height>636</height>
                    <texture>$INFO[MusicPlayer.Cover]</texture>
                    <colordiffuse>HeavyShadow</colordiffuse>
                    <aspectratio align="center" aligny="bottom">keep</aspectratio>
                </control>
			    <control type="image" description="Dim icon for lyrics visibility if active">
                    <visible>Window.IsVisible(script-cu-lrclyrics-main.xml) + Skin.HasSetting(enable.bottomseekbar) + Skin.HasSetting(Music.DimWithLyrics)</visible>
                    <include>VisibleFadeEffectDelay</include>
                    <top>-422</top>
                    <left>555r</left>
                    <width>509</width>
                    <height>636</height>
                    <texture>$INFO[MusicPlayer.Cover]</texture>
                    <colordiffuse>HeavyShadow</colordiffuse>
                    <aspectratio align="center" aligny="bottom">keep</aspectratio>
                </control>
			</control>

			<!-- Artist -->
            <control type="label">
                <posx>30</posx>
                <posy>50</posy>
                <width>800</width>
                <height>40</height>
                <align>left</align>
                <label>$INFO[MusicPlayer.Artist]</label>
                <font>InfoTitle</font>
                <textcolor>grey</textcolor>
            </control>

			<!-- Media flags -->
            <control type="grouplist">
                <top>40</top>
                <posx>708</posx>
                <height>80</height>
                <width>605</width>
                <orientation>horizontal</orientation>
                <itemgap>15</itemgap>
                <align>right</align>
				<include>PlayerAudioFlagItems</include>
			</control>

			<!-- Track number and title; recording indicator -->
            <control type="grouplist">
                <left>30</left>
                <top>100</top>
                <width>1205</width>
                <height>60</height>
                <orientation>horizontal</orientation>
                <control type="image">
                    <width>40</width>
                    <aspectratio align="center" aligny="center">keep</aspectratio>
                    <texture>img/PVR-IsRecording.png</texture>
                    <visible>MusicPlayer.Content(livetv) + PVR.IsRecordingPlayingChannel</visible>
                </control>
                <control type="image">
                    <width>20</width>
                    <texture></texture>
                    <visible>MusicPlayer.Content(livetv) + PVR.IsRecordingPlayingChannel</visible>
                </control>
                <control type="label">
                    <width>1140</width>
                    <height>60</height>
                    <font>MainLabelBigTitle</font>
                    <label>$INFO[MusicPlayer.TrackNumber,,: ]$INFO[Player.Title]</label>
                    <textcolor>$VAR[HighlightColor]</textcolor>
                    <scroll>true</scroll>
                    <scrollspeed>25</scrollspeed>
                </control>
            </control>

			<!-- Album and Year -->
            <control type="label">
                <posx>30</posx>
                <posy>176</posy>
                <width>740</width>
                <height>40</height>
                <align>left</align>
                <label>$INFO[MusicPlayer.Album]$INFO[MusicPlayer.Year, (,) ]</label>
                <font>InfoTitle</font>
                <scroll>true</scroll>
                <textcolor>grey</textcolor>
                <visible>Window.IsVisible(MusicOSD)</visible>
            </control>
            <control type="label">
                <posx>30</posx>
                <posy>176</posy>
                <width>1205</width>
                <height>40</height>
                <align>left</align>
                <label>$INFO[MusicPlayer.Album]$INFO[MusicPlayer.Year, (,) ]</label>
                <font>InfoTitle</font>
                <scroll>true</scroll>
                <textcolor>grey</textcolor>
                <visible>!Window.IsVisible(MusicOSD)</visible>
            </control>
        </control>

		<!-- Album Cover for Ultra Compact OSD -->
		<control type="group">
            <visible>String.IsEqual(Skin.String(OSDExtraArt),poster) + Window.IsVisible(MusicOSD) + Skin.HasSetting(UseUltraCompactOSD)</visible>
			<include content="ShadowedImage">
                <param name="top">682r</param>
                <param name="left">555r</param>
                <param name="width">509</param>
                <param name="height">636</param>
                <param name="shadowoffset">16</param>
                <param name="texture">$INFO[MusicPlayer.Cover]</param>
                <param name="aligny">bottom</param>
            </include>
            <control type="image" description="Dim icon for lyrics visibility if active">
                <visible>Window.IsVisible(script-cu-lrclyrics-main.xml) + Skin.HasSetting(Music.DimWithLyrics)</visible>
                <include>VisibleFadeEffectDelay</include>
                <top>682r</top>
                <left>555r</left>
                <width>509</width>
                <height>636</height>
                <texture>$INFO[MusicPlayer.Cover]</texture>
                <colordiffuse>HeavyShadow</colordiffuse>
                <aspectratio align="center" aligny="bottom">keep</aspectratio>
            </control>
		</control>

		<!-- Extra Artwork for all OSDs -->
		<control type="group">
		    <visible>!$EXP[showCompactSeekBar]</visible>
		    <control type="group">
		        <visible>!Skin.HasSetting(UseUltraCompactOSD) + ![String.IsEqual(Skin.String(OSDExtraArt),none) | String.IsEmpty(Skin.String(OSDExtraArt))] + !Skin.HasSetting(enable.bottomseekbar) + [[Player.ShowInfo | Window.IsActive(musicosd)] + !Window.IsActive(playerprocessinfo)]</visible>
			    <include content="FullScreenExtraArt">
			        <param name="arttop">600</param>
				    <param name="disctop">580</param>
				    <param name="artheight">480</param>
			    </include>
            </control>
		    <control type="group">
		        <visible>!Skin.HasSetting(UseUltraCompactOSD) + ![String.IsEqual(Skin.String(OSDExtraArt),none) | String.IsEmpty(Skin.String(OSDExtraArt))] + Skin.HasSetting(enable.bottomseekbar) + [[Player.ShowInfo | Window.IsActive(musicosd)] + !Window.IsActive(playerprocessinfo)]</visible>
			    <include content="FullScreenExtraArt">
			        <param name="arttop">520</param>
				    <param name="disctop">500</param>
				    <param name="artheight">440</param>
			    </include>
            </control>
			<control type="group">
		        <visible>Skin.HasSetting(UseUltraCompactOSD) + ![String.IsEqual(Skin.String(OSDExtraArt),none) | String.IsEmpty(Skin.String(OSDExtraArt))] + [[Player.ShowInfo | Window.IsActive(musicosd)] + !Window.IsActive(playerprocessinfo)]</visible>
			    <include content="FullScreenExtraArt">
			        <param name="arttop">724</param>
				    <param name="disctop">500</param>
				    <param name="artheight">440</param>
			    </include>
            </control>
		</control>
    </controls>
</window>
