<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd">

<mythuitheme>

    <!-- The main playback screen showing the current playlist -->
    <window name="playlistview" include="music-base.xml">

        <shape name="playlist_background" from="basebackground">
            <area>15,15,770,350</area>
        </shape>

        <textarea name="notracks" from="basetextarea">
            <area>15,15,770,210</area>
            <multiline>yes</multiline>
            <align>allcenter</align>
            <value>You haven't selected any tracks to play</value>
        </textarea>

        <buttonlist name="currentplaylist" from="basecurrentplaylist">
            <position>25,25</position>
            <searchposition>-1,365</searchposition>
        </buttonlist>

        <statetype name="movingtracksstate" from="basemovingtracksstate">
            <position>695,308</position>
        </statetype>

        <group name="playliststatusgroup" from="baseplayliststatusgroup">
            <position>0,305</position>
        </group>

        <group name="infopanel" from="baseinfopanel">
            <area>0,370,1250,260</area>
        </group>

    </window>

    <!-- The playlist editor in tree view mode -->
    <window name="playlisteditorview_tree" include="music-base.xml">

        <shape name="browser_background" from="basebackground">
            <area>15,15,770,280</area>
            <fill color="#000000" alpha="50" />
        </shape>

        <!-- optional - shows path to current item -->
        <textarea name="breadcrumbs" from="basetextarea">
            <area>30,15,500,40</area>
            <font>basesmall</font>
            <align>left,vcenter</align>
        </textarea>

         <!-- optional - shows current position in grid eg '1 of 123' -->
        <textarea name="position" from="basetextarea">
            <area>580,15,180,40</area>
            <align>right,vcenter</align>
            <font>basesmall</font>
        </textarea>

        <buttontree name="playlist_tree">
            <area>30,55,740,220</area>
            <numlists>2</numlists>
            <spacing>10</spacing>
            <buttonlist name="listtemplate" from="basetreebuttonlist" />
        </buttontree>

        <statetype name="movingtracksstate" from="basemovingtracksstate">
            <position>685,472</position>
        </statetype>

        <group name="playlistpanel" from="baseplaylistpanel">
            <position>0,300</position>
        </group>

        <group name="smallinfopanel" from="basesmallinfopanel">
            <position>0,540</position>
        </group>

    </window>

    <!-- The playlist editor in gallery view mode -->
    <window name="playlisteditorview_gallery" include="music-base.xml">

        <shape name="browser_background" from="basebackground">
            <area>15,15,770,280</area>
            <fill color="#000000" alpha="50" />
        </shape>

        <!-- optional - shows path to current item -->
        <textarea name="breadcrumbs" from="basetextarea">
            <area>30,15,500,40</area>
            <font>basesmall</font>
            <cutdown>left</cutdown>
            <align>left,vcenter</align>
        </textarea>

         <!-- optional - shows current position in grid eg '1 of 123' -->
        <textarea name="position" from="basetextarea">
            <area>580,15,180,40</area>
            <align>right,vcenter</align>
            <font>basesmall</font>
        </textarea>

        <buttontree name="playlist_tree">
            <area>30,50,740,310</area>
            <numlists>1</numlists>
            <spacing>0</spacing>
            <buttonlist name="listtemplate" from="basegallerybuttonlist" />
        </buttontree>

        <statetype name="movingtracksstate" from="basemovingtracksstate">
            <position>1243,395</position>
        </statetype>

        <group name="playlistpanel" from="baseplaylistpanel">
            <position>0,300</position>
        </group>

        <group name="smallinfopanel" from="basesmallinfopanel">
            <position>0,540</position>
        </group>

    </window>

    <!-- The track search view -->
    <window name="searchview">

        <shape name="playlist_background" from="basebackground">
            <area>15,15,770,280</area>
            <fill color="#000000" alpha="50" />
        </shape>

        <buttonlist name="field_list" from="baseselector">
            <position>25,30</position>
        </buttonlist>

        <textedit name="criteria_edit" from="basetextedit">
            <position>250,25</position>
        </textedit>

        <textarea name="matcheslable" from="basetextarea">
            <area>625,20,150,30</area>
            <align>center</align>
            <value>Matches</value>
        </textarea>

        <textarea name="matches_text" from="basetextarea">
            <area>625,50,150,30</area>
            <align>center</align>
        </textarea>

        <buttonlist name="tracks_list" from="basebuttonlist2">
            <area>25,80,750,210</area>
            <spacing>0</spacing>
            <layout>vertical</layout>
            <arrange>stack</arrange>
            <showarrow>no</showarrow>
            <searchposition>-1,295</searchposition>
            <buttonarea>0,0,750,200</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,100%,40</area>
                    <imagetype name="buttonimage">
                        <area>3,3,34,34</area>
                        <filename>mm_nothumb.png</filename>
                    </imagetype>

                    <statetype name="selectedstate">
                        <position>720,8</position>
                        <state name="off"></state>
                        <state name="on">
                            <imagetype name="statusimage">
                                <filename>playlist_yes.png</filename>
                            </imagetype>
                        </state>
                    </statetype>

                    <textarea name="title" from="buttontext">
                        <area>48,0,665,40</area>
                        <align>left,vcenter</align>
                        <font>basesmall</font>
                        <template>%TITLE% by %ARTIST% on %ALBUM%</template>
                    </textarea>

                </state>
                <state name="selectedactive" from="active">
                    <imagetype name="buttonimage">
                        <area>3,3,34,34</area>
                        <filename>mm_nothumb.png</filename>
                    </imagetype>
                    <shape name="selectbar">
                        <area>0,0,750,40</area>
                    </shape>
                </state>
                <state name="selectedinactive" from="active">
                    <shape name="selectbar">
                        <area>0,0,750,40</area>
                    </shape>
                </state>
            </statetype>

            <statetype name="upscrollarrow">
                <position>680,190</position>
            </statetype>

            <statetype name="downscrollarrow">
                <position>710,190</position>
            </statetype>
        </buttonlist>

        <statetype name="movingtracksstate" from="basemovingtracksstate">
            <position>685,472</position>
        </statetype>

        <group name="playlistpanel" from="baseplaylistpanel">
            <position>0,300</position>
            <buttonlist name="currentplaylist">
                <searchposition>-1,140</searchposition>
            </buttonlist>
        </group>

        <group name="smallinfopanel" from="basesmallinfopanel">
            <position>0,540</position>
        </group>

    </window>

    <!-- The fullscreen visualiser view -->
    <window name="visualizerview">

        <video name="visualizer">
            <area>0,0,800,600,</area>
        </video>

    </window>

    <!-- used in the visualiser screen to show some track details after a track change -->
    <window name="trackinfo_popup">
        <area>-1,380,750,190</area>

        <shape name="background" from="basebackground">
            <area>0,0,750,190</area>
            <type>roundbox</type>
            <fill color="#303030" alpha="100" />
            <line color="#FFFFFF" alpha="50" width="2" />
            <cornerradius>12</cornerradius>
        </shape>

        <imagetype name="mm_blackhole_border">
            <filename>mm_blackhole_border.png</filename>
            <area>20,20,148,148</area>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>180,15,550,34</area>
            <font>baselarge</font>
        </textarea>

        <textarea name="artist" from="basetextarea">
            <area>180,50,550,35</area>
            <font>basemedium</font>
        </textarea>

        <textarea name="album" from="basetextarea">
            <area>180,80,550,35</area>
            <font>basemedium</font>
        </textarea>

        <statetype name="ratingstate" from="baseratingstate">
            <position>180,115</position>
        </statetype>

