<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="135">
    <defaultcontrol always="true">10</defaultcontrol>
    <allowoverlay>no</allowoverlay>

    <controls>
        <control type="group">
            <visible>!Window.IsVisible(DialogAlbumInfo.xml)</visible>
            <include>Animation.FadeIn</include>
            <include>Animation.FadeOut</include>
            <include>GlobalOverlay</include>
        </control>   
        <control type="group">
            <visible>!Window.IsVisible(DialogAlbumInfo.xml)</visible>
            <include>Animation.FadeIn.Slide</include>
            <include>Animation.FadeOut</include>
            <centerleft>50%</centerleft>
            <centertop>50%</centertop>
            <width>1440</width>
            <height>322</height>
            <control type="image">
                <left>0</left>
                <top>0</top>
                <right>0</right>
                <height>318</height>
                <texture border="32">common/shadow-24.png</texture>
            </control>
            <control type="image">
                <left>24</left>
                <top>24</top>
                <right>24</right>
                <height>270</height>
                <texture border="8" colordiffuse="Dark1">common/box.png</texture>
            </control>

            <control type="grouplist" id="9000">
                <posx>27</posx>
                <width>350</width>
                <top>27</top>
                <bottom>27</bottom>
                <itemgap>3</itemgap>
                <onup>9000</onup>
                <ondown>9000</ondown>
                <onright>50</onright>
                <onleft>50</onleft>
                <orientation>vertical</orientation>

                <control type="button" id ="10">
                    <width>350</width>
                    <height>64</height>
                    <label>186</label>
                    <textcolor>Light1</textcolor>
                    <onright>IncreaseRating</onright>
                    <onleft>DecreaseRating</onleft>
                    <texturenofocus colordiffuse="Light4" border="5">common/box.png</texturenofocus>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <include>DefInfoButtons</include>
                </control>
                
                <control type="button" id ="11">
                    <width>350</width>
                    <height>64</height>
                    <label>222</label>
                    <textcolor>Light1</textcolor>
                    <onright>IncreaseRating</onright>
                    <onleft>DecreaseRating</onleft>
                    <texturenofocus colordiffuse="Light4" border="5">common/box.png</texturenofocus>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <include>DefInfoButtons</include>
                </control>
                
                <control type="button" id ="12">
                    <width>350</width>
                    <height>64</height>
                    <label>10523</label>
                    <textcolor>Light1</textcolor>
                    <onright>IncreaseRating</onright>
                    <onleft>DecreaseRating</onleft>
                    <texturenofocus colordiffuse="Light4" border="5">common/box.png</texturenofocus>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <include>DefInfoButtons</include>
                </control>
                
                <control type="button" id ="13">
                    <width>350</width>
                    <height>64</height>
                    <label>13405</label>
                    <textcolor>Light1</textcolor>
                    <onright>IncreaseRating</onright>
                    <onleft>DecreaseRating</onleft>
                    <texturenofocus colordiffuse="Light4" border="5">common/box.png</texturenofocus>
                    <texturefocus colordiffuse="$VAR[ColorHighlight]" border="5">common/box.png</texturefocus>
                    <include>DefInfoButtons</include>
                    <visible>!Skin.HasSetting(global.kioskmode)</visible>
                </control>
            </control>
            
            <control type="image">
                <left>380</left>
                <top>27</top>
                <width>264</width>
                <height>264</height>
                <texture background="true">$VAR[MusicImage]</texture>
                <aspectratio scalediffuse="false">scale</aspectratio>
            </control>

            <control type="group">
                <left>350</left>
                <right>0</right>
                <control type="label">
                    <font>EpisodeNumber</font>
                    <top>15</top>
                    <right>420r</right>
                    <width>150</width>
                    <height>40</height>
                    <align>right</align>
                    <aligny>top</aligny>
                    <label>$NUMBER[0]$NUMBER[0]</label>
                    <textcolor>Light1</textcolor>
                    <selectedcolor>Light1</selectedcolor>
                    <visible>!IntegerGreaterThan(ListItem.TrackNumber,0)</visible>
                </control>
                <control type="label">
                    <font>EpisodeNumber</font>
                    <top>15</top>
                    <right>420r</right>
                    <width>150</width>
                    <height>40</height>
                    <align>right</align>
                    <aligny>top</aligny>
                    <label>0$INFO[ListItem.TrackNumber]</label>
                    <textcolor>Light1</textcolor>
                    <selectedcolor>Light1</selectedcolor>
                    <visible>!IntegerGreaterThan(ListItem.TrackNumber,9) + IntegerGreaterThan(ListItem.TrackNumber,0)</visible>
                </control>
                <control type="label">
                    <font>EpisodeNumber</font>
                    <top>15</top>
                    <right>420r</right>
                    <width>150</width>
                    <height>40</height>
                    <align>right</align>
                    <aligny>top</aligny>
                    <label>$INFO[ListItem.TrackNumber]</label>
                    <textcolor>Light1</textcolor>
                    <selectedcolor>Light1</selectedcolor>
                    <visible>IntegerGreaterThan(ListItem.TrackNumber,9)</visible>
                </control>
                <control type="label">
                    <top>47</top>
                    <left>440</left>
                    <right>254</right>
                    <height>40</height>
                    <align>left</align>
                    <aligny>top</aligny>
                    <label>$INFO[ListItem.Title]</label>
                    <font>SmallBold</font>
                    <textcolor>Light1</textcolor>
                    <selectedcolor>Light1</selectedcolor>
                </control>
                <control type="label">
                    <top>85</top>
                    <left>440</left>
                    <right>50</right>
                    <height>40</height>
                    <align>left</align>
                    <aligny>top</aligny>
                    <label fallback="19055">$INFO[ListItem.Artist]$INFO[ListItem.Album,  •  ,]</label>
                    <font>Tiny</font>
                    <textcolor>Light1</textcolor>
                    <selectedcolor>Light1</selectedcolor>
                </control>
                <control type="textbox">
                    <top>170</top>
                    <left>320</left>
                    <right>50</right>
                    <bottom>54</bottom>
                    <align>justify</align>
                    <aligny>top</aligny>
                    <label>$INFO[ListItem.Genre,[B]$LOCALIZE[515]  [/B],[CR]]$INFO[ListItem.Duration,[B]$LOCALIZE[180]  [/B],[CR]]</label>
                    <font>Tiny</font>
                    <textcolor>Light1</textcolor>
                    <selectedcolor>Light1</selectedcolor>
                </control>
                <control type="group">
                    <right>24</right>
                    <top>24</top>
                    <width>300</width>
                    <control type="image">
                        <right>0</right>
                        <width>64</width>
                        <height>64</height>
                        <texture colordiffuse="Light1">flags/$VAR[MusicFlagstar5].png</texture>
                    </control>
                    <control type="image">
                        <right>38</right>
                        <width>64</width>
                        <height>64</height>
                        <texture colordiffuse="Light1">flags/$VAR[MusicFlagstar4].png</texture>
                    </control>
                    <control type="image">
                        <right>76</right>
                        <width>64</width>
                        <height>64</height>
                        <texture colordiffuse="Light1">flags/$VAR[MusicFlagstar3].png</texture>
                    </control>
                    <control type="image">
                        <right>114</right>
                        <width>64</width>
                        <height>64</height>
                        <texture colordiffuse="Light1">flags/$VAR[MusicFlagstar2].png</texture>
                    </control>
                    <control type="image">
                        <right>152</right>
                        <width>64</width>
                        <height>64</height>
                        <texture colordiffuse="Light1">flags/$VAR[MusicFlagstar1].png</texture>
                    </control>
                </control>
            </control>
        </control>
    
    </controls>

</window>
