<?xml version="1.0" encoding="utf-8"?>
<window>
    <onload condition="Skin.HasSetting(Use_Artist_Slideshow) + system.hasaddon(script.artistslideshow)">RunScript(script.artistslideshow)</onload>
    <include condition="!Skin.HasSetting(BlackGlassMode)|Skin.HasSetting(DisableSlidingAnimations)">OpenClose</include>
    <controls>
        <control type="group">
            <include>Fanart_Art</include>
            <include>Player_Show</include>
            <control type="image">
                <visible>Skin.HasSetting(BlackGlassMode)</visible>
                <posx>0</posx>
                <posy>0</posy>
                <width>1920</width>
                <height>1080</height>
                <include>BgOverlayFanart</include>
                <include>OverlayBG</include>
            </control>
            <control type="progress" id="23">
                <visible>true</visible>
                <posx>-2000</posx>
                <posy>-1500</posy>
                <width>747</width>
                <info>Player.Progress</info>
                <visible>true</visible>
            </control>
            <control type="group">
                <visible>[Player.Paused |Player.ShowInfo | Window.IsActive(MusicOSD) | Window.IsVisible(script-cu-lrclyrics-main.xml)] + ![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog)]</visible>
                <include condition="!Skin.HasSetting(BlackGlassMode)|Skin.HasSetting(DisableSlidingAnimations)">MusicOSDFade</include>
                <include condition="Skin.HasSetting(BlackGlassMode)+!Skin.HasSetting(DisableSlidingAnimations)">MusicOSDSlideRight</include>
                <control type="group">
                    <posy>55</posy>
                    <control type="group">
                        <!-- CLEAR ART / LOGO-->
                        <control type="image">
                            <visible>Skin.HasSetting(EnableClearArt) | Skin.HasSetting(EnableClearLogo)</visible>
                            <posx>645r</posx>
                            <posy>283</posy>
                            <width>300</width>
                            <height>235</height>
                            <aspectratio align="right" aligny="bottom">keep</aspectratio>
                            <texture background="true">$VAR[MusicPlayerClearArtLogo]</texture>
                        </control>
                    </control>
                    <control type="image">
                        <posx>233</posx>
                        <posy>483</posy>
                        <width>1454</width>
                        <height>480</height>
                        <texture border="90">common/bg_dialog.png</texture>
                    </control>
                    <control type="image">
                        <posx>404</posx>
                        <posy>539</posy>
                        <height>373</height>
                        <width>250</width>
                        <texture>list/bg_strip_horizontal_left.png</texture>
                        <colordiffuse>90ffffff</colordiffuse>
                    </control>
                    <control type="image">
                        <posx>655</posx>
                        <posy>539</posy>
                        <width>2</width>
                        <height>373</height>
                        <texture>list/bg_facade_vertical.png</texture>
                    </control>
                    <!-- CDART MUSIC -->
                    <include content="DiscArt">
                        <param name="visible" value="!String.IsEmpty(Player.Art(thumb))"/>
                        <param name="x" value="135"/>
                        <param name="y" value="565"/>
                        <param name="width" value="321"/>
                        <param name="height" value="321"/>
                        <param name="texture" value="$VAR[MusicPlayerCdArt]"/>
                    </include>
                    <control type="image">
                        <posx>280</posx>
                        <posy>538</posy>
                        <width>375</width>
                        <height>375</height>
                        <texture background="true" fallback="defaultAudioBig.png">$INFO[Player.Art(thumb)]</texture>
                        <include>ThumbBorder</include>
                        <aspectratio aligny="top" align="center">keep</aspectratio>
                    </control>
                    <control type="group">
                        <posx>656</posx>
                        <control type="label">
                            <posx>37</posx>
                            <posy>562</posy>
                            <height>36</height>
                            <width>910</width>
                            <font>InfoTitleFont</font>
                            <textcolor>MainColor</textcolor>
                            <label>$INFO[MusicPlayer.Title]</label>
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>531</posy>
                            <width>986</width>
                            <height>90</height>
                            <texture border="3">list/bg_facade_nofocus_top.png</texture>
                        </control>
                        <control type="label">
                            <posx>37</posx>
                            <posy>621</posy>
                            <height>66</height>
                            <width>910</width>
                            <font>InfoDetailsFont</font>
                            <textcolor>AlternateColor</textcolor>
                            <label>$INFO[MusicPlayer.Artist]</label>
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>599</posy>
                            <width>986</width>
                            <height>90</height>
                            <texture border="3">list/bg_facade_nofocus_top.png</texture>
                        </control>
                        <control type="label">
                            <posx>37</posx>
                            <posy>689</posy>
                            <height>66</height>
                            <width>910</width>
                            <font>InfoDetailsFont</font>
                            <textcolor>MainColor</textcolor>
                            <label>$INFO[MusicPlayer.Album]</label>
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>667</posy>
                            <width>986</width>
                            <height>90</height>
                            <texture border="3">list/bg_facade_nofocus_top.png</texture>
                        </control>
                        <control type="label">
                            <posx>37</posx>
                            <posy>757</posy>
                            <height>66</height>
                            <width>910</width>
                            <font>InfoDetailsFont</font>
                            <textcolor>AlternateColor</textcolor>
                            <label>$INFO[MusicPlayer.TimeSpeed,, / ]$INFO[MusicPlayer.Duration]</label>
                        </control>
                        <control type="label">
                            <visible>!Skin.HasSetting(plexbmc)</visible>
                            <posx>950</posx>
                            <posy>757</posy>
                            <height>66</height>
                            <width>910</width>
                            <align>right</align>
                            <font>InfoDetailsFont</font>
                            <textcolor>AlternateColor</textcolor>
                            <label>$INFO[MusicPlayer.PlaylistPosition,, / ]$INFO[MusicPlayer.PlaylistLength]</label>
                        </control>
                        <control type="image">
                            <posx>0</posx>
                            <posy>735</posy>
                            <width>986</width>
                            <height>90</height>
                            <texture border="3">list/bg_facade_nofocus_top.png</texture>
                        </control>
                        <!-- <control type="label">
                            <visible>!Skin.HasSetting(plexbmc)</visible>
                            <posx>37</posx>
                            <posy>825</posy>
                            <height>66</height>
                            <width>420</width>
                            <font>NotificationFont</font>
                            <textcolor>MainColor</textcolor>
                            <label>$INFO[MusicPlayer.offset(-1).Title,[COLOR=AlternateColor]$LOCALIZE[210]: [/COLOR]]</label>
                        </control> -->
                        <control type="label">
                            <visible>!Skin.HasSetting(plexbmc)</visible>
                            <posx>950</posx>
                            <posy>835</posy>
                            <height>66</height>
                            <width>420</width>
                            <align>right</align>
                            <font>NotificationFont</font>
                            <textcolor>MainColor</textcolor>
                            <label>$INFO[MusicPlayer.offset(1).Title,[COLOR=AlternateColor]$LOCALIZE[209]: [/COLOR]]</label>
                        </control>
                        <control type="grouplist">
                            <posx>37</posx>
                            <posy>835</posy>
                            <width>1006</width>
                            <height>408</height>
                            <itemgap>20</itemgap>
                            <orientation>horizontal</orientation>
                            <align>left</align>
                            <aligny>center</aligny>
                            <include>CodecsMusicOSD</include>
                        </control>
                    </control>
                </control>
            </control>
            <control type="group">
                <animation effect="slide" start="0,0" end="0,-250" time="0" condition="[Player.Paused |Player.ShowInfo | Window.IsActive(MusicOSD)] + ![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog)]">conditional</animation>
                <control type="image">
                    <visible>![Player.Caching | Player.Seeking | player.forwarding | player.rewinding | Player.DisplayAfterSeek] + [Player.Paused] + !Skin.HasSetting(DisablePauseIconOSD)</visible>
                    <posx>810</posx>
                    <posy>390</posy>
                    <width>300</width>
                    <height>300</height>
                    <texture>OSD/pause.png</texture>
                </control>
                <control type="image">
                    <visible>player.rewinding + !Skin.HasSetting(DisablePauseIconOSD)</visible>
                    <posx>810</posx>
                    <posy>390</posy>
                    <width>300</width>
                    <height>300</height>
                    <texture>OSD/rewind.png</texture>
                </control>
                <control type="image">
                    <visible>player.forwarding + !Skin.HasSetting(DisablePauseIconOSD)</visible>
                    <posx>810</posx>
                    <posy>390</posy>
                    <width>300</width>
                    <height>300</height>
                    <texture>OSD/fastforward.png</texture>
                </control>
            </control>
        </control>
    </controls>
</window>