<!--
        <textarea name="length" from="basetextarea">
            <area>170,125,185,25</area>
        </textarea>
-->
        <textarea name="nexttitle" from="basetextarea">
            <area>180,145,550,25</area>
            <template>Next: %NEXTTITLE% by %NEXTARTIST%</template>
        </textarea>

        <imagetype name="coverart">
            <filename>mm_nothumb.png</filename>
            <area>22,22,144,144</area>
        </imagetype>

    </window>

    <window name="cdripper">

        <!-- Labels -->

        <textarea name="quality_label">
            <area>15,27,170,30</area>
            <font>basemedium</font>
            <value>Quality:</value>
            <align>right</align>
        </textarea>

        <textarea name="artist_label" from="quality_label">
            <position>15,80</position>
            <value>Artist:</value>
        </textarea>

        <textarea name="album_label" from="quality_label">
            <position>15,130</position>
            <value>Album:</value>
        </textarea>

        <textarea name="genre_text" from="quality_label">
            <position>15,180</position>
            <value>Genre:</value>
        </textarea>

        <textarea name="comp_label" from="quality_label">
            <position>15,240</position>
            <value>Multi-Artist:</value>
        </textarea>

        <textarea name="year_label" from="quality_label">
            <area>235,240,120,30</area>
            <value>Year:</value>
        </textarea>

        <!-- edits -->

        <buttonlist name="quality" from="baseselector">
            <position>195,20</position>
        </buttonlist>

        <textedit name="artist" from="basetextedit">
            <position>195,65</position>
        </textedit>

        <button name="searchartist" from="basesearchbutton">
            <position>580,70</position>
        </button>

        <textedit name="album" from="basetextedit">
            <position>195,120</position>
        </textedit>

        <button name="searchalbum" from="basesearchbutton">
            <position>580,125</position>
        </button>

        <textedit name="genre" from="basetextedit">
            <position>195,175</position>
        </textedit>

        <button name="searchgenre" from="basesearchbutton">
            <position>580,180</position>
        </button>

        <checkbox name="compilation" from="basecheckbox">
            <position>195,240</position>
        </checkbox>

        <button name="switch" from="basebutton">
            <position>270,235</position>
            <value>Switch Titles</value>
        </button>

        <textedit name="year" from="basetextedit">
            <position>370,230</position>
        </textedit>

        <textarea name="track_label" from="basetextarea">
            <area>50,275,50,30</area>
            <value>Track</value>
            <align>allcenter</align>
        </textarea>

        <textarea name="title_label" from="track_label">
            <area>-7,275,300,30</area>
            <value>Title</value>
        </textarea>

        <textarea name="list_artist_label" from="track_label">
            <area>350,275,220,30</area>
            <value>Artist</value>
        </textarea>

        <textarea name="length_label" from="track_label">
            <area>660,275,100,30</area>
            <value>Length</value>
        </textarea>

        <imagetype name="image">
            <area>25,295,750,280</area>
            <filename>trans-cr-background.png</filename>
        </imagetype>

        <buttonlist name="tracks" from="basebuttonlist">
            <area>40,307,710,245</area>
            <buttonarea>0,0,710,230</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <statetype name="buttoncheck">
                        <position>5,5</position>
                    </statetype>
                    <textarea name="track" from="buttontext">
                        <area>30,0,45,30</area>
                    </textarea>
                    <textarea name="title" from="track">
                        <area>80,0,315,30</area>
                    </textarea>
                    <textarea name="artist" from="track">
                        <area>395,0,220,30</area>
                    </textarea>
                    <textarea name="length" from="track">
                        <area>620,0,90,30</area>
                        <align>center</align>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <shape name="buttonbackground">
                        <area>0,0,100%,100%</area>
                        <fill style="gradient">
                            <gradient start="#52CA38" end="#349838" />
                        </fill>
                    </shape>
                </state>
                <state name="selectedinactive" from="active" />
            </statetype>
        </buttonlist>

        <!-- Buttons -->

        <button name="scan" from="basebutton">
            <position>220,545</position>
            <value>Scan CD</value>
        </button>

        <button name="rip" from="basebutton">
            <position>450,545</position>
            <value>Rip CD</value>
        </button>
    </window>

    <!-- This screen allows you to rip tracks from cd's -->
    <window name="ripstatus">

        <imagetype name="banner">
            <filename>mm_rip_banner.png</filename>
            <position>70,20</position>
        </imagetype>

        <textarea name="banner">
            <area>150,0,500,90</area>
            <value>Rip CD</value>
            <font>baselarge</font>
            <align>hcenter</align>
        </textarea>

        <imagetype name="progress_background">
            <filename>mm_rip_background.png</filename>
            <area>50,70,700,500</area>
        </imagetype>

        <textarea name="overall_label" from="basetextarea">
            <area>80,110,700,40</area>
            <value>Importing CD</value>
        </textarea>

        <textarea name="overall" from="overall_label">
            <position>50,150</position>
            <align>hcenter</align>
        </textarea>

        <textarea name="track_label" from="overall_label">
            <position>80,320</position>
            <value>Encoding Track</value>
        </textarea>

        <textarea name="track" from="overall">
            <position>80,350</position>
        </textarea>

        <textarea name="status" from="overall">
            <position>50,500</position>
        </textarea>

        <progressbar name="overall_progress" from="baseprogressbar">
            <position>160,190</position>
        </progressbar>

        <textarea name="overallpct" from="basetextarea">
            <area>350,230,100,30</area>
            <align>hcenter</align>
        </textarea>

        <progressbar name="track_progress" from="baseprogressbar">
            <position>160,400</position>
        </progressbar>

        <textarea name="trackpct" from="basetextarea">
            <area>350,440,100,30</area>
            <align>hcenter</align>
        </textarea>

    </window>

    <!-- The import music screen -->
    <window name="import_music">

        <shape name="bgimage1">
            <area>195,150,525,35</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="60" />
            <cornerradius>3</cornerradius>
        </shape>

        <shape name="bgimage2" from="bgimage1">
            <area>195,230,525,35</area>
        </shape>

        <shape name="bgimage3" from="bgimage1">
            <area>195,270,525,35</area>
        </shape>

        <shape name="bgimage4" from="bgimage1">
            <area>195,310,525,35</area>
        </shape>

        <shape name="bgimage5" from="bgimage1">
            <area>195,350,525,35</area>
        </shape>

        <shape name="bgimage6" from="bgimage1">
            <area>195,390,525,35</area>
        </shape>

        <shape name="bgimage7" from="bgimage1">
            <area>195,430,175,35</area>
        </shape>

        <shape name="bgimage8" from="bgimage1">
            <area>545,430,175,35</area>
        </shape>

        <shape name="bgimage9" from="bgimage1">
            <area>275,490,250,40</area>
        </shape>

        <shape name="bgimage10" from="bgimage1">
            <area>250,540,300,40</area>
        </shape>

        <textarea name="screentitle">
            <area>15,5,800,50</area>
            <font>baselarge</font>
            <value>Import Music</value>
        </textarea>

        <!-- Labels -->

        <textarea name="location_label" from="basetextarea">
            <area>15,55,170,30</area>
            <value>Location:</value>
        </textarea>

        <textarea name="filename_label" from="location_label">
            <position>15,155</position>
            <value>Filename:</value>
        </textarea>

        <textarea name="compilation_label" from="location_label">
            <position>15,195</position>
            <value>Compilation:</value>
        </textarea>

        <textarea name="compilation_artist_label" from="location_label">
            <position>15,235</position>
            <value>Comp. Artist:</value>
        </textarea>

        <textarea name="artist_label" from="location_label">
            <position>15,275</position>
            <value>Artist:</value>
        </textarea>

        <textarea name="album_label" from="location_label">
            <position>15,315</position>
            <value>Album:</value>
        </textarea>

        <textarea name="title_text" from="location_label">
            <position>15,355</position>
            <value>Title:</value>
        </textarea>

        <textarea name="genre_label" from="location_label">
            <position>15,395</position>
            <value>Genre:</value>
        </textarea>

        <textarea name="year_label" from="location_label">
            <position>15,435</position>
            <value>Year:</value>
        </textarea>

        <textarea name="track_label" from="location_label">
            <position>385,435</position>
            <value>Track No.:</value>
        </textarea>

        <textarea name="position" from="basetextarea">
            <area>250,500,300,30</area>
            <align>hcenter</align>
        </textarea>

        <textarea name="status" from="position">
            <position>250,550</position>
            <value>Already in database</value>
        </textarea>

        <!-- data fields -->

        <textedit name="location" from="basetextedit">
            <position>195,45</position>
        </textedit>

        <button name="directoryfinder" from="basesearchbutton">
            <position>590,55</position>
        </button>

        <button name="scan" from="basebutton">
            <position>195,100</position>
            <value>Search</value>
        </button>

        <button name="coverart" from="basebutton">
            <position>570,100</position>
            <value>Cover Art</value>
        </button>

        <textarea name="filename" from="basetextarea">
            <area>200,155,515,30</area>
            <cutdown>left</cutdown>
            <align>right</align>
        </textarea>

        <checkbox name="compilation" from="basecheckbox">
            <position>195,190</position>
        </checkbox>

        <textarea name="compartist" from="basetextarea">
            <area>200,235,515,30</area>
        </textarea>

        <textarea name="artist" from="basetextarea">
            <area>200,275,515,30</area>
        </textarea>

        <textarea name="album" from="basetextarea">
            <area>200,315,515,30</area>
        </textarea>

        <textarea name="title" from="basetextarea">
            <area>200,355,515,30</area>
        </textarea>

        <textarea name="genre" from="basetextarea">
            <area>200,395,515,30</area>
        </textarea>

        <textarea name="year" from="basetextarea">
            <area>200,435,165,30</area>
        </textarea>

        <textarea name="track" from="basetextarea">
            <area>550,435,165,30</area>
        </textarea>

        <!-- Push buttons -->

        <button name="play" from="basebutton">
            <position>35,490</position>
            <value>Play</value>
        </button>

        <button name="add" from="basebutton">
            <position>35,540</position>
            <value>Add</value>
        </button>

        <button name="prev">
            <area>230,480,60,60</area>
            <statetype name="buttonstate">
                <state name="active">
                    <imagetype name="background">
                        <filename>mm_prev_off.png</filename>
                    </imagetype>
                </state>
                <state name="selected" from="active">
                    <imagetype name="background">
                        <filename>mm_prev_on.png</filename>
                    </imagetype>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="active">
                    <imagetype name="background">
                        <filename>mm_prev_pushed.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </button>

        <button name="next">
            <area>510,480,60,60</area>
            <statetype name="buttonstate">
                <state name="active">
                    <imagetype name="background">
                        <filename>mm_next_off.png</filename>
                    </imagetype>
                </state>
                <state name="selected" from="active">
                    <imagetype name="background">
                        <filename>mm_next_on.png</filename>
                    </imagetype>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="active">
                    <imagetype name="background">
                        <filename>mm_next_pushed.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </button>

        <button name="nextnew" from="basebutton">
            <position>620,490</position>
            <value>Next New</value>
        </button>

        <button name="addallnew" from="basebutton">
            <position>620,540</position>
            <value>Add All New</value>
        </button>

    </window>

   <!-- The import coverart screen (available from the import music screen) -->
    <window name="import_coverart">

        <shape name="bgimage1">
            <area>195,60,565,35</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="60" />
            <cornerradius>3</cornerradius>
        </shape>

        <shape name="bgimage2" from="bgimage1">
            <area>195,450,565,35</area>
        </shape>

        <shape name="bgimage3" from="bgimage1">
            <area>95,150,250,40</area>
        </shape>

        <shape name="bgimage4" from="bgimage1">
            <area>70,240,300,40</area>
        </shape>

        <textarea name="screentitle">
            <area>20,5,800,50</area>
            <font>baselarge</font>
            <value>Import Cover Art</value>
        </textarea>

        <!-- Labels -->
        <textarea name="file_label" from="basetextarea">
            <area>15,65,170,30</area>
            <value>File:</value>
            <align>right</align>
        </textarea>

        <textarea name="destination_label" from="file_label">
            <position>15,455</position>
            <value>Destination:</value>
        </textarea>

        <textarea name="title" from="file_label">
            <position>15,400</position>
            <value>Image Type:</value>
        </textarea>

        <!-- data fields -->

        <imagetype name="coverart">
            <area>440,125,300,300</area>
            <filename>mm_trans_background.png</filename>
        </imagetype>

        <button name="prev" from="basebutton">
            <area>50,140,60,60</area>
            <statetype name="buttonstate">
                <state name="active">
                    <imagetype name="background">
                        <filename>mm_prev_off.png</filename>
                    </imagetype>
                </state>
                <state name="selected" from="active">
                    <imagetype name="background">
                        <filename>mm_prev_on.png</filename>
                    </imagetype>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="active">
                    <imagetype name="background">
                        <filename>mm_prev_pushed.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </button>

        <button name="next" from="basebutton">
            <area>330,140,60,60</area>
            <statetype name="buttonstate">
                <state name="active">
                    <imagetype name="background">
                        <filename>mm_next_off.png</filename>
                    </imagetype>
                </state>
                <state name="selected" from="active">
                    <imagetype name="background">
                        <filename>mm_next_on.png</filename>
                    </imagetype>
                </state>
                <state name="disabled" from="active" />
                <state name="pushed" from="active">
                    <imagetype name="background">
                        <filename>mm_next_pushed.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </button>

        <button name="copy" from="basebutton">
            <position>150,310</position>
            <value>Copy</value>
        </button>

        <textarea name="file" from="basetextarea">
            <area>200,65,550,30</area>
            <cutdown>left</cutdown>
            <align>right</align>
        </textarea>

        <textarea name="destination" from="basetextarea">
            <area>200,455,550,30</area>
            <cutdown>left</cutdown>
            <align>right</align>
        </textarea>

        <textarea name="position">
            <area>70,160,300,30</area>
            <align>hcenter</align>
        </textarea>

        <textarea name="status">
            <area>70,250,300,30</area>
            <value>Already in database</value>
            <align>hcenter</align>
        </textarea>

        <buttonlist name="type" from="baseselector">
            <position>195,400</position>
        </buttonlist>

        <button name="exit" from="basebutton">
            <position>325,540</position>
            <value>Done</value>
        </button>
    </window>

    <window name="miniplayer">
        <area>-1,5,590,190</area>
        <imagetype name="track_info_background">
            <filename>miniplayer_background.png</filename>
            <area>10,10,569,170</area>
        </imagetype>

        <imagetype name="mm_blackhole_border">
            <filename>mm_blackhole_border.png</filename>
            <area>20,20,148,148</area>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>170,15,400,35</area>
            <font>baselarge</font>
        </textarea>

        <textarea name="artist" from="basetextarea">
            <area>170,55,400,35</area>
            <font>basemedium</font>
        </textarea>

        <textarea name="album" from="basetextarea">
            <area>170,90,400,35</area>
            <font>basemedium</font>
        </textarea>

        <statetype name="ratings_state">
        </statetype>

        <textarea name="info" from="basetextarea">
            <area>170,125,250,25</area>
        </textarea>

        <textarea name="time" from="basetextarea">
            <area>385,125,185,25</area>
            <align>right</align>
        </textarea>

        <imagetype name="coverart">
            <filename>mm_nothumb.png</filename>
            <area>22,22,144,144</area>
        </imagetype>

        <progressbar name="progress">
            <area>170,150,10,10</area>
            <layout>horizontal</layout>
            <style>reveal</style>
            <imagetype name="background">
                <filename>mm_progress-bg.png</filename>
            </imagetype>
            <imagetype name="progressimage">
                <filename>mm_progress-fg.png</filename>
            </imagetype>
        </progressbar>
    </window>

    <window name="volume_popup">
        <area>-1,-1,620,165</area>
        <imagetype name="backimg">
            <area>0,0,620,165</area>
            <filename>mythprogressdialog-background.png</filename>
        </imagetype>

        <textarea name="message" from="basetextarea">
            <area>20,20,540,60</area>
            <multiline>yes</multiline>
            <align>allcenter</align>
            <value>Volume</value>
        </textarea>

        <statetype name="mutestate">
            <position>20,90</position>
            <state name="off">
                <imagetype name="statusimage">
                    <filename>mm_volume.png</filename>
                </imagetype>
            </state>
            <state name="on">
                <imagetype name="statusimage">
                    <filename>mm_volume_muted.png</filename>
                </imagetype>
            </state>
        </statetype>

        <progressbar name="volumeprogress" from="baseprogressbar">
            <position>60,80</position>
        </progressbar>

        <textarea name="volume" from="basetextarea">
            <area>70,120,300,30</area>
            <align>left,top</align>
            <template>%VOLUMEPERCENT%</template>
        </textarea>
    </window>

   <!-- this is the main smartplaylist editor screen -->
     <window name="smartplaylisteditor">

        <textarea name="title" from="basetextarea">
            <area>15,5,600,40</area>
            <font>baselarge</font>
            <value>Smart Playlist Editor</value>
        </textarea>

        <textarea name="categorylbl"  from="basetextarea">
            <area>20,50,170,50</area>
            <align>right,vcenter</align>
            <value>Category:</value>
        </textarea>

        <buttonlist name="categoryselector" from="basewideselector">
            <position>200,50</position>
        </buttonlist>


        <button name="categorybutton" from="basesearchbutton">
            <position>610,55</position>
        </button>

        <textarea name="titlelbl"  from="categorylbl">
            <position>20,100</position>
            <value>Title:</value>
        </textarea>

        <textedit name="titleedit" from="basetextedit">
            <area>200,100,675,50</area>
        </textedit>

        <shape name="tracklist_background" from="basebackground">
            <area>15,160,770,280</area>
            <fill color="#000000" alpha="50" />
        </shape>
 
        <textarea name="matchlbl"  from="categorylbl">
            <position>20,180</position>
            <value>Match</value>
        </textarea>

        <buttonlist name="matchselector" from="baseselector">
            <position>200,185</position>
        </buttonlist>

        <textarea name="match2lbl"  from="categorylbl">
            <area>330,180,400,50</area>
            <value>Of The Following Conditions</value>
        </textarea>

        <buttonlist name="criterialist" from="basebuttonlist2">
            <area>25,240,750,210</area>
            <spacing>0</spacing>
            <layout>vertical</layout>
            <arrange>stack</arrange>
            <showarrow>no</showarrow>
            <buttonarea>0,0,750,190</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,750,40</area>

                    <imagetype name="buttonimage">
                        <area>3,3,34,34</area>
                        <filename>mm_nothumb.png</filename>
                    </imagetype>

                    <textarea name="buttontext">
                        <area>50,0,700,40</area>
                        <align>left,vcenter</align>
                        <font>basesmall</font>
                    </textarea>

                </state>
                <state name="selectedactive" from="active">
                    <shape name="selectbar">
                        <area>0,0,750,40</area>
                    </shape>
                    <imagetype name="buttonimage">
                        <area>3,3,34,34</area>
                        <filename>mm_nothumb.png</filename>
                    </imagetype>
                    <textarea name="buttontext">
                        <area>50,0,700,40</area>
                        <align>left,vcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selectedinactive" from="active">
                    <shape name="selectbar">
                        <area>0,0,750,40</area>
                    </shape>
                    <imagetype name="buttonimage">
                        <area>3,3,34,34</area>
                        <filename>mm_nothumb.png</filename>
                    </imagetype>
                    <textarea name="buttontext">
                        <area>50,0,700,40</area>
                        <align>left,vcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>690,170</position>
            </statetype>
            <statetype name="downscrollarrow">
                <position>720,170</position>
            </statetype>
        </buttonlist>

        <textarea name="orderbylbl"  from="categorylbl">
            <position>20,450</position>
            <value>Order By:</value>
        </textarea>

        <buttonlist name="orderbyselector" from="basewideselector">
            <position>200,450</position>
        </buttonlist>

        <button name="orderbybutton" from="basesearchbutton">
            <area>610,455,32,32</area>
        </button>

        <textarea name="matcheslbl"  from="categorylbl">
            <position>20,500</position>
            <value>Matches:</value>
        </textarea>

        <shape name="matchesbackground">
            <area>200,503,100,40</area>
            <type>roundbox</type>
            <line color="#000000" alpha="100" width="1" />
            <fill color="#000000" alpha="50" />
            <cornerradius>4</cornerradius>
        </shape>

        <textarea name="matchestext"  from="basetextarea">
            <area>200,510,100,30</area>
            <align>allcenter</align>
        </textarea>

        <textarea name="limitlbl"  from="categorylbl">
            <position>310,500</position>
            <value>Limit:</value>
        </textarea>

        <spinbox name="limitspin" from="basespinbox">
            <position>490,505</position>
            <!--<template type="zero">No Limit</template> -->
        </spinbox>

        <!-- Push buttons -->
        <button name="cancelbutton" from="basebutton">
            <position>50,550</position>
            <value>Cancel</value>
        </button>

        <button name="showresultsbutton" from="basewidebutton">
            <position>250,550</position>
            <value>Show Results</value>
        </button>

        <button name="savebutton" from="basebutton">
            <position>590,550</position>
            <value>Save</value>
        </button>

    </window>

   <!-- popup to edit a smartplaylist criteria row -->
    <window name="criteriaroweditor">
        <area>-1,-1,500,500</area>

        <imagetype name="box">
            <position>0,0</position>
            <filename>mythdialogbox-background.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>5,5,460,40</area>
            <font>basemedium</font>
            <align>allcenter</align>
            <value>Edit Criteria</value>
        </textarea>

        <buttonlist name="fieldselector" from="basewideselector">
            <position>40,60</position>
        </buttonlist>

        <buttonlist name="operatorselector" from="basewideselector">
            <position>40,130</position>
        </buttonlist>

        <textedit name="value1edit" from="basetextedit">
            <position>40,200</position>
        </textedit>

        <buttonlist name="value1selector" from="basewideselector">
            <position>40,203</position>
        </buttonlist>

        <spinbox name="value1spinbox" from="basespinbox">
            <position>40,203</position>
        </spinbox>

        <button name="value1button" from="basesearchbutton">
            <position>435,210</position>
        </button>
