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

    <!-- music selection screen -->
    <window name="music_select">
        <font name="active" face="Arial">
            <color>#ffffff</color>
            <size>18</size>
            <bold>yes</bold>
        </font>

        <font name="inactive" face="Arial">
            <color>#9999cc</color>
            <size>18</size>
            <bold>yes</bold>
        </font>

        <container name="musictree">
            <area>20,20,780,400</area>

            <listtreearea name="musictree" draworder="0">
                <area>0,0,760,400</area>
                <listsize>0,0,450,360</listsize>
                <leveloffset>10</leveloffset>
                <gradient type="unselected" start="#505050" end="#000000" alpha="100">
                </gradient>
                <gradient type="selected" start="#52CA38" end="#349838" alpha="255">
                </gradient>
                <fcnfont name="active" function="active"></fcnfont>
                <fcnfont name="inactive" function="inactive"></fcnfont>
            </listtreearea>
        </container>

        <container name="info">
            <area>0,390,800,210</area>

            <image name="background" draworder="0" fleximage="no">
                <filename>music-sel-bg.png</filename>
                <position>10,0</position>
                <staticsize>780,190</staticsize>
            </image>

            <textarea name="line1" draworder="1">
                <font>active</font>
                <area>20,5,760,35</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="line2" draworder="1">
                <font>active</font>
                <area>20,35,760,35</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="line3" draworder="1">
                <font>active</font>
                <area>20,65,760,35</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="line4" draworder="1">
                <font>active</font>
                <area>20,95,760,35</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="line5" draworder="1">
                <font>active</font>
                <area>20,125,760,35</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="line6" draworder="1">
                <font>active</font>
                <area>20,155,760,35</area>
                <cutdown>yes</cutdown>
            </textarea>

        </container>

    </window>

    <!--
        The play music screen
        -->
    <window name="music_play">

        <!--
            First, define all the fonts we need on this screen
            -->
        <font name="active" face="Arial">
            <color>#ffffff</color>
            <size>18</size>
            <bold>yes</bold>
        </font>

        <font name="inactive" face="Arial">
            <color>#9999cc</color>
            <size>18</size>
            <bold>yes</bold>
        </font>

        <font name="selected" face="Arial">
            <color>#ffff00</color>
            <size>18</size>
            <bold>yes</bold>
        </font>

        <font name="currenttitle" face="Arial">
            <color>#ffffff</color>
            <size>20</size>
            <bold>yes</bold>
        </font>

        <font name="currentartist" face="Arial">
            <color>#ffffff</color>
            <size>16</size>
            <bold>yes</bold>
        </font>

        <font name="infotext" face="Arial">
            <color>#ffffff</color>
            <size>12</size>
            <bold>yes</bold>
        </font>

        <font name="buttons" face="Arial">
            <color>#ffffff</color>
            <size>12</size>
            <bold>yes</bold>
        </font>

        <!--
            The (unchanging) background
            -->

        <container name="background">
            <image name="filler" draworder="0" fleximage="no">
                <filename>music-sel-bg.png</filename>
                <position>10,15</position>
            </image>

            <image name="track_info_background" draworder="0" fleximage="no">
                <filename>track_info_background.png</filename>
                <position>10,315</position>
             <!--   <staticsize>570,165</staticsize> -->
            </image>
            <image name="mm_blackhole_border" draworder="0" fleximage="no">
                <filename>mm_blackhole_border.png</filename>
                <position>23,322</position>
                <staticsize>146,149</staticsize>
            </image>

        </container>

        <!--
            The view of playlists; tracks at the top
            -->
        <container name="musicselector">
            <area>0,10,800,310</area>
            <!--
                First appearance of a managedtreelist
                I'll explain as we go

                bins is how many visible layers of the
                tree there are.
                -->
            <managedtreelist name="musictreelist" draworder="1" bins="2">
                <!--
                    regular area, but is only used if the user has
                    ShowWholeTree set to false.
                    -->
                <area>20,10,760,270</area>
                <!--
                    An image to show the current navigation node
                    -->
                <image function="selectionbar" filename="selectionbar.png"></image>
                <!--
                    Some arrow images
                    -->
                <image function="uparrow" filename="mm_up_arrow.png"></image>
                <image function="downarrow" filename="mm_down_arrow.png"></image>
                <image function="leftarrow" filename="mm_left_arrow.png"></image>
                <image function="rightarrow" filename="mm_right_arrow.png"></image>
                <!--
                    the area of particular bins
                    you can make them show right to left,
                    top to bottom, and layer graphics on top
                    however you like

                    NB: bins number 1 to # of bins inclusive
                    not 0 to #-1
                    -->
                <bin number="1">
                    <area>15,15,205,250</area>
                    <fcnfont name="active" function="active"></fcnfont>
                    <fcnfont name="inactive" function="inactive"></fcnfont>
                    <fcnfont name="selected" function="selected"></fcnfont>
                </bin>
                <bin number="2">
                    <area>235,10,545,265</area>
                    <fcnfont name="active" function="active"></fcnfont>
                    <fcnfont name="selected" function="selected"></fcnfont>
                    <fcnfont name="inactive" function="inactive"></fcnfont>
                </bin>
            </managedtreelist>

            <!--
                An image that go "on top" of the list bins
                -->

            <image name="showinglines" draworder="2" fleximage="no">
                <context>1</context>
                <filename>mm-titlelines.png</filename>
                <position>10,5</position>
            </image>
            <!--
                An image for when we're waiting for data
                -->
       <!--     <image name="mm_waiting" draworder="0" fleximage="no">
                <context>0</context>
                <filename>music-sel-bg</filename>
                <position>0,20</position>
            </image> -->
            <textarea name="waiting_text" draworder="1" align="center">
                <context>0</context>
                <font>currenttitle</font>
                <area>190,140,380,40</area>
                <value>Please Wait...</value>
            </textarea>

            <!--
                An image for when we're only showing the last bin
                (ie. just the active playlist)
                -->

            <image name="mm_waiting" draworder="0" fleximage="no">
                <context>2</context>
                <filename>music-sel-bg.png</filename>
                <position>10,5</position>
            </image>
        </container>

        <!--
            An area to hold info about the playing track
            -->

        <container name="trackinfo">
            <area>0,315,780,160</area>

            <textarea name="title_text" draworder="1">
                <font>currenttitle</font>
                <area>175,5,600,34</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="artist_text" draworder="1">
                <font>currentartist</font>
                <area>175,40,600,34</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="album_text" draworder="1">
                <font>currentartist</font>
                <area>175,75,600,34</area>
                <cutdown>yes</cutdown>
            </textarea>

            <repeatedimage name="ratings_image" draworder="1" fleximage="no">
                <filename>mm_rating.png</filename>
                <position>585,139</position>
                <orientation>LeftToRight</orientation>
            </repeatedimage>

            <textarea name="current_visualization_text" draworder="1" align="right">
                <font>currentartist</font>
                <area>375,110,200,25</area>
                <cutdown>no</cutdown>
            </textarea>

            <textarea name="info_text" draworder="1">
                <font>infotext</font>
                <area>585,115,250,25</area>
            </textarea>

            <textarea name="volume_text" draworder="5">
                <font>infotext</font>
                <area>500,95,250,25</area>
            </textarea>

            <textarea name="time_text" draworder="1">
                <font>currentartist</font>
                <area>175,110,185,25</area>
            </textarea>

            <blackhole name="visual_blackhole">
                <area>25,10,142,144</area>
            </blackhole>

            <statusbar name="progress_bar" draworder="2" whitespace="5">
                <container fleximage="no">mm_progress-bg.png</container>
                <fill>mm_progress-fg.png</fill>
                <position>175,138</position>
                <orientation>LeftToRight</orientation>
            </statusbar>

        </container>

        <!-- On screen volume display -->

        <container name="volumedisplay">
            <area>740,318,40,160</area>
            <statusbar name="volume_status" draworder="-1" whitespace="5">
                <container fleximage="no">mm_volume_background.png</container>
                <fill>mm_volume_tick.png</fill>
                <position>0,0</position>
                <orientation>BottomToTop</orientation>
            </statusbar>
        </container>
        <container name="speeddisplay">
            <area>690,385,105,25</area>
            <textarea name="speed_status" draworder="-1">
                <font>infotext</font>
                <area>0,0,105,25</area>
            </textarea>
        </container>

        <!-- All the buttons -->

        <container name="musicbuttons">
            <area>15,490,785,110</area>

            <textbutton name="shuffle_button" draworder="0">
                <position>10,0</position>
                <image function="on" filename="button_selected_background.png"></image>
                <image function="off" filename="button_background.png"></image>
                <image function="pushed" filename="button_pushed_background.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="repeat_button" draworder="0">
                <position>215,0</position>
                <image function="on" filename="button_selected_background.png"></image>
                <image function="off" filename="button_background.png"></image>
                <image function="pushed" filename="button_pushed_background.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="pledit_button" draworder="0">
                <position>410,0</position>
                <image function="on" filename="button_selected_background.png"></image>
                <image function="off" filename="button_background.png"></image>
                <image function="pushed" filename="button_pushed_background.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="vis_button" draworder="0">
                <position>605,0</position>
                <image function="on" filename="button_selected_background.png"></image>
                <image function="off" filename="button_background.png"></image>
                <image function="pushed" filename="button_pushed_background.png"></image>
                <font>buttons</font>
            </textbutton>

            <pushbutton name="prev_button" draworder="0">
                <position>10,50</position>
                <image function="on" filename="prev_button_on.png"></image>
                <image function="off" filename="prev_button_off.png"></image>
                <image function="pushed" filename="prev_button_pushed.png"></image>
            </pushbutton>

            <pushbutton name="rew_button" draworder="0">
                <position>125,50</position>
                <image function="on" filename="rew_button_on.png"></image>
                <image function="off" filename="rew_button_off.png"></image>
                <image function="pushed" filename="rew_button_pushed.png"></image>
            </pushbutton>

            <pushbutton name="pause_button" draworder="0">
                <position>240,50</position>
                <image function="on" filename="pause_button_on.png"></image>
                <image function="off" filename="pause_button_off.png"></image>
                <image function="pushed" filename="pause_button_pushed.png"></image>
            </pushbutton>

            <pushbutton name="play_button" draworder="0">
                <position>355,50</position>
                <image function="on" filename="play_button_on.png"></image>
                <image function="off" filename="play_button_off.png"></image>
                <image function="pushed" filename="play_button_pushed.png"></image>
            </pushbutton>

            <pushbutton name="stop_button" draworder="0">
                <position>470,50</position>
                <image function="on" filename="stop_button_on.png"></image>
                <image function="off" filename="stop_button_off.png"></image>
                <image function="pushed" filename="stop_button_pushed.png"></image>
            </pushbutton>

            <pushbutton name="ff_button" draworder="0">
                <position>585,50</position>
                <image function="on" filename="ff_button_on.png"></image>
                <image function="off" filename="ff_button_off.png"></image>
                <image function="pushed" filename="ff_button_pushed.png"></image>
            </pushbutton>

            <pushbutton name="next_button" draworder="0">
                <position>705,50</position>
                <image function="on" filename="next_button_on.png"></image>
                <image function="off" filename="next_button_off.png"></image>
                <image function="pushed" filename="next_button_pushed.png"></image>
            </pushbutton>

        </container>

    </window>


    <window name="edit_metadata">

        <font name="title" face="Arial">
            <color>#ffff00</color>
            <dropcolor>#000000</dropcolor>
            <size>24</size>
            <shadow>3,3</shadow>
            <bold>yes</bold>
        </font>

        <font name="labels" face="Arial">
            <color>#ffff00</color>
            <dropcolor>#000000</dropcolor>
            <size>18</size>
            <shadow>3,3</shadow>
            <bold>yes</bold>
        </font>

        <font name="display" face="Arial">
            <color>#ffffff</color>
            <dropcolor>#000000</dropcolor>
            <size>18</size>
            <shadow>3,3</shadow>
            <bold>no</bold>
        </font>

        <font name="button" face="Arial">
            <color>#ffffff</color>
            <dropcolor>#000000</dropcolor>
            <size>14</size>
            <shadow>2,2</shadow>
            <bold>yes</bold>
        </font>

        <font name="subtitle_active" face="Arial">
            <color>#ffffff</color>
            <size>14</size>
            <bold>no</bold>
        </font>

        <font name="subtitle_inactive" face="Arial">
            <color>#9999cc</color>
            <size>14</size>
            <bold>no</bold>
        </font>

        <font name="subtitle_selected" face="Arial">
            <color>#ff0000</color>
            <size>14</size>
            <bold>no</bold>
        </font>

        <container name="edit_container">
            <area>0,0,800,600</area>

            <textarea name="title" draworder="1" align="center">
                <area>0,0,800,50</area>
                <context>1</context>
                <font>title</font>
                <value>Track Information</value>
            </textarea>

            <!-- Labels -->


            <textarea name="compilation_label" draworder="1" align="right">
                <area>15,70,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Compilation:</value>
            </textarea>

            <textarea name="compilation_artist_label" draworder="1" align="right">
                <area>15,110,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Comp. Artist:</value>
            </textarea>

            <textarea name="artist_label" draworder="1" align="right">
                <area>15,150,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Artist:</value>
            </textarea>

            <textarea name="album_label" draworder="1" align="right">
                <area>15,190,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Album:</value>
            </textarea>

            <textarea name="title_text" draworder="1" align="right">
                <area>15,230,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Title:</value>
            </textarea>

            <textarea name="genre_label" draworder="1" align="right">
                <area>15,270,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Genre:</value>
            </textarea>

            <textarea name="year_label" draworder="1" align="right">
                <area>15,310,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Year:</value>
            </textarea>

            <textarea name="track_label" draworder="1" align="right">
                <area>365,310,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Track No.:</value>
            </textarea>

            <textarea name="rating_label" draworder="1" align="right">
                <area>15,350,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Rating:</value>
            </textarea>

            <textarea name="playcount_label" draworder="1" align="right">
                <area>420,390,300,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Play Count:</value>
            </textarea>

            <textarea name="lastplay_label" draworder="1" align="right">
                <area>15,390,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Last Play:</value>
            </textarea>

            <textarea name="filename_label" draworder="1" align="right">
                <area>15,430,170,30</area>
                <context>1</context>
                <font>labels</font>
                <value>Filename:</value>
            </textarea>

            <!-- edits -->

            <checkbox name="compilation_check" draworder="0">
                <context>1</context>
                <position>195,70</position>
                <image function="checked" filename="checked.png"></image>
                <image function="unchecked" filename="unchecked.png"></image>
                <image function="checked_high" filename="checked_high.png"></image>
                <image function="unchecked_high" filename="unchecked_high.png"></image>
            </checkbox>

            <remoteedit name="compilation_artist_edit" draworder="1" align="left">
                <context>1</context>
                <area>195,110,525,35</area>
                <font>display</font>
            </remoteedit>

            <pushbutton name="searchcompilation_artist_button" draworder="2">
                <context>1</context>
                <position>725,110</position>
                <image function="on" filename="blankbutton_on.png"></image>
                <image function="off" filename="blankbutton_off.png"></image>
                <image function="pushed" filename="blankbutton_pushed.png"></image>
            </pushbutton>


            <remoteedit name="artist_edit" draworder="1" align="left">
                <context>1</context>
                <area>195,150,525,35</area>
                <font>display</font>
            </remoteedit>

            <pushbutton name="searchartist_button" draworder="2">
                <context>1</context>
                <position>725,150</position>
                <image function="on" filename="blankbutton_on.png"></image>
                <image function="off" filename="blankbutton_off.png"></image>
                <image function="pushed" filename="blankbutton_pushed.png"></image>
            </pushbutton>


            <remoteedit name="album_edit" draworder="1" align="left">
                <context>1</context>
                <area>195,190,525,35</area>
                <font>display</font>
            </remoteedit>

            <pushbutton name="searchalbum_button" draworder="2">
                <context>1</context>
                <position>725,190</position>
                <image function="on" filename="blankbutton_on.png"></image>
                <image function="off" filename="blankbutton_off.png"></image>
                <image function="pushed" filename="blankbutton_pushed.png"></image>
            </pushbutton>

            <remoteedit name="title_edit" draworder="1" align="left">
                <context>1</context>
                <area>195,230,525,35</area>
                <font>display</font>
            </remoteedit>

            <remoteedit name="genre_edit" draworder="1" align="left">
                <context>1</context>
                <area>195,270,525,35</area>
                <font>display</font>
            </remoteedit>

            <pushbutton name="searchgenre_button" draworder="2">
                <context>1</context>
                <position>725,270</position>
                <image function="on" filename="blankbutton_on.png"></image>
                <image function="off" filename="blankbutton_off.png"></image>
                <image function="pushed" filename="blankbutton_pushed.png"></image>
            </pushbutton>

            <remoteedit name="year_edit" draworder="1" align="left">
                <context>1</context>
                <area>195,310,175,35</area>
                <font>display</font>
            </remoteedit>

            <remoteedit name="track_edit" draworder="1" align="left">
                <context>1</context>
                <area>545,310,175,35</area>
                <font>display</font>
            </remoteedit>

            <repeatedimage name="rating_image" draworder="1" fleximage="no">
                <context>1</context>
                <filename>mm_rating.png</filename>
                <position>190,360</position>
                <orientation>LeftToRight</orientation>
            </repeatedimage>

            <selector name="rating_button" draworder="0">
                <context>1</context>
                <area>420,350,30,30</area>
                <font>display</font>
                <image function="on" filename="leftright_on.png"></image>
                <image function="off" filename="leftright_off.png"></image>
                <image function="pushed" filename="leftright_pushed.png"></image>
            </selector>

            <textarea name="playcount_text" draworder="1" align="left">
                <context>1</context>
                <area>725,390,400,30</area>
                <font>display</font>
            </textarea>

            <textarea name="lastplay_text" draworder="1" align="left">
                <context>1</context>
                <area>195,390,400,30</area>
                <font>display</font>
            </textarea>

            <textarea name="filename_text" draworder="1" align="left">
                <context>1</context>
                <area>195,430,550,100</area>
                <multiline>yes</multiline>
                <font>display</font>
            </textarea>


            <!-- Cover Art page -->

            <textarea name="title" draworder="1" align="center">
                <area>0,0,800,50</area>
                <context>2</context>
                <font>title</font>
                <value>Album Art</value>
            </textarea>

            <image name="image" draworder="0">
                <context>2</context>
                <position>50,55</position>
                <filename>mm_trans_background.png</filename>
                <staticsize>190,470</staticsize>
            </image>

            <image name="image" draworder="0">
                <context>2</context>
                <position>300,55</position>
                <filename>mm_trans_background.png</filename>
                <staticsize>440,390</staticsize>
            </image>

            <textarea name="imagefilename_text" draworder="0" align="allcenter">
                <area>320,75,400,350</area>
                <context>2</context>
                <font>display</font>
                <value>No Album Art Found</value>
            </textarea>

            <image name="coverart_image" draworder="1">
                <context>2</context>
                <position>320,75</position>
                <staticsize>400,350</staticsize>
            </image>

            <image name="image" draworder="0">
                <context>2</context>
                <position>300,450</position>
                <filename>mm_trans_background.png</filename>
                <staticsize>440,70</staticsize>
            </image>

            <textarea name="label" draworder="1" align="right">
                <area>290,455,170,30</area>
                <context>2</context>
                <font>labels</font>
                <value>Filename:</value>
            </textarea>

            <textarea name="label" draworder="1" align="right">
                <area>290,485,170,30</area>
                <context>2</context>
                <font>labels</font>
                <value>Type:</value>
            </textarea>

            <textarea name="imagefilename_text" draworder="1" align="left">
                <area>465,455,190,30</area>
                <context>2</context>
                <font>display</font>
                <value></value>
            </textarea>

            <textarea name="imagetype_text" draworder="1" align="left">
                <area>465,485,190,30</area>
                <context>2</context>
                <font>display</font>
                <value></value>
            </textarea>

            <imagegrid name="coverart_grid" draworder="0">
                <context>2</context>
                <area>70,65,150,450</area>
                <textposition>bottom</textposition>
                <textheight>30</textheight>
                <columncount>1</columncount>
                <rowcount>3</rowcount>
                <cutdown>yes</cutdown>
                <showchecks>no</showchecks>
                <showselected>no</showselected>
                <showscrollarrows>yes</showscrollarrows>
                <align>allcenter</align>
                <padding>10</padding>
                <multiline>no</multiline>
                <activefont>subtitle_active</activefont>
                <inactivefont>subtitle_inactive</inactivefont>
                <selectedfont>subtitle_selected</selectedfont>
                <image function="normal" filename="mm_browser_back_reg.png"></image>
                <image function="highlighted" filename="mm_browser_back_sel.png"></image>
                <image function="selected" filename="mm_browser_back_sel.png"></image>
                <image function="default" filename="mm_nothumb.png"></image>
            </imagegrid>

            <!-- Push buttons -->

            <textbutton name="metadata_button" draworder="0">
                <context>2</context>
                <position>20,540</position>
                <font>display</font>
                <image function="on" filename="button_selected_background.png"></image>
                <image function="off" filename="button_background.png"></image>
                <image function="pushed" filename="button_pushed_background.png"></image>
            </textbutton>

            <textbutton name="albumart_button" draworder="0">
                <context>1</context>
                <position>20,540</position>
                <font>display</font>
                <image function="on" filename="button_selected_background.png"></image>
                <image function="off" filename="button_background.png"></image>
                <image function="pushed" filename="button_pushed_background.png"></image>
            </textbutton>

            <textbutton name="done_button" draworder="0">
                <position>630,540</position>
                <font>display</font>
                <image function="on" filename="button_selected_background.png"></image>
                <image function="off" filename="button_background.png"></image>
                <image function="pushed" filename="button_pushed_background.png"></image>
            </textbutton>

        </container>
    </window>

    <window name="albumart_browser">

        <textarea name="heading" from="basetextarea">
            <area>0,0,800,50</area>
            <value>Album Art</value>
            <font>baselarge</font>
            <align>hcenter</align>
        </textarea>

        <imagetype name="background">
            <area>300,55,440,390</area>
            <filename>mm_trans_background.png</filename>
        </imagetype>

        <textarea name="imagefilename" from="basetextarea">
            <area>320,75,400,350</area>
            <value>No Album Art Found</value>
            <align>allcenter</align>
        </textarea>

        <imagetype name="coverart_image">
            <area>320,75,350,350</area>
        </imagetype>

        <imagetype name="another_background">
            <area>300,450,440,70</area>
            <filename>mm_trans_background.png</filename>
        </imagetype>

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

        <textarea name="typelabel" from="filenamelabel">
            <position>290,485</position>
            <value>Type:</value>
        </textarea>

        <textarea name="imagefilename" from="basetextarea">
            <area>465,455,190,30</area>
        </textarea>

        <textarea name="imagetype" from="imagefilename">
            <position>465,485</position>
        </textarea>

        <buttonlist name="coverart_grid">
            <area>70,65,450,450</area>
            <layout>grid</layout>
            <buttonarea>0,0,450,450</buttonarea>
            <spacing>10</spacing>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,100,100</area>
                    <imagetype name="buttonbackground">
                        <filename>mm_browser_back_reg.png</filename>
                    </imagetype>
                    <imagetype name="buttonimage">
                        <filename>mm_nothumb.png</filename>
                    </imagetype>
                </state>
                <state name="selectedactive" from="active">
                    <imagetype name="buttonbackground">
                        <filename>mm_browser_back_sel.png</filename>
                    </imagetype>
                </state>
                <state name="selectedinactive" from="selectedactive" />
            </statetype>
        </buttonlist>

        <!-- Push buttons -->

        <button name="metadata" from="basebutton">
            <position>20,540</position>
            <value>Metadata</value>
        </button>

        <button name="done" from="basebutton">
            <position>630,540</position>
            <value>Done</value>
        </button>
    </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>

    <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>

    <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>
            <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>

    <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">
            <area>200,65,550,30</area>
            <align>right</align>
        </textarea>

        <textarea name="destination" from="basetextarea">
            <area>200,455,550,30</area>
            <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,146,148</area>
        </imagetype>

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

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

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

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

        <textarea name="info" from="basetextarea">
            <area>170,125,200,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,143,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="mute_state">
            <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="volume_progress" from="baseprogressbar">
            <position>60,80</position>
        </progressbar>

        <textarea name="volume_text" from="basetextarea">
            <area>70,120,300,30</area>
            <align>left,top</align>
            <value>0%</value>
        </textarea>
    </window>

    <window name="trackdetail_popup">
        <area>-1,-1,800,600</area>

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

        <imagetype name="coverart">
            <area>10,100,180,180</area>
            <filename>mm_nothumb.png</filename>
            <preserveaspect>true</preserveaspect>
        </imagetype>

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

        <textarea name="title" from="basetextarea">
            <area>330,50,460,35</area>
            <font>basemedium</font>
        </textarea>

        <textarea name="artistlbl" from="titlelbl">
            <area>200,100,120,35</area>
            <value>Artist:</value>
        </textarea>

        <textarea name="artist" from="title">
            <area>330,100,460,35</area>
        </textarea>

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

        <textarea name="album" from="title">
            <area>330,150,460,35</area>
        </textarea>

        <textarea name="genrelbl" from="titlelbl">
            <area>195,250,125,35</area>
            <value>Genre:</value>
        </textarea>

        <textarea name="genre" from="title">
            <area>330,250,460,35</area>
        </textarea>

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

        <textarea name="tracknum" from="title">
            <area>640,200,100,35</area>
        </textarea>

        <textarea name="lenlbl" from="titlelbl">
            <area>195,200,125,35</area>
            <value>Length:</value>
        </textarea>

        <textarea name="length" from="title">
            <area>330,200,140,35</area>
        </textarea>

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

        <textarea name="year" from="title">
            <area>330,300,80,35</area>
        </textarea>

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

        <statetype name="rating_state" from="baseratingstate">
            <position>330,355</position>
        </statetype>

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

        <textarea name="lastplayed" from="title">
            <area>330,400,460,35</area>
            <value>Last Value</value>
        </textarea>

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

        <textarea name="playcount" from="title">
            <area>330,450,460,35</area>
            <template>%playcount% times</template>
        </textarea>

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

        <textarea name="filename" from="title">
            <area>330,505,460,90</area>
            <font>basesmall</font>
            <multiline>yes</multiline>
        </textarea>

    </window>

</mythuitheme>
