<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="2006">
    <defaultcontrol always="true">-</defaultcontrol>
    <allowoverlay>no</allowoverlay>
    <onload condition="Skin.HasSetting(osd.alwaysshowmusicosd)">ActivateWindow(musicosd)</onload>

    <controls>
        <control type="visualisation" id="2">
            <visible>Skin.HasSetting(OSDVisualisation.ShowFanart) | [!Skin.HasSetting(musicvis.fanartfallback) + [!System.HasAddon(script.artistslideshow) | Skin.HasSetting(ArtistSlideShow.Disabled)]]</visible>
            <description>visualisation</description>
            <include>Dimensions_Fullscreen</include>
        </control>
        <control type="image">
            <aspectratio>scale</aspectratio>
            <include>Dimensions_Fullscreen</include>
            <texture background="true">$INFO[Player.Art(fanart)]</texture>
            <visible>!System.HasAddon(script.artistslideshow) | Skin.HasSetting(ArtistSlideShow.Disabled)</visible>
            <visible>Skin.HasSetting(musicvis.fanartfallback)</visible>
            <animation effect="fade" start="100" end="65" time="0" condition="Skin.HasSetting(OSDVisualisation.ShowFanart)">Conditional</animation>
            <animation effect="zoom" start="110" end="130" center="auto" time="10000" tween="sine" easing="inout" pulse="true" condition="Skin.HasSetting(ArtistSlideshow.Animate)">Conditional</animation>
            <animation effect="slide" start="-30,-30" end="30,30" time="6000" tween="sine" easing="inout" pulse="true" condition="Skin.HasSetting(ArtistSlideshow.Animate)">Conditional</animation>
        </control>
        <control type="multiimage">
            <aspectratio>scale</aspectratio>
            <include>Dimensions_Fullscreen</include>
            <timeperimage>10000</timeperimage>
            <randomize>true</randomize>
            <fadetime>600</fadetime>
            <loop>yes</loop>
            <imagepath background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
            <visible>System.HasAddon(script.artistslideshow) + !Skin.HasSetting(ArtistSlideShow.Disabled)</visible>
            <animation effect="fade" start="100" end="65" time="0" condition="Skin.HasSetting(OSDVisualisation.ShowFanart)">Conditional</animation>
            <animation effect="zoom" start="110" end="130" center="auto" time="10000" tween="sine" easing="inout" pulse="true" condition="Skin.HasSetting(ArtistSlideshow.Animate)">Conditional</animation>
            <animation effect="slide" start="-30,-30" end="30,30" time="6000" tween="sine" easing="inout" pulse="true" condition="Skin.HasSetting(ArtistSlideshow.Animate)">Conditional</animation>
        </control>
        

        
        <control type="image">
            <height>100%</height>
            <width>100%</width>
            <texture>common/white.png</texture>
            <colordiffuse>$VAR[OSDPanel]</colordiffuse>
            <animation effect="fade" start="100" end="90" condition="Skin.HasSetting(osd.usetheme)">Conditional</animation>
            <visible>Window.IsVisible(script-cu-lrclyrics-main.xml)</visible>
        </control>
        <control type="group">
            <visible>!Window.IsVisible(musicosd)</visible>
            <visible>Window.IsVisible(script-cu-lrclyrics-main.xml) | Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.ShowInfo</visible>
            <animation effect="slide" start="0,110" end="0" time="150" tween="quadratic">Visible</animation>
            <animation effect="slide" start="0,110" end="0" time="150" tween="quadratic">WindowOpen</animation>
            <animation effect="slide" end="0,110" start="0" time="150" tween="quadratic">Hidden</animation>
            <animation effect="slide" end="0,110" start="0" time="150" tween="quadratic">WindowClose</animation>
            <control type="image">
                <top>110r</top>
                <width>100%</width>
                <height>374</height>
                <texture>common/white.png</texture>
                <colordiffuse>$VAR[OSDPanel]</colordiffuse>
                <animation effect="fade" start="100" end="90" condition="Skin.HasSetting(osd.usetheme)">Conditional</animation>
                <visible>!Window.IsVisible(script-cu-lrclyrics-main.xml)</visible>
            </control>
            <control type="group">
                <animation effect="fade" start="0" end="100" delay="150" time="150">Visible</animation>
                <animation effect="fade" start="0" end="100" delay="150" time="150">WindowOpen</animation>
                <top>110r</top>
                <bottom>0</bottom>
                <width>100%</width>
                
                <control type="group">
                    <left>SidePad</left>
                    <right>SidePad</right>
                    <top>20</top>
                    <bottom>20</bottom>
                    <control type="label" description="Finishes Time">
                        <left>0</left>
                        <right>0</right>
                        <bottom>30</bottom>
                        <height>40</height>
                        <font>Tiny</font>
                        <textcolor>$VAR[OSDPanelWhite70]</textcolor>
                        <label>$VAR[PlayerStatus]</label>
                    </control>
                    <control type="label" description="Duration Total Time">
                        <right>0</right>
                        <align>right</align>
                        <width>400</width>
                        <bottom>30</bottom>
                        <height>40</height>
                        <font>Tiny</font>
                        <textcolor>$VAR[OSDPanelWhite70]</textcolor>
                        <label>$INFO[Player.Time]$INFO[Player.Duration,  /  ,]</label>
                    </control>
          
                    <control type="progress" description="cache">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>10</bottom>
                        <height>8</height>
                        <info>Player.ProgressCache</info>
                        <visible>true</visible>
                        <texturebg colordiffuse="00ffffff">osd/progress-bg.png</texturebg>
                        <lefttexture colordiffuse="Highlight2">osd/progress-end.png</lefttexture>
                        <midtexture colordiffuse="Highlight2">osd/progress-end.png</midtexture>
                        <righttexture colordiffuse="Highlight2">osd/progress-end.png</righttexture>
                    </control>
                    <control type="progress" id="23">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>10</bottom>
                        <height>8</height>
                        <info>Player.Progress</info>
                    </control>
                </control>
            </control>
        </control>
        
    
        <control type="group">
            <visible>Player.ShowCodec</visible>
            <visible>!Window.IsVisible(script-cu-lrclyrics-main.xml)</visible>
            <left>70</left>
            <posy>70</posy>
            <width>1420</width>
            <height>100</height>
            <include>Animation.FadeIn.Slide</include>
            <include>Animation.FadeOut</include>
            <animation effect="slide" end="668" start="0" time="150" tween="quadratic" condition="Window.IsActive(musicosd)">Conditional</animation>
            <control type="image">
                <description>background image</description>
                <posx>0</posx>
                <posy>0</posy>
                <width>100%</width>
                <height>100%</height>
                <texture border="16" colordiffuse="$VAR[OSDPanel]">common/rounded-shadow8.png</texture>
            </control>
            <control type="label">
                <description>row 1 label</description>
                <left>30</left>
                <right>30</right>
                <height>100%</height>
                <align>left</align>
                <aligny>center</aligny>
                <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>
                <textcolor>$VAR[OSDPanelWhite100]</textcolor>
            </control>
        </control>
        
        
    </controls>

</window>