<!--
        <textarea name="andlbl"  from="basetextarea">
            <area>40,235,376,50</area>
            <align>allcenter</align>
            <value>And</value>
        </textarea>
        -->
        <textedit name="value2edit" from="basetextedit">
            <position>40,270</position>
        </textedit>

        <buttonlist name="value2selector" from="basewideselector">
            <position>40,273</position>
        </buttonlist>

        <spinbox name="value2spinbox" from="basespinbox">
            <position>40,273</position>
        </spinbox>

        <button name="value2button" from="basesearchbutton">
            <position>435,280</position>
        </button>

        <!-- Push buttons -->
        <button name="cancelbutton" from="basebutton">
            <position>20,430</position>
            <value>Cancel</value>
        </button>

        <button name="savebutton" from="basebutton">
            <position>320,430</position>
            <value>Save</value>
        </button>

    </window>

    <!-- popup to edit the date in a smartplaylist criteria row -->
    <window name="dateeditordialog">
        <area>-1,-1,500,500</area>

        <imagetype name="box">
            <position>0,0</position>
            <filename>mythdialogbox-background.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>5,5,460,40</area>
            <font>basemedium</font>
            <align>allcenter</align>
            <value>Edit Date</value>
        </textarea>

        <textarea name="fixeddatelbl"  from="basetextarea">
            <area>90,70,170,30</area>
            <align>left,vcenter</align>
            <value>Fixed Date</value>
        </textarea>

        <checkbox name="fixeddatecheck" from="basecheckbox">
            <position>50,70</position>
        </checkbox>

        <textarea name="daylbl"  from="fixeddatelbl">
            <position>50,125</position>
            <value>Day</value>
        </textarea>

        <spinbox name="dayspinbox" from="basespinbox">
            <position>50,153</position>
        </spinbox>

        <textarea name="monthlbl"  from="fixeddatelbl">
            <position>200,125</position>
            <value>Month</value>
        </textarea>

        <spinbox name="monthspinbox" from="basespinbox">
            <position>200,153</position>
        </spinbox>

        <textarea name="yearlbl"  from="fixeddatelbl">
            <position>350,125</position>
            <value>Year</value>
        </textarea>

        <spinbox name="yearspinbox" from="basespinbox">
            <position>350,153</position>
        </spinbox>

        <textarea name="nowlbl"  from="fixeddatelbl">
            <area>90,270,300,30</area>
            <value>Use Current Date</value>
        </textarea>

        <checkbox name="nowcheck" from="basecheckbox">
            <position>50,270</position>
        </checkbox>

        <textarea name="adddayslbl"  from="fixeddatelbl">
            <area>50,315,240,30</area>
            <align>right</align>
            <value>+/- Days</value>
        </textarea>

        <spinbox name="adddaysspinbox" from="basespinbox">
            <position>300,310</position>
        </spinbox>

        <shape name="matchesbackground">
            <area>50,380,400,40</area>
            <type>roundbox</type>
            <line color="#000000" alpha="100" width="1" />
            <fill color="#000000" alpha="50" />
            <cornerradius>4</cornerradius>
        </shape>

        <textarea name="statustext">
            <area>50,380,400,40</area>
            <font>basesmall_normal</font>
            <font state="valid">basesmall_running</font>
            <font state="error">basesmall_error</font>
            <align>allcenter</align>
        </textarea>

        <!-- Push buttons -->
        <button name="cancelbutton" from="basebutton">
            <position>20,430</position>
            <value>Cancel</value>
        </button>

        <button name="okbutton" from="basebutton">
            <position>320,430</position>
            <value>OK</value>
        </button>

    </window>

    <!-- popup to edit the smartplaylist order by clause-->
    <window name="orderbydialog">
        <area>-1,-1,470,500</area>

        <imagetype name="box">
            <area>0,0,470,500</area>
            <filename>mythdialogbox-background.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>5,5,460,40</area>
            <font>basemedium</font>
            <align>allcenter</align>
            <value>Order By Fields</value>
        </textarea>

        <buttonlist name="fieldlist">
            <area>20,50,420,210</area>
            <spacing>0</spacing>
            <layout>vertical</layout>
            <arrange>stack</arrange>
            <showarrow>no</showarrow>
            <buttonarea>0,0,420,150</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,420,46</area>

                    <statetype name="sortstate">
                        <position>3,7</position>
                        <state name="ascending">
                            <imagetype name="statusimage">
                                <filename>mm_ascending.png</filename>
                            </imagetype>
                        </state>
                        <state name="descending">
                            <imagetype name="statusimage">
                                <filename>mm_descending.png</filename>
                            </imagetype>
                        </state>
                    </statetype>

                    <textarea name="buttontext">
                        <area>40,0,360,46</area>
                        <align>left,vcenter</align>
                        <font>basesmall</font>
                    </textarea>

                </state>
                <state name="selectedactive">
                    <area>0,0,420,46</area>
                    <shape name="selectbar">
                        <area>0,0,420,46</area>
                        <type>roundbox</type>
                        <line color="#00FF00" alpha="255" width="1" />
                        <fill color="#43b038" alpha="128" />
                        <cornerradius>4</cornerradius>
                    </shape>
                    <statetype name="sortstate">
                        <position>3,7</position>
                        <state name="ascending">
                            <imagetype name="statusimage">
                                <filename>mm_ascending.png</filename>
                            </imagetype>
                        </state>
                        <state name="descending">
                            <imagetype name="statusimage">
                                <filename>mm_descending.png</filename>
                            </imagetype>
                        </state>
                    </statetype>
                    <textarea name="buttontext">
                        <area>40,0,360,46</area>
                        <align>left,vcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selectedinactive" from="selectedactive">
                    <shape name="selectbar">
                        <area>0,0,420,46</area>
                        <type>roundbox</type>
                        <line color="#00FF00" alpha="100" width="1" />
                        <fill color="#43b038" alpha="50" />
                        <cornerradius>4</cornerradius>
                    </shape>
                    <statetype name="sortstate">
                        <position>3,7</position>
                        <state name="ascending">
                            <imagetype name="statusimage">
                                <filename>mm_ascending.png</filename>
                            </imagetype>
                        </state>
                        <state name="descending">
                            <imagetype name="statusimage">
                                <filename>mm_descending.png</filename>
                            </imagetype>
                        </state>
                    </statetype>
                    <textarea name="buttontext">
                        <area>40,0,360,46</area>
                        <align>left,vcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>360,145</position>
                <state type="off">
                    <imagetype name="upon">
                        <filename>lb-uparrow-reg.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="upoff">
                        <filename>lb-uparrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>390,145</position>
                <state type="off">
                    <imagetype name="dnon">
                        <filename>lb-dnarrow-reg.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="dnoff">
                        <filename>lb-dnarrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </buttonlist>

        <buttonlist name="fieldselector" from="basewideselector">
            <area>30,230,420,44</area>
        </buttonlist>


        <!-- Push buttons -->
        <button name="addbutton" from="basebutton">
            <area>50,280,200,44</area>
            <value>Add</value>
        </button>

        <button name="deletebutton" from="addbutton">
            <position>260,280</position>
            <value>Delete</value>
        </button>

        <button name="moveupbutton" from="addbutton">
            <position>50,330</position>
            <value>Move Up</value>
        </button>

        <button name="movedownbutton" from="addbutton">
            <position>260,330</position>
            <value>Move Down</value>
        </button>

        <button name="ascendingbutton" from="addbutton">
            <position>50,380</position>
            <value>Ascending</value>
        </button>

        <button name="descendingbutton" from="addbutton">
            <position>260,380</position>
            <value>Descending</value>
        </button>

        <button name="cancelbutton" from="addbutton">
            <position>50,430</position>
            <value>Cancel</value>
        </button>

        <button name="okbutton" from="addbutton">
            <position>260,430</position>
            <value>Save</value>
        </button>

    </window>

   <!-- shows some information for the currently selected or playing track -->
    <window name="smartplresultviewer">
        <textarea name="title" from="basetextarea">
            <area>15,5,600,50</area>
            <font>baselarge</font>
            <value>Smart Playlist Result Viewer</value>
        </textarea>

         <!-- optional - shows current position in the list eg '1 of 123' -->
        <textarea name="position" from="basetextarea">
            <area>580,15,200,40</area>
            <align>right,vcenter</align>
            <font>basemedium</font>
        </textarea>

        <shape name="tracklist_background" from="basebackground">
            <area>15,50,770,535</area>
            <fill color="#000000" alpha="50" />
        </shape>

        <buttonlist name="tracklist" from="basebuttonlist2">
            <area>30,60,740,500</area>
            <spacing>2</spacing>
            <layout>vertical</layout>
            <arrange>stack</arrange>
            <showarrow>no</showarrow>
            <buttonarea>0,0,740,530</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,100%,40</area>

                    <imagetype name="buttonimage">
                        <area>3,3,34,34</area>
                        <filename>mm_nothumb.png</filename>
                    </imagetype>

                    <textarea name="title">
                        <area>50,0,600,40</area>
                        <align>left,vcenter</align>
                        <font>basesmall</font>
                        <template>%TITLE% by %ARTIST% on %ALBUM%</template>
                    </textarea>

                    <textarea name="length">
                        <area>630,0,100,40</area>
                        <align>right,vcenter</align>
                        <font>basesmall</font>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <imagetype name="buttonimage">
                        <area>3,3,34,34</area>
                        <filename>mm_nothumb.png</filename>
                    </imagetype>
                    <shape name="selectbar">
                        <area>0,0,740,40</area>
                    </shape>
                </state>
                <state name="selectedinactive" from="active">
                    <shape name="selectbar">
                        <area>0,0,740,40</area>
                    </shape>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>680,500</position>
            </statetype>
            <statetype name="downscrollarrow">
                <position>710,500</position>
            </statetype>
        </buttonlist>

    </window>

    <!-- shows some information for the currently selected or playing track -->
    <window name="trackdetail_popup">
        <area>-1,-1,780,580</area>

        <shape name="background" from="basebackground">
            <area>0,0,780,580</area>
            <type>roundbox</type>
            <fill color="#303030" alpha="255" />
            <line color="#FFFFFF" alpha="255" width="2" />
            <cornerradius>12</cornerradius>
        </shape>

        <imagetype name="coverart">
            <area>15,40,150,150</area>
            <filename>mm_nothumb.png</filename>
            <preserveaspect>true</preserveaspect>
        </imagetype>

        <textarea name="titlelbl" from="basetextarea">
            <area>160,40,150,35</area>
            <font>basemediumyellow</font>
            <value>Title:</value>
            <align>right</align>
        </textarea>

        <textarea name="title" from="basetextarea">
            <area>320,40,465,35</area>
            <font>basemedium</font>
        </textarea>

        <textarea name="artistlbl" from="titlelbl">
            <area>160,80,150,35</area>
            <value>Artist:</value>
        </textarea>

        <textarea name="artist" from="title">
            <area>320,80,465,35</area>
        </textarea>

        <textarea name="albumlbl" from="titlelbl">
            <area>160,120,150,35</area>
            <value>Album:</value>
        </textarea>

        <textarea name="album" from="title">
            <area>320,120,465,35</area>
        </textarea>

        <textarea name="tracknumlbl" from="titlelbl">
            <area>510,160,150,35</area>
            <value>Track No.:</value>
        </textarea>

        <textarea name="tracknum" from="title">
            <area>680,160,100,35</area>
        </textarea>

        <textarea name="lenlbl" from="titlelbl">
            <area>160,160,150,35</area>
            <value>Length:</value>
        </textarea>

        <textarea name="length" from="title">
            <area>320,160,177,35</area>
        </textarea>

        <textarea name="yearlbl" from="titlelbl">
            <area>160,200,150,35</area>
            <value>Year:</value>
        </textarea>

        <textarea name="year" from="title">
            <area>320,200,80,35</area>
        </textarea>

        <textarea name="genrelbl" from="titlelbl">
            <area>160,240,150,35</area>
            <value>Genre:</value>
        </textarea>

        <textarea name="genre" from="title">
            <area>320,240,465,35</area>
        </textarea>

        <textarea name="ratinglbl" from="titlelbl">
            <area>160,280,150,35</area>
            <align>right,top</align>
            <value>Rating:</value>
        </textarea>

        <statetype name="rating_state" from="baseratingstate">
            <position>320,285</position>
        </statetype>

        <textarea name="dateaddedlbl" from="titlelbl">
            <area>100,320,210,35</area>
            <value>Date Added:</value>
        </textarea>

        <textarea name="dateadded" from="title">
            <area>320,320,465,35</area>
            <value>Last Value</value>
        </textarea>

        <textarea name="lastplaylbl" from="titlelbl">
            <area>100,360,210,35</area>
            <value>Last Played:</value>
        </textarea>

        <textarea name="lastplayed" from="title">
            <area>320,360,465,35</area>
            <value></value>
        </textarea>

        <textarea name="playcountlbl" from="titlelbl">
            <area>160,400,150,35</area>
            <value>Played:</value>
        </textarea>

        <textarea name="playcount" from="title">
            <area>320,400,500,35</area>
            <template>%playcount% times</template>
        </textarea>

        <textarea name="filenamelbl" from="titlelbl">
            <area>160,440,150,35</area>
            <value>Filename:</value>
        </textarea>

        <textarea name="filename" from="title">
            <area>320,440,465,120</area>
            <font>basesmall</font>
            <multiline>yes</multiline>
        </textarea>

    </window>

    <!-- The metadata editor - allows you edit a tracks metadata -->
    <window name="editmetadata">

        <textarea name="title" from="basetextarea">
            <area>15,5,800,50</area>
            <font>baselarge</font>
            <value>Edit Track Information</value>
        </textarea>

        <group name="controls">
            <area>0,50,800,550</area>

            <!-- Labels -->

            <textarea name="compilation_label" >
                <area>0,0,250,30</area>
                <font>basemedium</font>
                <align>right</align>
                <value>Compilation:</value>
            </textarea>

            <textarea name="compilation_artist_label" from="compilation_label">
                <area>0,50,250,30</area>
                <value>Comp. Artist:</value>
            </textarea>

            <textarea name="artist_label" from="compilation_label">
                <area>0,105,250,30</area>
                <value>Artist:</value>
            </textarea>

            <textarea name="album_label" from="compilation_label">
                <area>0,160,250,30</area>
                <value>Album:</value>
            </textarea>

            <textarea name="title_text" from="compilation_label">
                <area>0,215,250,30</area>
                <value>Title:</value>
            </textarea>

            <textarea name="track_label" from="compilation_label">
                <area>0,270,250,30</area>
                <value>Track No.:</value>
            </textarea>

            <textarea name="genre_label" from="compilation_label">
                <area>0,325,250,30</area>
                <value>Genre:</value>
            </textarea>

            <textarea name="year_label" from="compilation_label">
                <area>0,380,250,30</area>
                <value>Year:</value>
            </textarea>

            <textarea name="rating_label" from="compilation_label">
                <area>0,435,250,30</area>
                <value>Rating:</value>
            </textarea>

            <!-- edits -->

            <checkbox name="compilationcheck" from="basecheckbox">
                <position>260,0</position>
            </checkbox>

            <textedit name="compartistedit" from="basetextedit">
                <position>260,40</position>
            </textedit>

            <button name="searchcompartistbutton">
                <area>646,50,32,32</area>
                <statetype name="buttonstate">
                    <state name="active">
                        <imagetype name="background">
                            <filename>blankbutton_off.png</filename>
                        </imagetype>
                    </state>
                    <state name="selected" from="active">
                        <imagetype name="background">
                            <filename>blankbutton_on.png</filename>
                        </imagetype>
                    </state>
                    <state name="disabled" from="active" />
                    <state name="pushed" from="active">
                        <imagetype name="background">
                            <filename>blankbutton_pushed.png</filename>
                        </imagetype>
                    </state>
                </statetype>
            </button>

            <textedit name="artistedit" from="basetextedit">
                <position>260,95</position>
            </textedit>

            <button name="searchartistbutton" from="searchcompartistbutton">
                <position>646,105</position>
            </button>

            <imagetype name="artisticon">
              <area>690,95,50,50</area>
              <filename>mm_artists.png</filename>
            </imagetype>

            <textedit name="albumedit" from="basetextedit">
                <position>260,150</position>
            </textedit>

            <button name="searchalbumbutton" from="searchcompartistbutton">
                <position>646,160</position>
            </button>

            <imagetype name="albumicon">
                <area>690,150,50,50</area>
                <filename>mm_albums.png</filename>
            </imagetype>

            <textedit name="titleedit" from="basetextedit">
                <position>260,205</position>
            </textedit>

            <spinbox name="tracknumspin" from="basespinbox">
                <position>260,263</position>
                <template type="zero">N/A</template>
            </spinbox>

            <textedit name="genreedit" from="basetextedit">
                <position>260,315</position>
            </textedit>

            <button name="searchgenrebutton" from="searchcompartistbutton">
                <position>646,325</position>
            </button>

            <imagetype name="genreicon">
                <area>690,315,50,50</area>
                <filename>mm_genres.png</filename>
            </imagetype>

            <spinbox name="yearspin" from="basespinbox">
                <position>260,373</position>
                <template type="zero">N/A</template>
            </spinbox>

            <statetype name="ratingstate" from="baseratingstate">
                <position>340,440</position>
            </statetype>

            <button name="decratingbutton">
                <area>291,420,60,60</area>
                <statetype name="buttonstate">
                    <state name="active">
                        <imagetype name="background">
                            <filename>mm_prev_off.png</filename>
                        </imagetype>
                    </state>
                    <state name="selected" from="active">
                        <imagetype name="background">
                            <filename>mm_prev_on.png</filename>
                        </imagetype>
                    </state>
                    <state name="disabled" from="active" />
                    <state name="pushed" from="active">
                        <imagetype name="background">
                            <filename>mm_prev_pushed.png</filename>
                        </imagetype>
                    </state>
                </statetype>
            </button>

            <button name="incratingbutton">
                <area>541,420,60,60</area>
                <statetype name="buttonstate">
                    <state name="active">
                        <imagetype name="background">
                            <filename>mm_next_off.png</filename>
                        </imagetype>
                    </state>
                    <state name="selected" from="active">
                        <imagetype name="background">
                            <filename>mm_next_on.png</filename>
                        </imagetype>
                    </state>
                    <state name="disabled" from="active" />
                    <state name="pushed" from="active">
                        <imagetype name="background">
                            <filename>mm_next_pushed.png</filename>
                        </imagetype>
                    </state>
                </statetype>
            </button>
        </group>

        <button name="albumartbutton" from="basebutton">
            <position>100,550</position>
            <value>Album Art</value>
        </button>

        <button name="donebutton" from="basebutton">
            <position>550,550</position>
            <value>Done</value>
        </button>

    </window>

    <!-- The albumart editor - allows you to see what albumart has been found for a track -->
    <window name="editalbumart">

        <textarea name="title" from="basetextarea">
            <area>15,5,800,50</area>
            <font>baselarge</font>
            <value>Album Art</value>
        </textarea>

        <!-- Labels -->

        <shape name="bgimage1">
            <area>20,40,210,480</area>
            <type>roundbox</type>
            <fill color="#000000" alpha="40" />
            <cornerradius>3</cornerradius>
        </shape>

        <shape name="bgimage2" from="bgimage1">
            <area>250,40,530,400</area>
        </shape>

        <textarea name="notfoundtext" from="basetextarea">
            <area>250,40,530,400</area>
            <align>allcenter</align>
            <value>No Album Art Found</value>
        </textarea>

        <imagetype name="coverartimage">
            <area>345,60,360,360</area>
        </imagetype>

        <shape name="bgimage3" from="bgimage1">
            <area>250,450,530,70</area>
        </shape>

        <textarea name="label1"  from="basetextarea">
            <area>270,455,170,30</area>
            <align>right</align>
            <value>Filename:</value>
        </textarea>

        <textarea name="label2" from="basetextarea">
            <area>270,485,170,30</area>
            <align>right</align>
            <value>Type:</value>
        </textarea>

        <textarea name="imagefilenametext" from="basetextarea">
            <area>445,455,190,30</area>
            <value></value>
        </textarea>

        <textarea name="imagetypetext" from="basetextarea">
            <area>445,485,190,30</area>
            <value></value>
        </textarea>

        <buttonlist name="coverartlist">
            <area>35,55,180,450</area>
            <buttonarea>0,0,170,460</buttonarea>
            <layout>grid</layout>
            <spacing>5</spacing>
            <statetype name="buttonitem">
                <area>0,0,180,140</area>
                <state name="active">
                    <shape name="buttonbackground">
                        <area>0,0,180,140</area>
                        <type>roundbox</type>
                        <cornerradius>3</cornerradius>
                        <fill style="gradient">
                            <gradient start="#e8e262" end="#fe9735" alpha="50"/>
                        </fill>
                    </shape>
                    <imagetype name="buttonimage">
                        <area>35,5,110,110</area>
                        <preserveaspect>no</preserveaspect>
                    </imagetype>
                    <textarea name="buttontext">
                        <area>5,115,170,25</area>
                        <align>allcenter</align>
                        <multiline>no</multiline>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <shape name="buttonbackground">
                        <area>0,0,180,140</area>
                        <type>roundbox</type>
                        <cornerradius>3</cornerradius>
                        <fill style="gradient">
                            <gradient start="#e8e262" end="#fe9735" alpha="255" />
                        </fill>
                    </shape>
                </state>
                <state name="selectedinactive" from="active" >
                    <shape name="buttonbackground">
                        <area>0,0,180,140</area>
                        <type>roundbox</type>
                        <cornerradius>3</cornerradius>
                        <fill style="gradient">
                            <gradient start="#e8e262" end="#fe9735" alpha="150" />
                        </fill>
                    </shape>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>110,440</position>
                <state type="off">
                    <imagetype name="upon">
                        <filename>lb-uparrow-reg.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="upoff">
                        <filename>lb-uparrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>150,440</position>
                <state type="off">
                    <imagetype name="dnon">
                        <filename>lb-dnarrow-reg.png</filename>
                    </imagetype>
                </state>
                <state type="full">
                    <imagetype name="dnoff">
                        <filename>lb-dnarrow-sel.png</filename>
                    </imagetype>
                </state>
            </statetype>
        </buttonlist>

        <!-- Push buttons -->
        <button name="metadatabutton" from="basebutton">
            <position>100,550</position>
            <value>Metadata</value>
        </button>

        <button name="donebutton" from="basebutton">
            <position>550,550</position>
            <value>Done</value>
        </button>

    </window>

</mythuitheme>
