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

    <!-- Popups -->
    <window name="castpopup">
        <area>0,42,1280,515</area>
        <shape name="fade" from="basefadebackground" />

        <imagetype name="backimg">
            <position>877,78</position>
            <filename>popups/alt_menu_background.png</filename>
        </imagetype>

        <textarea name="label" from="basetextarea">
            <area>889,93,378,125</area>
            <align>allcenter</align>
            <font>basemedium</font>
            <multiline>yes</multiline>
            <value>Cast Members</value>
        </textarea>

        <buttonlist name="cast">
            <area>900,238,364,307</area>
            <buttonarea>0,0,378,350</buttonarea>
            <spacing>3</spacing>
            <wrapstyle>selection</wrapstyle>
            <statetype name="buttonitem">
                <area>0,0,367,53</area>
                <state name="active">
                    <area>0,0,367,53</area>
                    <imagetype name="buttonbackground">
                        <filename>popups/menu_button.png</filename>
                    </imagetype>
                    <textarea name="buttontext">
                        <area>18,0,324,50</area>
                        <align>allcenter</align>
                        <font>basemedium</font>
                    </textarea>
<!--                    <imagetype name="buttonarrow">
                        <position>346,16</position>
                        <filename>popups/submenu_arrow.png</filename>
                    </imagetype>-->
                </state>
                <state name="selectedinactive" from="active" />
                <state name="selectedactive" from="active">
                    <imagetype name="selecteditemarrow">
                        <position>5,16</position>
                        <filename>popups/selected_item_arrow.png</filename>
                    </imagetype>
                    <textarea name="buttontext">
                        <font>basemediumbrown</font>
                    </textarea>
                </state>
            </statetype>
        </buttonlist>

    </window>

    <window name="descriptionpopup">
        <area>0,42,1280,515</area>
        <shape name="fade" from="basefadebackground" />

        <imagetype name="backimg">
            <position>877,78</position>
            <filename>popups/alt_menu_background.png</filename>
        </imagetype>

        <imagetype name="listback">
            <position>896,238</position>
            <filename>recordings/filterlist_background.png</filename>
        </imagetype>

        <textarea name="label" from="basetextarea">
            <area>889,93,378,125</area>
            <align>allcenter</align>
            <font>basemedium</font>
            <multiline>yes</multiline>
            <value>Full Plot</value>
        </textarea>

        <textarea name="description" from="basetextarea">
            <area>903,242,350,307</area>
            <multiline>yes</multiline>
        </textarea>
    </window>

    <window name="filter">
        <area>0,42,1280,555</area>

        <shape name="fade" from="basefadebackground" />

        <imagetype name="backimg">
            <position>236,40</position>
            <filename>popups/edit_background.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>251,70,774,40</area>
            <value>Video List Filters</value>
            <align>hcenter,vcenter</align>
            <font>basemedium</font>
        </textarea>

        <textarea name="numvideos_text" from="title">
            <position>251,120</position>
            <align>allcenter</align>
            <font>basesmall</font>
        </textarea>

        <!-- Labels -->

        <textarea name="textfilter_text">
            <area>419,196,180,30</area>
            <value>Text Filter:</value>
            <font>basemedium</font>
        </textarea>

        <textarea name="category_text">
            <area>269,232,220,30</area>
            <value>Category</value>
            <align>hcenter</align>
            <font>basemedium</font>
        </textarea>

        <textarea name="genre_text" from="category_text">
            <position>269,299</position>
            <value>Genre</value>
        </textarea>

        <textarea name="country_text" from="category_text">
            <position>269,366</position>
            <value>Country</value>
        </textarea>

        <textarea name="cast_text" from="category_text">
            <position>269,433</position>
            <value>Actor/Actress</value>
        </textarea>

        <textarea name="year_text" from="category_text">
            <position>526,232</position>
            <value>Year</value>
        </textarea>

        <textarea name="runtime_text" from="category_text">
            <position>526,299</position>
            <value>Runtime</value>
        </textarea>

        <textarea name="userrating_text" from="category_text">
            <position>526,366</position>
            <value>User Rating</value>
        </textarea>

        <textarea name="browse_text" from="category_text">
            <position>526,433</position>
            <value>Browse</value>
        </textarea>

        <textarea name="inetref_text" from="category_text">
            <position>784,232</position>
            <value>InetRef</value>
        </textarea>

        <textarea name="coverfile_text" from="category_text">
            <position>784,299</position>
            <value>Cover File</value>
        </textarea>

        <textarea name="orderby_text" from="category_text">
            <position>784,366</position>
            <value>Sort by</value>
        </textarea>

        <textarea name="watched_text" from="category_text">
            <position>784,433</position>
            <value>Watched</value>
        </textarea>

        <!-- Widgets -->
        <textedit name="textfilter_input" from="baseshorttextedit">
            <position>545,185</position>
        </textedit>

        <buttonlist name="category_select" from="baseselector">
            <position>269,259</position>
        </buttonlist>

        <buttonlist name="genre_select" from="baseselector">
            <position>269,326</position>
        </buttonlist>

        <buttonlist name="country_select" from="baseselector">
            <position>269,393</position>
        </buttonlist>

        <buttonlist name="cast_select" from="baseselector">
            <position>269,460</position>
        </buttonlist>

        <buttonlist name="year_select" from="baseselector">
            <position>526,259</position>
        </buttonlist>

        <buttonlist name="runtime_select" from="baseselector">
            <position>526,326</position>
        </buttonlist>

        <buttonlist name="userrating_select" from="baseselector">
            <position>526,393</position>
        </buttonlist>

        <buttonlist name="browse_select" from="baseselector">
            <position>526,460</position>
        </buttonlist>

        <buttonlist name="inetref_select" from="baseselector">
            <position>784,259</position>
        </buttonlist>

        <buttonlist name="coverfile_select" from="baseselector">
            <position>784,326</position>
        </buttonlist>

        <buttonlist name="orderby_select" from="baseselector">
            <position>784,393</position>
        </buttonlist>

        <buttonlist name="watched_select" from="baseselector">
            <position>784,460</position>
        </buttonlist>

        <button name="done_button" from="basebutton">
            <position>693,520</position>
            <value>Done</value>
        </button>

        <button name="save_button" from="basebutton">
            <position>363,520</position>
            <value>Make default</value>
        </button>

    </window>

    <!-- Main Windows -->
    <window name="manager">

        <imagetype name="fanart" from="basebackdrop" />

        <imagetype name="framebackground">
            <position>68,41</position>
            <filename>video/managerlistbackground.png</filename>
        </imagetype>

        <buttonlist name="videos">
            <area>67,41,600,644</area>
            <layout>vertical</layout>
            <scrollstyle>center</scrollstyle>
            <spacing>0</spacing>
            <buttonarea>0,0,600,646</buttonarea>
            <statetype name="buttonitem">
                <area>0,0,590,92</area>
                <state name="active">
                    <imagetype name="buttonimage">
                        <area>17,0,58,92</area>
                        <filename>mv_browse_nocover.png</filename>
                    </imagetype>
                    <statetype name="nodetype">
                        <position>550,62</position>
                        <state name="subfolder">
                            <imagetype name="subicon">
                                <area>0,0,30,30</area>
                                <filename>shared/directory.png</filename>
                                <preserveaspect>true</preserveaspect>
                            </imagetype>
                        </state>
                        <state name="upfolder" from="subfolder">
                            <imagetype name="upicon">
                                <area>14,13,10,10</area>
                                <filename>shared/updirectory.png</filename>
                                <preserveaspect>true</preserveaspect>
                            </imagetype>
                        </state>
                    </statetype>
                    <textarea name="buttontext" from="basetextarea">
                        <area>93,8,470,50</area>
                        <font>baselarge</font>
                        <align>vcenter</align>
                    </textarea>
                    <textarea name="director" from="basetextarea">
                        <area>93,61,390,25</area>
                        <font>basesmallbrown</font>
                    </textarea>
                    <textarea name="year" from="director">
                        <area>497,61,75,25</area>
                        <align>right</align>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <area>0,-24,92,137</area>
                    <imagetype name="buttonimage">
                        <area>0,0,92,137</area>
                        <filename>mv_browse_nocover.png</filename>
                        <mask>video/managerpostermask.png</mask>
                    </imagetype>
                    <statetype name="nodetype">
                        <position>550,87</position>
                    </statetype>
                    <textarea name="buttontext">
                        <position>100,32</position>
                    </textarea>
                    <textarea name="director">
                        <position>100,85</position>
                    </textarea>
                    <textarea name="year" from="director">
                        <area>497,85,75,25</area>
                        <align>right</align>
                    </textarea>
                </state>
            </statetype>
            <statetype name="upscrollarrow">
                <position>240,270</position>
                <showempty>yes</showempty>
                <state type="full">
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>456,270</position>
                <showempty>yes</showempty>
                <state type="full">
                </state>
            </statetype>
        </buttonlist>

        <imagetype name="frame">
            <position>60,41</position>
            <filename>video/managerlistframe.png</filename>
        </imagetype>

        <imagetype name="topbar" from="basetopbar" />

        <textarea name="heading" from="baseheading">
            <value>Video Manager</value>
        </textarea>

        <statetype name="parentallevel">
            <position>10,636</position>
            <state name="Lowest">
                <imagetype name="icon">
                    <filename>video/parental_level_lowest.png</filename>
                </imagetype>
            </state>
            <state name="Low" from="Lowest">
                <imagetype name="icon">
                    <filename>video/parental_level_low.png</filename>
                </imagetype>
            </state>
            <state name="Medium" from="Lowest">
                <imagetype name="icon">
                    <filename>video/parental_level_medium.png</filename>
                </imagetype>
            </state>
            <state name="High" from="Lowest">
                <imagetype name="icon">
                    <filename>video/parental_level_high.png</filename>
                </imagetype>
            </state>
        </statetype>

        <shape name="descriptionbackground" from="basetextbackground">
            <area>680,57,567,614</area>
            <shape name="hline">
                <area>15,41,537,6</area>
            </shape>
            <shape name="hline2" from="hline">
                <position>15,425</position>
            </shape>
        </shape>

        <textarea name="title" from="basetextarea">
            <area>700,62,490,40</area>
            <font>baselarge</font>
        </textarea>

        <statetype name="userratingstate" from="baserating">
            <position>1195,59</position>
        </statetype>

        <textarea name="dirlbl" from="basetextarea">
            <area>700,120,130,30</area>
            <font>basemedium</font>
            <align>left,vcenter</align>
            <value>Director:</value>
        </textarea>

        <textarea name="director" from="basetextarea">
            <area>838,120,392,30</area>
            <align>vcenter</align>
        </textarea>

        <textarea name="yrlbl" from="dirlbl">
            <position>700,160</position>
            <value>Year:</value>
        </textarea>

        <textarea name="year" from="director">
            <area>838,160,100,30</area>
        </textarea>

        <textarea name="lvllbl" from="dirlbl">
            <position>700,200</position>
            <value>Parental:</value>
        </textarea>

        <statetype name="videolevel" from="parentallevel">
            <position>838,200</position>
            <state name="Lowest">
                <imagetype name="icon">
                    <area>0,2,30,30</area>
                    <filename>video/parental_level_lowest.png</filename>
                </imagetype>
                <textarea name="label">
                    <area>35,6,100,35</area>
                    <value>Lowest</value>
                    <align>vcenter</align>
                </textarea>
            </state>
            <state name="Low" from="Lowest">
                <imagetype name="icon">
                    <filename>video/parental_level_low.png</filename>
                </imagetype>
                <textarea name="label">
                    <value>Low</value>
                </textarea>
            </state>
            <state name="Medium" from="Lowest">
                <imagetype name="icon">
                    <filename>video/parental_level_medium.png</filename>
                </imagetype>
                <textarea name="label">
                    <value>Medium</value>
                </textarea>
            </state>
            <state name="High" from="Lowest">
                <imagetype name="icon">
                    <filename>video/parental_level_high.png</filename>
                </imagetype>
                <textarea name="label">
                    <value>High</value>
                </textarea>
            </state>
        </statetype>

        <textarea name="ratlbl" from="dirlbl">
            <position>700,240</position>
            <value>Rated:</value>
        </textarea>

        <textarea name="rating" from="director">
            <area>838,240,350,30</area>
        </textarea>

        <textarea name="browselbl" from="dirlbl">
            <position>700,280</position>
            <value>Browsable:</value>
        </textarea>

        <textarea name="browseable" from="director">
            <area>838,280,100,35</area>
        </textarea>

        <textarea name="lenlbl" from="dirlbl">
            <position>700,320</position>
            <value>Runtime:</value>
        </textarea>

        <textarea name="length" from="director">
            <area>838,320,350,35</area>
        </textarea>

        <textarea name="fillbl" from="dirlbl">
            <position>700,360</position>
            <value>Filename:</value>
        </textarea>

        <textarea name="filename" from="director">
            <position>838,360</position>
        </textarea>

        <textarea name="cvflbl" from="dirlbl">
            <position>700,400</position>
            <value>Cover File:</value>
        </textarea>

        <textarea name="coverfile" from="director">
            <position>838,400</position>
        </textarea>

        <textarea name="imdblbl" from="dirlbl">
            <position>700,440</position>
            <value>IMDB ID:</value>
        </textarea>

        <textarea name="inetref" from="director">
            <position>838,440</position>
        </textarea>

        <textarea name="description" from="director">
            <area>695,500,540,160</area>
            <multiline>yes</multiline>
        </textarea>

        <textarea name="novideos" from="description">
            <align>allcenter</align>
            <value>No videos in library, or no files found.  If you have configured a video directory, press "M" (or the MENU key) and select "Scan for Changes."</value>
        </textarea>

    </window>

    <window name="browser">

        <imagetype name="fanart" from="basebackdrop" />

        <imagetype name="topbar" from="basetopbar" />

        <textarea name="heading" from="baseheading">
            <value>Video Browser</value>
        </textarea>

        <imagetype name="browserbackground">
            <position>0,345</position>
            <filename>video/browserlistbackground.png</filename>
        </imagetype>

        <buttonlist name="videos">
            <area>0,345,1280,299</area>
            <layout>horizontal</layout>
            <scrollstyle>center</scrollstyle>
            <wrapstyle>items</wrapstyle>
            <buttonarea>0,0,1282,299</buttonarea>
            <spacing>0</spacing>
            <statetype name="buttonitem">
                <state name="selectedactive">
                    <area>-13,0,209,332</area>
                    <imagetype name="coverart">
                        <area>1,3,209,325</area>
                        <filename>mv_browse_nocover.png</filename>
                        <mask>video/postermask.png</mask>
                    </imagetype>

                    <shape name="titlebackground" />
                    <textarea name="buttontext" />

                    <statetype name="nodetype">
                        <position>134,255</position>
                        <state name="subfolder">
                            <imagetype name="icon">
                                <filename>shared/directory.png</filename>
                            </imagetype>
                        </state>
                        <state name="upfolder" from="subfolder">
                            <imagetype name="arrow">
                                <position>38,33</position>
                                <filename>shared/updirectory.png</filename>
                            </imagetype>
                        </state>
                    </statetype>

                    <statetype name="watchedstate">
                        <position>140,255</position>
                        <state name="yes">
                            <imagetype name="overlay">
                                <filename>recordings/statusoverlay.png</filename>
                            </imagetype>
                            <imagetype name="watchedimage">
                                <position>2,8</position>
                                <filename>shared/watched.png</filename>
                            </imagetype>
                        </state>
                    </statetype>

                    <textarea name="childcount" from="basetextarea">
                        <area>160,290,35,20</area>
                        <font>basesmallbrown</font>
                        <align>hcenter</align>
                    </textarea>

                </state>
                <state name="active" from="selectedactive">
                    <area>0,0,183,332</area>
                    <imagetype name="coverart">
                        <area>0,25,183,275</area>
                    </imagetype>

                    <shape name="titlebackground">
                        <area>0,0,183,25</area>
                        <fill color="#767662" alpha="180" />
                    </shape>

                    <textarea name="buttontext" from="basetextarea">
                        <area>5,2,173,20</area>
                        <align>hcenter</align>
                    </textarea>

                    <statetype name="nodetype">
                        <position>108,230</position>
                    </statetype>

                    <textarea name="childcount">
                        <position>135,265</position>
                    </textarea>

                </state>
            </statetype>
        </buttonlist>

        <imagetype name="posterframe">
            <position>0,340</position>
            <filename>video/browserlistframe.png</filename>
        </imagetype>

        <shape name="textbackground" from="basetextbackground">
            <position>30,70</position>
        </shape>

        <textarea name="title" from="basetextarea">
            <area>48,75,590,35</area>
            <font>baselarge</font>
        </textarea>

        <textarea name="subtitle" from="basetextarea">
            <area>600,75,590,35</area>
            <align>right</align>
            <font>baselarge</font>
        </textarea>

        <statetype name="userratingstate" from="baserating">
            <position>1193,72</position>
        </statetype>

        <textarea name="description" from="basetextarea">
            <area>48,124,1182,145</area>
            <multiline>yes</multiline>
            <align>vcenter</align>
        </textarea>

        <textarea name="novideos" from="description">
            <align>allcenter</align>
            <value>No videos in library, or no files found.  If you have configured a video directory, press "M" (or the MENU key) and select "Scan for Changes."</value>
        </textarea>

        <textarea name="year" from="basetextarea">
            <area>48,284,200,25</area>
        </textarea>

        <textarea name="season" from="basetextarea">
            <area>440,284,400,25</area>
            <align>hcenter</align>
            <template>%Season - |SEASON| %% Episode - |EPISODE| %</template>
        </textarea>

        <textarea name="director" from="basetextarea">
            <area>850,284,380,25</area>
            <align>right</align>
        </textarea>

    </window>

    <window name="gallery">

        <imagetype name="fanart" from="basebackdrop" />

        <imagetype name="topbar" from="basetopbar" />

        <textarea name="heading" from="baseheading">
            <value>Videos - Gallery</value>
        </textarea>

        <buttonlist name="videos">
            <area>17,55,1250,520</area>
            <layout>grid</layout>
            <spacing>10</spacing>
            <buttonarea>0,0,1250,450</buttonarea>
            <statetype name="buttonitem">
                <state name="active">
                    <area>0,0,200,209</area>
                    <imagetype name="buttonbackground">
                        <filename>video/video_gallery_background.png</filename>
                    </imagetype>

                    <imagetype name="buttonimage">
                        <area>6,5,187,145</area>
                        <preserveaspect>true</preserveaspect>
                    </imagetype>

                    <statetype name="nodetype">
                        <position>118,83</position>
                        <state name="subfolder">
                            <imagetype name="icon">
                                <filename>shared/directory.png</filename>
                            </imagetype>
                        </state>
                        <state name="upfolder" from="subfolder">
                            <imagetype name="upnode">
                                <position>37,34</position>
                                <filename>shared/updirectory.png</filename>
                            </imagetype>
                        </state>
                    </statetype>

                    <statetype name="watchedstate">
                        <position>150,110</position>
                        <state name="yes">
                            <imagetype name="overlay">
                                <filename>recordings/statusoverlay.png</filename>
                            </imagetype>
                            <imagetype name="watchedimage">
                                <position>2,8</position>
                                <filename>shared/watched.png</filename>
                            </imagetype>
                        </state>
                    </statetype>

                    <textarea name="buttontext" from="basetextarea">
                        <area>8,155,183,50</area>
                        <align>hcenter,vcenter</align>
                        <multiline>true</multiline>
                        <template>%TITLE%</template>
                    </textarea>
                    <textarea name="childcount" from="basetextarea">
                        <area>144,118,35,20</area>
                        <font>basesmallbrown</font>
                        <align>hcenter</align>
                    </textarea>
                </state>
                <state name="selectedactive" from="active">
                    <imagetype name="buttonbackground">
                        <filename>video/video_gallery_background_selected.png</filename>
                    </imagetype>
                </state>
            </statetype>
