<?xml version="1.0" encoding="UTF-8"?>
<window id="2006">
  <defaultcontrol always="true">-</defaultcontrol>
  <allowoverlay>no</allowoverlay>
  <onload condition="system.hasaddon(script.artistslideshow)">RunScript(script.artistslideshow)</onload>
  <controls>
    <control type="group">
      <control type="visualisation" id="2" description="Visualisation">
        <posx>0</posx>
        <posy>0</posy>
        <width>1920</width>
        <height>1080</height>
      </control>
      <control type="progress" id="23" description="Progress Bar">
        <visible>true</visible>
        <posx>84</posx>
        <posy>-750</posy>
        <width>747</width>
        <info>Player.Progress</info>
        <visible>true</visible>
      </control>
      <control type="multiimage" description="Slideshow">
        <visible>Skin.HasSetting(MusicPlayingFanart) + !IsEmpty(Window(Visualisation).Property(ArtistSlideshow))</visible>
        <include>Dimensions_Fullscreen</include>
        <fadetime>400</fadetime>
        <imagepath background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
        <aspectratio aligny="top">scale</aspectratio>
        <timeperimage>14000</timeperimage>
        <fadetime>10000</fadetime>
        <randomize>true</randomize>
        <animation effect="fade" start="0" end="70" time="300">Visible</animation>
        <animation effect="fade" start="70" end="0" time="200">Hidden</animation>
        <animation type="Conditional" condition="true">
          <effect type="fade" start="0" end="70" time="0" reversible="false" />
        </animation>
      </control>
      <control type="image" description="Fanart only">
        <visible>Skin.HasSetting(MusicPlayingFanart) + IsEmpty(Window(Visualisation).Property(ArtistSlideshow))</visible>
        <include>Dimensions_Fullscreen</include>
        <fadetime>400</fadetime>
        <aspectratio>scale</aspectratio>
        <texture background="true">$INFO[MusicPlayer.Property(Fanart_Image)]</texture>
        <animation effect="fade" start="0" end="70" time="300">Visible</animation>
        <animation effect="fade" start="70" end="0" time="200">Hidden</animation>
        <animation type="Conditional" condition="true">
          <effect type="fade" start="0" end="70" time="0" reversible="false" />
        </animation>
      </control>
      <control type="group" description="INFO grouped for visibility sake">
        <visible>[Player.ShowInfo | Window.IsActive(MusicOSD) | !Visualisation.Enabled] + ![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList)]</visible>
        <animation effect="fade" time="500">Visible</animation>
        <animation effect="fade" time="200">Hidden</animation>
        <control type="image" description="Info BG">
          <posx>0</posx>
          <posy>195</posy>
          <width>1920</width>
          <height>885</height>
          <fadetime>400</fadetime>
          <aspectratio>stretch</aspectratio>
          <texture>img/DefaultGradient.png</texture>
          <animation effect="fade" time="300">Visible</animation>
          <animation effect="fade" time="200">Hidden</animation>
        </control>
        <control type="group" description="Info panel LEFT">
          <posy>30</posy>
          <animation type="Conditional" condition="!IntegerGreaterThan(Control.GetLabel(23),0)" reversible="false">
            <effect type="zoom" tween="quadratic" start="0" end="100" time="800" center="640,360" />
            <effect type="fade" start="0" end="100" time="800" center="640,360" />
          </animation>
          <animation type="Conditional" condition="StringCompare(Control.GetLabel(23),100)" reversible="false">
            <effect type="zoom" tween="quadratic" easing="in" start="100" end="260" time="300" center="640,360" />
            <effect type="fade" start="100" end="0" easing="out" time="300" />
          </animation>
          <animation type="Conditional" condition="IntegerGreaterThan(Control.GetLabel(23),30) + !IntegerGreaterThan(Control.GetLabel(23),60)" reversible="false">
            <effect type="rotatey" tween="quadratic" start="0" end="180" time="1000" center="960,540" />
            <effect type="fade" start="100" end="0" time="400" center="640,360" />
          </animation>
          <animation type="Conditional" condition="![IntegerGreaterThan(Control.GetLabel(23),30) + !IntegerGreaterThan(Control.GetLabel(23),60)]" reversible="false">
            <effect type="rotatey" tween="quadratic" start="180" end="0" time="1000" center="960,540" />
            <effect type="fade" start="0" end="100" delay="300" time="700" center="640,360" />
          </animation>
          <control type="group" description="Music Cover group">
            <camera x="450" y="450" />
            <animation effect="rotatey" start="0" end="-9" center="450," time="0" reversible="false" condition="true">Conditional</animation>
            <posy>225</posy>
            <posx>150</posx>
            <control type="image" description="MusicAlbum">
              <posx>0</posx>
              <posy>600</posy>
              <height>600</height>
              <width>600</width>
              <fadetime>300</fadetime>
              <aspectratio aligny="top">stretch</aspectratio>
              <texture flipy="true" diffuse="img/Reflection1Long.png">$INFO[MusicPlayer.Cover]</texture>
            </control>
            <control type="image" description="MusicAlbum">
              <posx>0</posx>
              <posy>0</posy>
              <height>600</height>
              <width>600</width>
              <fadetime>300</fadetime>
              <aspectratio aligny="bottom">stretch</aspectratio>
              <texture diffuse="img/Diffuse1.png">$INFO[MusicPlayer.Cover]</texture>
            </control>
            <control type="image" description="MusicAlbum">
              <visible>!IsEmpty(MusicPlayer.Cover)</visible>
              <posx>0</posx>
              <posy>0</posy>
              <height>600</height>
              <width>600</width>
              <fadetime>300</fadetime>
              <texture border="4">img/CoverOverlay1.png</texture>
              <aspectratio aligny="bottom">stretch</aspectratio>
            </control>
          </control>
          <control type="group" description="Main Labels">
            <posx>864</posx>
            <control type="label" description="Title label">
              <posx>0</posx>
              <posy>525</posy>
              <width>900</width>
              <scroll>true</scroll>
              <align>left</align>
              <font>size28B</font>
              <textcolor>White2</textcolor>
              <shadowcolor>Black</shadowcolor>
              <animation effect="fade" time="200">VisibleChange</animation>
              <label>$INFO[MusicPlayer.Title]</label>
            </control>
            <control type="label" description="Artist">
              <posx>0</posx>
              <posy>585</posy>
              <width>900</width>
              <label>$INFO[MusicPlayer.Artist]</label>
              <scroll>true</scroll>
              <align>left</align>
              <font>size25</font>
              <textcolor>Grey3</textcolor>
            </control>
            <control type="label" description="Album">
              <posy>636</posy>
              <width>900</width>
              <label>$INFO[MusicPlayer.Album]</label>
              <align>left</align>
              <font>size25</font>
              <textcolor>Grey3</textcolor>
            </control>
            <control type="label" description="Track position">
              <posx>0</posx>
              <posy>690</posy>
              <width>900</width>
              <align>left</align>
              <textcolor>Grey</textcolor>
              <animation effect="fade" time="200">VisibleChange</animation>
              <label>[B]$INFO[MusicPlayer.PlaylistPosition] $LOCALIZE[20163] $INFO[MusicPlayer.PlaylistLength][/B]</label>
              <font>size17</font>
            </control>
            <control type="group">
              <posy>756</posy>
              <control type="label">
                <posx>0</posx>
                <posy>0</posy>
                <height>30</height>
                <width>123</width>
                <align>left</align>
                <label>[B]$INFO[Player.Time][/B]</label>
                <font>size17</font>
                <textcolor>Grey2</textcolor>
              </control>
              <control type="progress" description="Progress Bar">
                <posx>122</posx>
                <posy>11</posy>
                <width>675</width>
                <height>13</height>
                <texturebg border="6,0,6,0">MusicOSD/ProgressBG.png</texturebg>
                <midtexture border="0,1,0,1">MusicOSD/ProgressMidd.png</midtexture>
                <righttexture border="0,1,6,1">MusicOSD/ProgressRight.png</righttexture>
                <lefttexture border="6,1,0,1">MusicOSD/ProgressLeft.png</lefttexture>
                <overlaytexture>-</overlaytexture>
                <info>Player.Progress</info>
                <visible>true</visible>
              </control>
              <control type="label">
                <posx>930</posx>
                <posy>0</posy>
                <height>30</height>
                <width>123</width>
                <align>right</align>
                <label>[B]$INFO[Player.TimeRemaining,-][/B]</label>
                <font>size17</font>
                <textcolor>Grey2</textcolor>
              </control>
              <control type="label">
                <posx>777</posx>
                <posy>45</posy>
                <height>30</height>
                <width>135</width>
                <align>left</align>
                <label>$INFO[Control.GetLabel(23)]</label>
                <font>size17</font>
                <textcolor>Red</textcolor>
                <visible>Skin.HasSetting(DebugInfo)</visible>
              </control>
            </control>
          </control>
        </control>
        <control type="group" description="Info panel RIGHT">
          <posy>30</posy>
          <visible>IntegerGreaterThan(Control.GetLabel(23),30) + !IntegerGreaterThan(Control.GetLabel(23),60)</visible>
          <animation type="Visible" reversible="false">
            <effect type="rotatey" tween="quadratic" start="-180" end="0" time="1000" center="960," />
            <effect type="fade" start="0" end="100" delay="300" time="700" center="640,360" />
          </animation>
          <animation type="Hidden" reversible="false">
            <effect type="rotatey" tween="quadratic" start="0" end="-180" time="1000" center="960," />
            <effect type="fade" start="100" end="0" time="400" center="640,360" />
          </animation>
          <control type="group" description="Music Cover group">
            <camera x="1470" y="450" />
            <animation effect="rotatey" start="0" end="9" center="1470," time="0" reversible="false" condition="true">Conditional</animation>
            <!--<animation effect="rotatey" start="0" end="-16" center="180," time="0" reversible="false" condition="true">Conditional</animation>-->
            <posy>225</posy>
            <posx>1170</posx>
            <control type="image" description="MusicAlbum">
              <posx>0</posx>
              <posy>600</posy>
              <height>600</height>
              <width>600</width>
              <fadetime>300</fadetime>
              <aspectratio aligny="top">stretch</aspectratio>
              <texture flipy="true" diffuse="img/Reflection1Long.png">$INFO[MusicPlayer.Cover]</texture>
            </control>
            <control type="image" description="MusicAlbum">
              <posx>0</posx>
              <posy>0</posy>
              <height>600</height>
              <width>600</width>
              <fadetime>300</fadetime>
              <aspectratio aligny="bottom">stretch</aspectratio>
              <texture diffuse="img/Diffuse1.png">$INFO[MusicPlayer.Cover]</texture>
            </control>
            <control type="image" description="MusicAlbum">
              <visible>!IsEmpty(MusicPlayer.Cover)</visible>
              <posx>0</posx>
              <posy>0</posy>
              <height>600</height>
              <width>600</width>
              <fadetime>300</fadetime>
              <texture border="4">img/CoverOverlay1.png</texture>
              <aspectratio aligny="bottom">stretch</aspectratio>
            </control>
          </control>
          <control type="group" description="Main Labels">
            <posx>1041</posx>
            <control type="label" description="Title label">
              <posx>0</posx>
              <posy>525</posy>
              <width>900</width>
              <scroll>true</scroll>
              <align>right</align>
              <font>size28B</font>
              <textcolor>White2</textcolor>
              <animation effect="fade" time="200">VisibleChange</animation>
              <label>$INFO[MusicPlayer.Title]</label>
            </control>
            <control type="label" description="Artist">
              <posx>0</posx>
              <posy>585</posy>
              <width>900</width>
              <label>$INFO[MusicPlayer.Artist]</label>
              <scroll>true</scroll>
              <align>right</align>
              <font>size25</font>
              <textcolor>Grey3</textcolor>
            </control>
            <control type="label" description="Album">
              <posy>636</posy>
              <width>900</width>
              <label>$INFO[MusicPlayer.Album]</label>
              <align>right</align>
              <font>size25</font>
              <textcolor>Grey3</textcolor>
            </control>
            <control type="label" description="Track position">
              <posx>0</posx>
              <posy>690</posy>
              <width>900</width>
              <align>right</align>
              <textcolor>Grey</textcolor>
              <animation effect="fade" time="200">VisibleChange</animation>
              <label>[B]$INFO[MusicPlayer.PlaylistPosition] $LOCALIZE[20163] $INFO[MusicPlayer.PlaylistLength][/B]</label>
              <font>size17</font>
              <shadowcolor>Black</shadowcolor>
            </control>
          </control>
          <control type="group">
            <posy>756</posy>
            <control type="label">
              <posx>112</posx>
              <posy>0</posy>
              <height>30</height>
              <width>123</width>
              <align>left</align>
              <label>[B]$INFO[Player.Time][/B]</label>
              <font>size17</font>
              <textcolor>Grey2</textcolor>
            </control>
            <control type="progress" description="Progress Bar">
              <posx>232</posx>
              <posy>11</posy>
              <width>675</width>
              <height>13</height>
              <texturebg border="6,0,6,0">MusicOSD/ProgressBG.png</texturebg>
                <midtexture border="0,1,0,1">MusicOSD/ProgressMidd.png</midtexture>
                <righttexture border="0,1,6,1">MusicOSD/ProgressRight.png</righttexture>
                <lefttexture border="6,1,0,1">MusicOSD/ProgressLeft.png</lefttexture>
              <overlaytexture>-</overlaytexture>
              <info>Player.Progress</info>
              <visible>true</visible>
            </control>
            <control type="label">
              <posx>1041</posx>
              <posy>0</posy>
              <height>30</height>
              <width>123</width>
              <align>right</align>
              <label>[B]$INFO[Player.TimeRemaining,-][/B]</label>
              <font>size17</font>
              <textcolor>Grey2</textcolor>
            </control>
            <control type="label">
              <posx>777</posx>
              <posy>45</posy>
              <height>30</height>
              <width>135</width>
              <align>left</align>
              <label>$INFO[Control.GetLabel(23)]</label>
              <font>size17</font>
              <textcolor>Red</textcolor>
              <visible>Skin.HasSetting(DebugInfo)</visible>
            </control>
          </control>
        </control>
      </control>
    </control>
    <control type="group" id="0">
      <posx>0</posx>
      <posy>0</posy>
      <visible>Player.ShowCodec</visible>
      <animation effect="fade" time="200">VisibleChange</animation>
      <control type="image" description="Info Background">
        <posx>0</posx>
        <posy>0</posy>
        <width>1920</width>
        <height>60</height>
        <texture>img/BlackDotST2.png</texture>
      </control>
      <control type="label" description="row 1 sys label">
        <posx>45</posx>
        <posy>0</posy>
        <width>1770</width>
        <height>60</height>
        <align>left</align>
        <aligny>center</aligny>
        <font>size17</font>
        <label>[UPPERCASE]$INFO[musicplayer.Codec][/UPPERCASE] $INFO[musicplayer.Bitrate, @ ,kbps]$INFO[musicplayer.bitspersample, · ,bit]$INFO[musicplayer.Samplerate, · ,kHz]$INFO[musicplayer.Channels, · , $LOCALIZE[21444]]</label>
      </control>
      <control type="label" description="row 2 sys label">
        <posx>1875</posx>
        <posy>0</posy>
        <width>1770</width>
        <height>60</height>
        <align>right</align>
        <aligny>center</aligny>
        <font>size17</font>
        <label>$INFO[Visualisation.Preset,, @ ]$INFO[Visualisation.Name]</label>
      </control>
    </control>
    <control type="group">
      <posy>1020</posy>
      <visible>IntegerGreaterThan(Control.GetLabel(23),95) | !IntegerGreaterThan(Control.GetLabel(23),5)</visible>
      <animation effect="fade" time="800">VisibleChange</animation>
      <animation condition="Window.IsActive(MusicOSD.xml)" effect="slide" start="0,0" end="0,-105" time="200">Conditional</animation>
      <control type="label" description="Previous">
        <posx>30</posx>
        <height>36</height>
        <width>750</width>
        <align>left</align>
        <scroll>false</scroll>
        <scrollout>false</scrollout>
        <scrollspeed>200</scrollspeed>
        <pauseatend>5000</pauseatend>
        <label>$INFO[MusicPlayer.offset(-1).Title,[COLOR=Grey]$LOCALIZE[210]: [/COLOR]]</label>
        <font>size18</font>
        <textoffsetx>20</textoffsetx>
        <textcolor>Grey3</textcolor>
        <shadowcolor>Black</shadowcolor>
      </control>
      <control type="label" description="Next">
        <posx>1890</posx>
        <height>36</height>
        <width>750</width>
        <align>right</align>
        <scroll>false</scroll>
        <scrollout>false</scrollout>
        <scrollspeed>200</scrollspeed>
        <pauseatend>5000</pauseatend>
        <label>$INFO[MusicPlayer.offset(1).Title,[COLOR=Grey]$LOCALIZE[209]: [/COLOR]]</label>
        <font>size18</font>
        <textoffsetx>20</textoffsetx>
        <textcolor>Grey3</textcolor>
        <shadowcolor>Black</shadowcolor>
      </control>
    </control>
  </controls>
</window>