<!--

    This is a myth style theme file for mythmusic.

    (c) 2003 by a whole bunch of people associated with MythTV

-->
<mythuitheme>
    <!-- music selection screen -->
    <window name="music_select">
      <font name="active" face="Arial">
         <color>#ffffff</color>
         <size>17</size>
         <shadow>1,1</shadow>
      </font>

      <font name="inactive" face="Arial">
        <color>#9999cc</color>
        <size>17</size>
        <shadow>1,1</shadow>
      </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="#DDDDFF" end="#505050" alpha="100">
          </gradient>
          <gradient type="selected" start="#DDDDFF" end="#909090" alpha="255">
          </gradient>
          <fcnfont name="active" function="active"></fcnfont>
          <fcnfont name="inactive" function="inactive"></fcnfont>
        </listtreearea>
      </container>

      <container name="info">
        <area>0,400,800,200</area>

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

		<textarea name="line1" draworder="1" align="left">
  	             <font>active</font>
  	             <area>10,0,780,30</area>
  	             <cutdown>yes</cutdown>
  	         </textarea>
  	 
  	         <textarea name="line2" draworder="1" align="left">
  	             <font>active</font>
  	             <area>10,30,780,30</area>
  	             <cutdown>yes</cutdown>
  	         </textarea>
  	 
  	         <textarea name="line3" draworder="1" align="left">
  	             <font>active</font>
  	             <area>10,60,780,30</area>
  	             <cutdown>yes</cutdown>
  	         </textarea>
  	 
  	         <textarea name="line4" draworder="1" align="left">
  	             <font>active</font>
  	             <area>10,90,780,30</area>
  	             <cutdown>yes</cutdown>
  	         </textarea>
  	 
  	         <textarea name="line5" draworder="1" align="left">
  	             <font>active</font>
  	             <area>10,120,780,30</area>
  	             <cutdown>yes</cutdown>
  	         </textarea>
  	 
  	         <textarea name="line6" draworder="1" align="left">
  	             <font>active</font>
  	             <area>10,150,780,30</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>17</size>
	    <shadow>2,2</shadow>
	    <bold>yes</bold>
        </font>

        <font name="inactive" face="Arial">
            <color>#9999cc</color>
            <size>17</size>
	    <shadow>2,2</shadow>
	    <bold>yes</bold>
        </font>
  
        <font name="selected" face="Arial">
            <color>#ffff00</color>
            <size>18</size>
	    <shadow>2,2</shadow>
	    <bold>yes</bold>
        </font>

        <font name="currenttitle" face="Arial">
            <color>#DDDDFF</color>
            <size>20</size>
	    <shadow>3,3</shadow>
            <bold>yes</bold>
	    <bold>yes</bold>
        </font>

        <font name="currentartist" face="Arial">
            <color>#ffffbb</color>
            <size>18</size>
	    <shadow>2,2</shadow>
            <bold>yes</bold>
        </font>

        <font name="infotext" face="Arial">
            <color>#ffffff</color>
            <size>16</size>
	    <shadow>1,1</shadow>
	    <bold>yes</bold>
        </font>

        <font name="infotext2" face="Arial">
            <color>#ffffff</color>
            <size>16</size>
	    <shadow>2,2</shadow>
            <bold>yes</bold>
        </font>

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

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

        <container name="background">
            <!--<image name="filler" draworder="0" fleximage="yes">
                <filename>music/mm-background.png</filename>
                <position>0,10</position>
            </image>

            <image name="titlelines" draworder="0" fleximage="no">
                <filename>shared/trans-titles.png</filename>
                <position>0,10</position>
            </image>
            -->
            <image name="track_info_background" draworder="0" fleximage="no">
                <filename>music/mm_track_info_background.png</filename>
                <position>0,315</position>
            </image>
            <image name="music/mm_blackhole_border" draworder="0" fleximage="no">
                <filename>music/mm_blackhole_border.png</filename>
                <position>120,330</position>
            </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>40,10,720,270</area>
                <!--
                    An image to show the current navigation node
                -->
                <image function="selectionbar" filename="shared/long_bar.png" padding="15" location="-17,-6"></image>
                <!--
                    Some arrow images
                -->
                <image function="uparrow" filename="shared/up_arrow.png"></image>
                <image function="downarrow" filename="shared/down_arrow.png"></image>
                <image function="leftarrow" filename="shared/left_arrow.png"></image>
                <image function="rightarrow" filename="shared/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>25,16,190,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,535,270</area>
                    <fcnfont name="active" function="active"></fcnfont>
                    <fcnfont name="selected" function="selected"></fcnfont>
                    <fcnfont name="inactive" function="inactive"></fcnfont>
                </bin>
            </managedtreelist>
            
            <image name="showinglines" draworder="2" fleximage="yes">
                <context>1</context>
                <filename>playback_box/showings.png</filename>
                <position>0,0</position>
            </image>

            <!--
                An image for when we're waiting for data
            -->
            <image name="music/mm_waiting" draworder="0" fleximage="no">
                <context>0</context>
                <filename>music/mm_waiting.png</filename>
                <position>0,0</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>
                <value lang="DK">Vent venligst...</value>
                <value lang="NL">Gelieve te wachten...</value>
                <value lang="PT">Aguarde um Momento...</value>
                <value lang="SV">Vänta...</value>
                <value lang="ES">Aguarde un momento...</value>
                <value lang="CA">Esperi uns moments...</value>
                <value lang="FR">Patientez, svp ...</value>
                <value lang="DE">Bitte warten...</value>
                <value lang="ET">Palun oota...</value>
            </textarea>

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

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

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

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


            <textarea name="title_text" draworder="1" align="left">
                <font>currenttitle</font>
                <area>270,15,415,34</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="artist_text" draworder="1" align="left">
                <font>currentartist</font>
                <area>270,48,415,34</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="album_text" draworder="1" align="left">
                <font>currentartist</font>
                <area>270,76,415,34</area>
                <cutdown>yes</cutdown>
            </textarea>

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

            <textarea name="current_visualization_text" draworder="1" align="right">
                <font>infotext2</font>
                <area>470,100,200,25</area>
                <cutdown>no</cutdown>
            </textarea>

            <textarea name="info_text" draworder="1" align="left">
                <font>infotext</font>
                <area>265,125,260,25</area>
            </textarea>

            <textarea name="time_text" draworder="1" align="right">
                <font>infotext2</font>
                <area>485,125,185,25</area>
            </textarea>

            <blackhole name="visual_blackhole">
                <area>125,22,118,122</area>
            </blackhole>

        </container>

        <!--
            On screen volume display
        -->

        <container name="volumedisplay">
            <area>690,315,40,160</area>
            <statusbar name="volume_status" draworder="-1" whitespace="5">
                <container fleximage="no">music/mm_volume_background.png</container>
                <fill>music/mm_volume_tick.png</fill>
                <position>0,0</position>
                <orientation>BottomToTop</orientation>
            </statusbar>
        </container>

        <!--
            All the buttons
        -->

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

            <textbutton name="shuffle_button" draworder="0">
                <position>20,0</position>
                <image function="on" filename="music/mm_simple_button_on.png"></image>
                <image function="off" filename="music/mm_simple_button_off.png"></image>
                <image function="pushed" filename="music/mm_simple_button_active.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="repeat_button" draworder="0">
                <position>215,0</position>
                <image function="on" filename="music/mm_simple_button_on.png"></image>
                <image function="off" filename="music/mm_simple_button_off.png"></image>
                <image function="pushed" filename="music/mm_simple_button_active.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="pledit_button" draworder="0">
                <position>410,0</position>
                <image function="on" filename="music/mm_simple_button_on.png"></image>
                <image function="off" filename="music/mm_simple_button_off.png"></image>
                <image function="pushed" filename="music/mm_simple_button_active.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="vis_button" draworder="0">
                <position>605,0</position>
                <image function="on" filename="music/mm_simple_button_on.png"></image>
                <image function="off" filename="music/mm_simple_button_off.png"></image>
                <image function="pushed" filename="music/mm_simple_button_active.png"></image>
                <font>buttons</font>
            </textbutton>

            <pushbutton name="prev_button" draworder="0">
                <position>10,40</position>
                <image function="on" filename="music/mm_prev_button_on.png"></image>
                <image function="off" filename="music/mm_prev_button_off.png"></image>
                <image function="pushed" filename="music/mm_prev_button_pushed.png"></image>
            </pushbutton>
            
            <pushbutton name="rew_button" draworder="0">
                <position>125,40</position>
                <image function="on" filename="music/mm_rew_button_on.png"></image>
                <image function="off" filename="music/mm_rew_button_off.png"></image>
                <image function="pushed" filename="music/mm_rew_button_pushed.png"></image>
            </pushbutton>
            
            <pushbutton name="pause_button" draworder="0">
                <position>240,40</position>
                <image function="on" filename="music/mm_pause_button_on.png"></image>
                <image function="off" filename="music/mm_pause_button_off.png"></image>
                <image function="pushed" filename="music/mm_pause_button_pushed.png"></image>
            </pushbutton>
            
            <pushbutton name="play_button" draworder="0">
                <position>355,40</position>
                <image function="on" filename="music/mm_play_button_on.png"></image>
                <image function="off" filename="music/mm_play_button_off.png"></image>
                <image function="pushed" filename="music/mm_play_button_pushed.png"></image>
            </pushbutton>
            
            <pushbutton name="stop_button" draworder="0">
                <position>470,40</position>
                <image function="on" filename="music/mm_stop_button_on.png"></image>
                <image function="off" filename="music/mm_stop_button_off.png"></image>
                <image function="pushed" filename="music/mm_stop_button_pushed.png"></image>
            </pushbutton>
            
            <pushbutton name="ff_button" draworder="0">
                <position>585,40</position>
                <image function="on" filename="music/mm_ff_button_on.png"></image>
                <image function="off" filename="music/mm_ff_button_off.png"></image>
                <image function="pushed" filename="music/mm_ff_button_pushed.png"></image>
            </pushbutton>
            
            <pushbutton name="next_button" draworder="0">
                <position>700,40</position>
                <image function="on" filename="music/mm_next_button_on.png"></image>
                <image function="off" filename="music/mm_next_button_off.png"></image>
                <image function="pushed" filename="music/mm_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>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">
                <context>1</context>
                <area>0,15,800,50</area>
                <font>title</font>
                <value>Track Information</value>
            </textarea>

            <!--
                    Labels
            -->


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

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

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

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

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

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

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

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

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

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

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

            <textarea name="filename_label" draworder="1" align="right">
                <context>1</context>
                <area>15,430,170,30</area>
                <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">
                <context>2</context>
                <area>0,0,800,50</area>
                <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="text_button_on.png"></image>
                <image function="off" filename="text_button_off.png"></image>
                <image function="pushed" filename="text_button_pushed.png"></image>
            </textbutton>

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

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

      </container>
   </window>

</mythuitheme>