<!--            <statetype name="upscrollarrow">
                <position>1100,15</position>
                <state type="full">
                    <imagetype name="upon">
                        <filename>up_arrow.png</filename>
                    </imagetype>
                </state>
            </statetype>
            <statetype name="downscrollarrow">
                <position>1160,15</position>
                <state type="full">
                    <imagetype name="dnon">
                        <filename>down_arrow.png</filename>
                    </imagetype>
                </state>
            </statetype>-->
        </buttonlist>

<!--        <textarea name="position" from="basetextarea">
            <area>580,680,200,40</area>
            <align>hcenter,vcenter</align>
            <font>basemedium</font>
        </textarea>-->

        <textarea name="novideos" from="basetextarea">
            <area>50,50,700,50</area>
            <multiline>yes</multiline>
            <align>hcenter,vcenter</align>
            <value>No videos in library, or no files found.  If you have configured a video directory, press "M" (or the MENU key) and select "Scan for Changes."</value>
        </textarea>

        <shape name="textbackground" from="basetextbackground">
            <area>30,490,1222,188</area>
            <shape name="hline2" from="hline">
                <position>15,152</position>
            </shape>
        </shape>

        <textarea name="title" from="basetextarea">
            <area>48,497,570,35</area>
            <font>baselarge</font>
        </textarea>

        <textarea name="subtitle" from="basetextarea">
            <area>620,497,570,35</area>
            <align>right</align>
            <font>baselarge</font>
        </textarea>

        <statetype name="userratingstate" from="baserating">
            <position>1193,492</position>
        </statetype>

        <textarea name="description" from="basetextarea">
            <area>48,540,1182,100</area>
            <multiline>yes</multiline>
            <align>vcenter</align>
        </textarea>

        <textarea name="year" from="basetextarea">
            <area>48,650,200,25</area>
        </textarea>

