<?xml version="1.0" encoding="utf-8"?>
<window id="25">
    <defaultcontrol always="true">550</defaultcontrol>
    <onload condition="System.HasAddon(script.tvtunes) + Skin.HasSetting(tv_theme) + [Container.Content(TVShows) | Container.Content(seasons) | Container.Content(episodes)]">RunScript(script.tvtunes,backend=true)</onload>
    <onload condition="System.HasAddon(script.tv.show.next.aired) + IsEmpty(Window(Home).Property(DontRunTVShowScripts)) + [Container.Content(TVShows)]">RunScript(script.tv.show.next.aired,backend=True)</onload>
    <allowoverlay>yes</allowoverlay>
    <views>56,500,501,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,502</views>
    <controls>
        <include>Library Root View</include>
        <include>WideIconView 1</include>
        <include>PlotList</include>
        <include>BigIcons</include>
        <include>SmallIcons</include>
        <include>Square Small Icons2</include>
        <include>BigWideView 1</include>
        <include>List1</include>
        <include>List2</include>
        <include>List3</include>
        <include>List4</include>
        <include>List5</include>
        <include>FanArt View</include>
        <include>Movie Cover Flow</include>
        <include>Panel Wrap</include>
        <include>DVD Case Wrap 1</include>
        <include>Fanart Case Wrap</include>
        <include>Fanart Wrap</include>
        <include>Filemode List 2</include>
        <include>Filemode List 3</include>
        <control type="group">
            <posy>720</posy>
            <include>View-as</include>
            <control type="group" id="7001">
                <posx>439</posx>
                <posy>122</posy>
                <animation effect="fade" time="200">WindowClose</animation>
                <visible allowhiddenfocus="true">[Control.HasFocus(2) | Control.HasFocus(3) | Control.HasFocus(4) | Control.HasFocus(5) | Control.HasFocus(8) | Control.HasFocus(10) | Control.HasFocus(18) | Control.HasFocus(19) | Control.HasFocus(20) | Control.HasFocus(21)] + !Skin.HasSetting(LockViews)</visible>
                <control type="image">
                    <description>Button Background</description>
                    <posx>-439</posx>
                    <posy>-122</posy>
                    <width>1280</width>
                    <height>720</height>
                    <texture>background2.png</texture>
                    <colordiffuse>66ffffff</colordiffuse>
                </control>
                <control type="image">
                    <description>Button Background</description>
                    <posx>22</posx>
                    <posy>0</posy>
                    <width>359</width>
                    <height>469</height>
                    <texture>context.png</texture>
                </control>
                <control type="label">
                    <posx>32</posx>
                    <posy>25</posy>
                    <width>339</width>
                    <height>56</height>
                    <align>center</align>
                    <font>special14</font>
                    <textcolor>lightblue</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>31035</label>
                    <visible>container.content(movies)</visible>
                    <visible>![Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]</visible>
                    <visible>!Skin.HasSetting(LockViews)</visible>
                </control>
                <control type="label">
                    <posx>32</posx>
                    <posy>25</posy>
                    <width>339</width>
                    <height>56</height>
                    <align>center</align>
                    <font>special14</font>
                    <textcolor>lightblue</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>20314</label>
                    <visible>![container.content(movies)]</visible>
                    <visible>![Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]</visible>
                </control>
                <control type="label">
                    <posx>32</posx>
                    <posy>25</posy>
                    <width>339</width>
                    <height>56</height>
                    <align>center</align>
                    <font>special14</font>
                    <textcolor>lightblue</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>31036</label>
                    <visible>Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)</visible>
                </control>
                <control type="button" id="2">
                    <description>Change View Button</description>
                    <posx>32</posx>
                    <posy>62</posy>
                    <width>339</width>
                    <height>40</height>
                    <font>font13</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>100</label>
                    <textoffsetx>18</textoffsetx>
                    <texturefocus>button-focus.png</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <colordiffuse>99ffffff</colordiffuse>
                    <onleft>502</onleft>
                    <onright>502</onright>
                    <onup>20</onup>
                    <ondown>3</ondown>
                    <visible>!Skin.HasSetting(LockViews)</visible>
                </control>
                <control type="button" id="3">
                    <description>Sort by button</description>
                    <posx>32</posx>
                    <posy>119</posy>
                    <width>339</width>
                    <height>40</height>
                    <font>font13</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>103</label>
                    <textoffsetx>18</textoffsetx>
                    <texturefocus>button-focus.png</texturefocus>
                    <colordiffuse>99ffffff</colordiffuse>
                    <texturenofocus>-</texturenofocus>
                    <onleft>502</onleft>
                    <onright>4</onright>
                    <onup>2</onup>
                    <ondown>10</ondown>
                </control>
                <control type="togglebutton" id="4">
                    <description>Sort asc</description>
                    <posx>335</posx>
                    <posy>125</posy>
                    <label>-</label>
                    <onleft>3</onleft>
                    <onright>502</onright>
                    <onup>2</onup>
                    <ondown>10</ondown>
                </control>
                <control type="button" id="10">
                    <description>Show Button</description>
                    <posx>32</posx>
                    <posy>175</posy>
                    <width>339</width>
                    <height>40</height>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <font>font13</font>
                    <textoffsetx>18</textoffsetx>
                    <texturefocus>button-focus.png</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <colordiffuse>99ffffff</colordiffuse>
                    <onleft>502</onleft>
                    <onright>502</onright>
                    <onup>3</onup>
                    <ondown>8</ondown>
                </control>
                <control type="button" id="8">
                    <description>Search Button</description>
                    <posx>32</posx>
                    <posy>231</posy>
                    <width>339</width>
                    <height>40</height>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>137</label>
                    <font>font13</font>
                    <textoffsetx>18</textoffsetx>
                    <texturefocus>button-focus.png</texturefocus>
                    <colordiffuse>99ffffff</colordiffuse>
                    <texturenofocus>-</texturenofocus>
                    <onleft>502</onleft>
                    <onright>502</onright>
                    <onup>10</onup>
                    <ondown>18</ondown>
                </control>
                <control type="edit" id="18">
                    <visible>Container.CanFilter + !Container.CanFilterAdvanced</visible>
                    <description>Filter Button</description>
                    <posx>32</posx>
                    <posy>288</posy>
                    <width>339</width>
                    <height>40</height>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>587</label>
                    <font>font13</font>
                    <textoffsetx>18</textoffsetx>
                    <texturefocus>button-focus.png</texturefocus>
                    <colordiffuse>99ffffff</colordiffuse>
                    <texturenofocus>-</texturenofocus>
                    <onleft>502</onleft>
                    <onright>502</onright>
                    <onup>8</onup>
                    <ondown>19</ondown>
                </control>
                <control type="radiobutton" id="19">
                    <visible>Container.CanFilterAdvanced</visible>
                    <description>Filter Button</description>
                    <posx>32</posx>
                    <posy>288</posy>
                    <width>339</width>
                    <height>40</height>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>587</label>
                    <font>font13</font>
                    <textoffsetx>18</textoffsetx>
                    <texturefocus>button-focus.png</texturefocus>
                    <colordiffuse>99ffffff</colordiffuse>
                    <texturenofocus>-</texturenofocus>
                    <selected>Container.Filtered</selected>
                    <onclick>right</onclick>
                    <onclick>Filter</onclick>
                    <onleft>502</onleft>
                    <onright>502</onright>
                    <onup>18</onup>
                    <ondown>21</ondown>
                </control>
				<control type="radiobutton" id="21">
                    <texturenofocus />
                    <description>Fanart Toggle Button</description>
                    <posx>32</posx>
                    <posy>344</posy>
                    <width>339</width>
                    <height>40</height>
                    <font>font13</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <label>$LOCALIZE[24021] $LOCALIZE[20445]</label>
                    <textoffsetx>18</textoffsetx>
                    <onclick>Skin.ToggleSetting(enablefanart)</onclick>
                    <selected>Skin.HasSetting(enablefanart)</selected>
                    <texturefocus>button-focus.png</texturefocus>
                    <colordiffuse>99ffffff</colordiffuse>
                    <onleft>502</onleft>
                    <onright>502</onright>
                    <onup>19</onup>
                    <ondown>20</ondown>
                    <visible>!Skin.HasSetting(LockViews)</visible>
                </control>
				<control type="togglebutton" id="20">
					<description>Update library button</description>
					<posx>32</posx>
                    <posy>401</posy>
                    <width>339</width>
                    <height>40</height>
                    <font>font13</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
					<textoffsetx>18</textoffsetx>
                    <texturefocus>button-focus.png</texturefocus>
                    <texturenofocus>-</texturenofocus>
					<alttexturefocus>button-focus.png</alttexturefocus>
                    <alttexturenofocus>-</alttexturenofocus>
                    <colordiffuse>99ffffff</colordiffuse>
                    <onleft>502</onleft>
                    <onright>502</onright>
                    <onup>21</onup>
                    <ondown>2</ondown>
					<label>653</label>
					<altlabel>13353</altlabel>
				</control>
				
            </control>
        </control>
        <include>Music-Info</include>
        <include>Alpha Scroll Label</include>
        <include>Time3</include>
    </controls>
</window>