<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <!-- Song -->
    <include name="View_508_SongList">
        <control type="group">
            <visible>Control.IsVisible(508) + !$EXP[isInfoDialog]</visible>
            <include>Animation.Common</include>
            <animation effect="slide" end="0,15" start="0,0" time="0" condition="Window.IsActive(musicplaylist)">Conditional</animation>
            <control type="group">
                <control type="fixedlist" id="508">
                    <left>310</left>
                    <top>145</top>
                    <width>1300</width>
                    <height>880</height>
                    <orientation>vertical</orientation>
                    <movement>2</movement>
                    <focusposition>3</focusposition>
                    <onleft>SetProperty(MediaMenu,True,home)</onleft>
                    <onleft>SetFocus(9050)</onleft>
                    <onright>60</onright>
                    <onup>508</onup>
                    <ondown>508</ondown>
                    <pagecontrol>60</pagecontrol>
                    <viewtype label="31076">list</viewtype>
                    <visible>Container.Content(songs) | Window.IsActive(musicplaylist)</visible>
                    <scrolltime tween="sine" easing="inout">500</scrolltime>
                    <itemlayout height="100" width="1300">
                        <control type="label">
                            <visible>ListItem.IsPlaying + !Player.Paused</visible>
                            <left>275</left>
                            <top>3</top>
                            <width>35</width>
                            <height>70</height>
                            <font>IconSmall</font>
                            <label>$VAR[Icon-Play]</label>
                        </control>
                        <control type="label">
                            <visible>ListItem.IsPlaying + Player.Paused</visible>
                            <left>275</left>
                            <top>3</top>
                            <width>35</width>
                            <height>70</height>
                            <font>IconSmall</font>
                            <label>$VAR[Icon-Pause]</label>
                        </control>
                        <control type="label">
                            <left>315</left>
                            <width>960</width>
                            <height>70</height>
                            <font>font30</font>
                            <label>$INFO[ListItem.TrackNumber]. $INFO[ListItem.Title]</label>
                            <visible>ListItem.IsPlaying</visible>
                        </control>
                        <control type="label">
                            <left>275</left>
                            <width>1000</width>
                            <height>70</height>
                            <font>font30</font>
                            <label>$INFO[ListItem.TrackNumber]. $INFO[ListItem.Title]</label>
                            <visible>!ListItem.IsPlaying</visible>
                        </control>
                    </itemlayout>
                    <focusedlayout height="275" width="1300">
                        <control type="image">
                            <visible>Control.HasFocus(508)</visible>
                            <width>1300</width>
                            <height>275</height>
                            <texture border="5">listselect_fo.png</texture>
                            <colordiffuse>FocusColor</colordiffuse>
                        </control>
                        <control type="image">
                            <left>15</left>
                            <top>15</top>
                            <width>245</width>
                            <height>245</height>
                            <aspectratio scalediffuse="false">scale</aspectratio>
                            <texture background="true" diffuse="diffuse/songlist.png">$INFO[ListItem.Icon]</texture>
                        </control>
                        <control type="label">
                            <visible>ListItem.IsPlaying + !Player.Paused</visible>
                            <left>275</left>
                            <top>3</top>
                            <width>35</width>
                            <height>70</height>
                            <font>IconSmall</font>
                            <label>$VAR[Icon-Play]</label>
                        </control>
                        <control type="label">
                            <visible>ListItem.IsPlaying + Player.Paused</visible>
                            <left>275</left>
                            <top>3</top>
                            <width>35</width>
                            <height>70</height>
                            <font>IconSmall</font>
                            <label>$VAR[Icon-Pause]</label>
                        </control>
                        <control type="label">
                            <left>315</left>
                            <width>960</width>
                            <height>70</height>
                            <font>font30</font>
                            <label>$INFO[ListItem.TrackNumber]. $INFO[ListItem.Title]</label>
                            <visible>ListItem.IsPlaying</visible>
                        </control>
                        <control type="label">
                            <left>275</left>
                            <width>1000</width>
                            <height>70</height>
                            <font>font30</font>
                            <label>$INFO[ListItem.TrackNumber]. $INFO[ListItem.Title]</label>
                            <visible>!ListItem.IsPlaying</visible>
                        </control>
                        <control type="label">
                            <left>275</left>
                            <top>55</top>
                            <width>990</width>
                            <height>70</height>
                            <font>font16</font>
                            <label>$INFO[ListItem.Artist]</label>
                        </control>
                        <control type="label">
                            <left>275</left>
                            <top>105</top>
                            <width>990</width>
                            <height>70</height>
                            <font>font16</font>
                            <label>$INFO[ListItem.Album] $INFO[ListItem.Year,[,]]</label>
                        </control>
                        <control type="label">
                            <left>275</left>
                            <top>135</top>
                            <width>990</width>
                            <height>110</height>
                            <font>font16</font>
                            <label fallback="• • • •">$INFO[ListItem.Duration]</label>
                        </control>
                        <control type="image">
                            <left>165</left>
                            <top>220</top>
                            <width>400</width>
                            <height>45</height>
                            <aspectratio>keep</aspectratio>
                            <texture colordiffuse="TitleTextColor">$VAR[StarRatingVar]</texture>
                        </control>
                        <control type="image">
                            <left>1125</left>
                            <top>185</top>
                            <include>MediaFlagVars</include>
                            <width>130</width>
                            <texture background="true" colordiffuse="TitleTextColor">$INFO[ListItem.FileExtension,flags/audiocodec/,.png]</texture>
                        </control>
                    </focusedlayout>
                </control>
            </control>
        </control>
        <control type="group">
            <animation effect="slide" end="0,15" start="0,0" time="0" condition="Window.IsActive(musicplaylist)">Conditional</animation>
            <visible>Control.IsVisible(508) + !$EXP[isInfoDialog]</visible>
            <top>-15</top>
            <include>Scrollbar_Vertical</include>
        </control>
    </include>
</includes>