<?xml version="1.0" encoding="UTF-8"?>
<window>
	<!-- visualisation -->
	<onload>Skin.TimerStart(music_visualisation)</onload>
	<onunload>Skin.TimerStop(music_visualisation)</onunload>
	<backgroundcolor>$VAR[Dark_Color]</backgroundcolor>
	<include content="WindowOpenClose_Fade_Delayed_Animation" />
	<controls>
		<include content="Light_Theme_Background" />
		<!-- Visualisation -->
		<control type="group">
			<control type="visualisation" id="2">
				<visible>Skin.TimerIsRunning(music_visualisation) + Integer.IsGreaterOrEqual(Skin.TimerElapsedSecs(music_visualisation),1)</visible>
				<visible>Player.HasAudio</visible>
				<width>1920</width>
				<height>1080</height>
			</control>
			<control type="image">
				<visible>!Skin.String(Theme,Light)</visible>
				<animation effect="fadediffuse" end="80000000" time="2160" condition="Skin.TimerIsRunning(music_visualisation) + Integer.IsGreaterOrEqual(Skin.TimerElapsedSecs(music_visualisation),1)" reversible="true">Conditional</animation>
				<texture colordiffuse="$VAR[Secondary_Color]">views/white_100.png</texture>
				<width>1920</width>
				<height>1080</height>
			</control>
		</control>

		<!-- Details -->
		<control type="group">
			<visible>Player.ShowInfo | Window.IsActive(musicosd)</visible>
			<include content="VisibleHidden_Fade_Animation" />
			<include content="Simple_ListIcon">
				<param name="left" value="600" />
				<param name="top" value="180" />
				<param name="width" value="720" />
				<param name="height" value="720" />
				<param name="texture" value="$INFO[Player.Art(album.thumb)]" />
				<animation effect="fadediffuse" end="ff3f3f3f" time="360" condition="Window.IsVisible(musicosd) | Player.Paused | Player.Rewinding | Player.Forwarding" reversible="true">Conditional</animation>
				<include content="Dialog_Over_Artwork_Fadediffuse_Animation" />
			</include>
			<include content="Default_NoPanel_Layout">
				<param name="visible" value="!Window.IsVisible(1103) + !$EXP[TransparentDialog_IsVisible]" />
				<include content="Variable_Title_Label">
					<param name="label" value="$INFO[MusicPlayer.Title]" />
				</include>
				<!-- Liked indication -->
				<control type="group">
					<width>60</width>
					<height>90</height>
					<right>60</right>
					<bottom>60</bottom>
					<include content="Like_focused" condition="Integer.IsGreater(Skin.Numeric(Music_Rating_Like_Threshold,0))">
						<param name="visible" value="!Integer.IsLess(Window(home).Property(MusicPlayer_UserRating),Skin.String(Music_Rating_Like_Threshold))" />
						<param name="color" value="$VAR[Accent_Color]" />
						<animation effect="slide" end="$PARAM[slide],8" time="0" condition="true">Conditional</animation>
					</include>
				</control>
				<!-- Details -->
				<control type="grouplist">
					<visible>!Window.IsVisible(musicosd)</visible>
					<include content="VisibleHidden_Fade_Delayed_Animation" />
					<centertop>50%</centertop>
					<height>360</height>
					<width>480</width>
					<left>60</left>
					<orientation>vertical</orientation>
					<align>center</align>
					<itemgap>0</itemgap>
					<control type="textbox">
						<height max="80">auto</height>
						<label>$INFO[MusicPlayer.Artist]</label>
						<font>MusicPlayer_Title</font>
						<textcolor>$VAR[Primary_Color]</textcolor>
						<align>left</align>
					</control>
					<control type="textbox">
						<height max="320">auto</height>
						<label>$INFO[MusicPlayer.Year]$VAR[MusicPlayer_Album_Divider, , ]$INFO[MusicPlayer.Album]</label>
						<font>MusicPlayer_Info</font>
						<textcolor>$VAR[Primary_Color]</textcolor>
						<align>left</align>
					</control>
				</control>
				<!-- Next up -->
				<control type="grouplist">
					<visible>MusicPlayer.HasNext + !String.IsEmpty(MusicPlayer.offset(1).Title)</visible>
					<visible>!Window.IsVisible(volumebar)</visible>
					<include content="Visible_Fade_Animation" />
					<centertop>50%</centertop>
					<height>360</height>
					<width>480</width>
					<right>60</right>
					<orientation>vertical</orientation>
					<align>center</align>
					<itemgap>0</itemgap>
					<control type="label">
						<height>40</height>
						<label>$LOCALIZE[209]</label>
						<font>MusicPlayer_Title</font>
						<textcolor>$VAR[Primary_Color]</textcolor>
						<align>right</align>
					</control>
					<control type="textbox">
						<height max="320">auto</height>
						<label>$INFO[MusicPlayer.offset(1).Title]$VAR[MusicPlayer_Offset(1)_Artist_Divider, , ]$INFO[MusicPlayer.offset(1).Artist]</label>
						<font>MusicPlayer_Info</font>
						<textcolor>$VAR[Primary_Color]</textcolor>
						<align>right</align>
					</control>
				</control>
			</include>
		</control>
	</controls>
</window>