<!--        <textarea name="runtime" from="basetextarea">
            <area>250,650,600,30</area>
            <align>left</align>
        </textarea>
-->
        <textarea name="season" from="basetextarea">
            <area>440,650,400,25</area>
            <align>hcenter</align>
            <template>%Season - |SEASON| %% Episode - |EPISODE| %</template>
        </textarea>

        <textarea name="director" from="basetextarea">
            <area>850,650,380,25</area>
            <align>right</align>
        </textarea>


        <!-- <textarea name="breadcrumbs" from="basetextarea">
            <area>500,20,280,30</area>
            <font>basemedium</font>
            <align>right,vcenter</align>
        </textarea> -->

    </window>

    <window name="tree">

        <imagetype name="topbar" from="basetopbar" />

        <textarea name="heading" from="baseheading">
            <value>Videos - Tree</value>
        </textarea>

        <textarea name="breadcrumbs" from="basetextarea">
            <area>17,55,1250,30</area>
            <font>basemedium</font>
        </textarea>

        <buttontree name="videos">
            <area>17,90,1250,380</area>
            <numlists>3</numlists>
            <spacing>10</spacing>
            <buttonlist name="listtemplate">
                <area>0,0,410,100%</area>
                <layout>vertical</layout>
                <spacing>5</spacing>
                <wrapstyle>selection</wrapstyle>
                <buttonarea>0,0,100%,355</buttonarea>
                <statetype name="buttonitem">
                    <state name="active">
                        <area>0,0,100%,50</area>
                        <shape name="buttonbackground">
                            <area>0,0,100%,100%</area>
                            <fill style="gradient">
                                <gradient start="#505050" end="#000000" alpha="200" direction="vertical"  />
                            </fill>
                        </shape>
                        <imagetype name="smartimage">
                            <area>5,5,30,40</area>
                            <preserveaspect>true</preserveaspect>
                        </imagetype>
                        <statetype name="nodetype">
                            <position>5,10</position>
                            <state name="subfolder">
                                <imagetype name="icon">
                                    <area>0,0,30,30</area>
                                    <filename>shared/directory.png</filename>
                                    <preserveaspect>true</preserveaspect>
                                </imagetype>
                            </state>
                            <state name="upfolder" from="subfolder">
                                <imagetype name="icon">
                                    <area>10,10,10,10</area>
                                    <filename>shared/updirectory.png</filename>
                                    <preserveaspect>true</preserveaspect>
                                </imagetype>
                            </state>
                            <state name="default">

                            </state>
                        </statetype>
                        <textarea name="buttontext">
                            <area>40,10,330,30</area>
                            <font>basesmall</font>
                            <cutdown>yes</cutdown>
                            <align>left,vcenter</align>
                        </textarea>
                        <statetype name="watchedstate">
                            <position>375,10</position>
                            <state name="yes">
                                <imagetype name="watchedimage">
                                    <area>0,0,30,30</area>
                                    <filename>shared/watched.png</filename>
                                    <preserveaspect>true</preserveaspect>
                                </imagetype>
                            </state>
                        </statetype>
                        <imagetype name="buttonarrow">
                            <position>390,15</position>
                            <filename>lb-arrow.png</filename>
                        </imagetype>
                    </state>
                    <state name="selectedactive" from="active">
                        <shape name="buttonbackground">
                            <fill style="gradient">
                                <gradient start="#52CA38" end="#349838" alpha="255" />
                            </fill>
                        </shape>
                    </state>
                    <state name="selectedinactive" from="active">
                        <shape name="buttonbackground">
                            <fill style="gradient">
                                <gradient start="#52CA38" end="#349838" alpha="100" />
                            </fill>
                        </shape>
                        <textarea name="buttontext">
                            <font>basesmallpurple</font>
                        </textarea>
                    </state>
                </statetype>
                <statetype name="upscrollarrow">
                    <position>10,360</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>40,360</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>
        </buttontree>

        <textarea name="novideos" from="basetextarea">
            <area>50,50,700,50</area>
            <multiline>yes</multiline>
            <align>hcenter,vcenter</align>
            <value>No videos in library, or no files found.  If you have configured a video directory, press "M" (or the MENU key) and select "Scan for Changes."</value>
        </textarea>

        <shape name="textbackground" from="basetextbackground">
            <area>30,490,1222,188</area>
            <shape name="hline2" from="hline">
                <position>15,152</position>
            </shape>
        </shape>

        <textarea name="title" from="basetextarea">
            <area>48,497,570,35</area>
            <font>baselarge</font>
        </textarea>

        <textarea name="subtitle" from="basetextarea">
            <area>620,497,570,35</area>
            <align>right</align>
            <font>baselarge</font>
        </textarea>

        <statetype name="userratingstate" from="baserating">
            <position>1193,492</position>
        </statetype>

        <textarea name="description" from="basetextarea">
            <area>48,540,1182,100</area>
            <multiline>yes</multiline>
            <align>vcenter</align>
        </textarea>

        <textarea name="year" from="basetextarea">
            <area>48,650,200,25</area>
        </textarea>

<!--        <textarea name="runtime" from="basetextarea">
            <area>250,650,600,30</area>
            <align>left</align>
        </textarea>
-->
        <textarea name="season" from="basetextarea">
            <area>440,650,400,25</area>
            <align>hcenter</align>
            <template>%Season - |SEASON| %% Episode - |EPISODE| %</template>
        </textarea>

        <textarea name="director" from="basetextarea">
            <area>850,650,380,25</area>
            <align>right</align>
        </textarea>
    </window>

    <window name="file_associations">
        <area>0,42,1280,515</area>
        <shape name="fade" from="basefadebackground" />

        <imagetype name="backimg">
            <position>236,58</position>
            <filename>popups/largemenubackground.png</filename>
        </imagetype>

<!--        <textarea name="heading" from="baseheading">
            <value>Video File Associations</value>
        </textarea>-->

        <textarea name="extension_text" from="basetextarea">
            <area>300,97,200,30</area>
            <value>Extension:</value>
            <align>right,vcenter</align>
        </textarea>

        <buttonlist name="extension_select" from="baseselector">
            <position>520,95</position>
        </buttonlist>

        <textarea name="command_text" from="extension_text">
            <position>300,160</position>
            <value>Command:</value>
        </textarea>

        <textedit name="command" from="basetextedit">
            <position>520,155</position>
        </textedit>

        <textarea name="default_text" from="extension_text">
            <position>300,215</position>
            <value>Use default player:</value>
        </textarea>

        <checkbox name="default_check" from="basecheckbox">
            <position>520,215</position>
        </checkbox>

        <textarea name="ignore_text" from="extension_text">
            <position>300,275</position>
            <value>Ignore:</value>
        </textarea>

        <checkbox name="ignore_check" from="basecheckbox">
            <position>520,275</position>
        </checkbox>

        <button name="new_button" from="basewidebutton">
            <position>453,385</position>
            <value>New</value>
        </button>

        <button name="delete_button" from="basewidebutton">
            <position>453,442</position>
            <value>Delete</value>
        </button>

        <button name="done_button" from="basewidebutton">
            <position>453,500</position>
            <value>Save</value>
        </button>

    </window>

    <window name="edit_metadata">

        <imagetype name="topbar" from="basetopbar" />

        <textarea name="heading" from="baseheading">
            <value>Edit Video Metadata</value>
        </textarea>

        <!-- Labels  -->

        <textarea name="title_text" from="basetextarea">
            <area>150,80,250,40</area>
            <value>Title:</value>
            <align>right,top</align>
        </textarea>

        <textarea name="subtitle_text" from="basetextarea">
            <area>150,138,250,40</area>
            <value>Subtitle:</value>
            <align>right,top</align>
        </textarea>

        <textarea name="season_text" from="basetextarea">
            <area>200,185,250,40</area>
            <value>Season:</value>
            <align>right,top</align>
        </textarea>

        <textarea name="episode_text" from="basetextarea">
            <area>520,185,150,40</area>
            <value>Episode:</value>
            <align>right,top</align>
        </textarea>

        <textarea name="category_text" from="title_text">
            <area>520,232,150,40</area>
            <align>right</align>
            <value>Category:</value>
        </textarea>

        <textarea name="level_text" from="title_text">
            <area>120,232,200,40</area>
            <align>right</align>
            <value>Parental Control:</value>
        </textarea>

        <textarea name="child_text" from="title_text">
            <area>120,277,200,40</area>
            <align>right</align>
            <value>File to Always Play Next:</value>
        </textarea>

        <textarea name="browse_text" from="title_text">
            <area>570,272,280,40</area>
            <align>left</align>
            <value>Include while Browsing:</value>
        </textarea>

        <textarea name="watched_text" from="title_text">
            <area>570,318,280,40</area>
            <align>left</align>
            <value>Item has been Watched:</value>
        </textarea>

        <textarea name="coverart_text_label" from="title_text">
            <position>200,358</position>
            <value>Cover Art:</value>
        </textarea>

        <textarea name="screenshot_text_label" from="title_text">
            <position>200,387</position>
            <value>Screenshot:</value>
        </textarea>

        <textarea name="banner_text_label" from="title_text">
            <position>200,416</position>
            <value>Banner:</value>
        </textarea>

        <textarea name="fanart_text_label" from="title_text">
            <position>200,445</position>
            <value>Fanart:</value>
        </textarea>

        <textarea name="trailer_text_label" from="title_text">
            <position>200,477</position>
            <value>Trailer:</value>
        </textarea>

        <textarea name="player_text" from="title_text">
            <position>150,517</position>
            <value>Unique Player Command:</value>
        </textarea>

        <!-- Widgets -->

        <textedit name="title_edit" from="basetextedit">
            <position>410,70</position>
        </textedit>

        <textedit name="subtitle_edit" from="basetextedit">
            <position>410,126</position>
        </textedit>

        <spinbox name="season" from="basespinbox">
            <position>460,181</position>
        </spinbox>

        <spinbox name="episode" from="basespinbox">
            <position>680,181</position>
        </spinbox>

        <buttonlist name="level_select" from="baseselector">
            <position>330,225</position>
        </buttonlist>

        <buttonlist name="category_select" from="baseselector">
            <position>680,225</position>
        </buttonlist>

        <buttonlist name="child_select" from="baseselector">
            <position>330,270</position>
        </buttonlist>

        <checkbox name="browse_check" from="basecheckbox">
            <position>835,268</position>
        </checkbox>

        <checkbox name="watched_check" from="basecheckbox">
            <position>835,312</position>
        </checkbox>

        <button name="coverart_button">
            <area>460,353,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>

        <textarea name="coverart_text" from="basetextarea">
            <area>500,358,250,40</area>
        </textarea>

        <button name="screenshot_button">
            <area>460,382,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>

        <textarea name="screenshot_text" from="basetextarea">
            <area>500,387,250,40</area>
        </textarea>

        <button name="banner_button">
            <area>460,411,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>

        <textarea name="banner_text" from="basetextarea">
            <area>500,416,250,40</area>
        </textarea>

        <button name="fanart_button">
            <area>460,442,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>

        <textarea name="fanart_text" from="basetextarea">
            <area>500,445,250,40</area>
        </textarea>

        <button name="trailer_button">
            <area>460,472,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>

        <textarea name="trailer_text" from="basetextarea">
            <area>500,477,250,40</area>
        </textarea>


        <textedit name="player_edit" from="basetextedit">
            <position>410,507</position>
        </textedit>

        <button name="done_button" from="basebutton">
            <position>510,567</position>
            <value>Done</value>
        </button>

    </window>

    <window name="itemdetailpopup">
        <area>0,42,1280,515</area>
        <shape name="fade" from="basefadebackground" />

        <imagetype name="backimg">
            <position>236,58</position>
            <filename>video/info_background.png</filename>
        </imagetype>

        <imagetype name="coverart">
            <area>759,79,260,391</area>
            <mask>video/info_poster_mask.png</mask>
            <preserveaspect>true</preserveaspect>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>270,85,455,35</area>
            <font>baselarge</font>
        </textarea>

        <textarea name="description" from="basetextarea">
            <area>270,165,455,220</area>
            <multiline>yes</multiline>
        </textarea>

        <textarea name="cast" from="basetextarea">
            <area>270,385,455,50</area>
            <multiline>yes</multiline>
        </textarea>

        <textarea name="dirlbl" from="basetextarea">
            <area>270,135,120,35</area>
            <value>Directed by:</value>
            <align>left</align>
        </textarea>

        <textarea name="director" from="basetextarea">
            <area>405,135,250,35</area>
        </textarea>

        <textarea name="year" from="basetextarea">
            <area>270,445,80,35</area>
        </textarea>

        <textarea name="length" from="basetextarea">
            <area>447,445,278,35</area>
            <align>right</align>
        </textarea>

        <button name="done_button" from="basebutton">
            <position>363,495</position>
            <value>Done</value>
        </button>

        <button name="play_button" from="basebutton">
            <position>693,495</position>
            <value>Play</value>
        </button>

    </window>

    <window name="metadatasettings">
        <area>0,42,1280,555</area>

        <shape name="fade" from="basefadebackground" />

        <imagetype name="backimg">
            <position>236,40</position>
            <filename>popups/edit_background.png</filename>
        </imagetype>

        <textarea name="title" from="basetextarea">
            <area>251,70,774,90</area>
            <value>Video Metadata Settings</value>
            <align>hcenter,vcenter</align>
            <font>basemedium</font>
        </textarea>

<!--        <textarea name="helptext" from="title">
            <area>251,120,1100,280</area>
            <multiline>yes</multiline>
            <font>basesmall</font>
            <align>allcenter</align>
        </textarea>--> <!-- May re-enable when I've come up with a suitable layout -->

        <checkbox name="autometaupdatecheck" from="basecheckbox">
            <position>435,207</position>
        </checkbox>

        <textarea name="autometacheck_text" from="basetextarea">
            <area>475,205,500,30</area>
            <value>Perform metadata update after video scan</value>
            <align>left,vcenter</align>
        </textarea>

        <checkbox name="unknownfilecheck" from="basecheckbox">
            <position>435,267</position>
        </checkbox>

        <textarea name="unknownfilecheck_text" from="basetextarea">
            <area>475,265,400,30</area>
            <value>Display unknown file types</value>
            <align>left,vcenter</align>
        </textarea>

        <checkbox name="treeloadsmetacheck" from="basecheckbox">
            <position>435,327</position>
        </checkbox>

        <textarea name="treeloadsmetacheck_text" from="basetextarea">
            <area>475,325,400,30</area>
            <value>Enable metadata in file browse mode</value>
            <align>left,vcenter</align>
        </textarea>

        <checkbox name="randomtrailercheck" from="basecheckbox">
            <position>435,392</position>
        </checkbox>

        <textarea name="trailercheck_text" from="basetextarea">
            <area>475,390,400,30</area>
            <value>Enable random trailer playback</value>
            <align>left,vcenter</align>
        </textarea>

        <spinbox name="trailernum" from="basemediumspinbox">
            <position>435,450</position>
            <template type="zero">Play %n trailer(s)</template>
            <template type="positive">Play %n trailer(s)</template>
        </spinbox>

        <button name="cancel" from="basebutton">
            <position>363,520</position>
            <value>Cancel</value>
        </button>

        <button name="ok" from="basebutton">
            <position>693,520</position>
            <value>OK</value>
        </button>

    </window>

</mythuitheme>
<!-- vim: set expandtab ts=4 sw=4 : -->
