<?xml version="1.0" encoding="utf-8"?>
<window>
	<defaultcontrol always="true">500</defaultcontrol>
	<onload condition="String.IsEmpty(Window(Home).Property(MenuItemActive))">SetProperty(MenuItemActive,video,Home)</onload>
	<onload condition="String.IsEmpty(Window(Home).Property(MenuBackground))">SetProperty(MenuBackground,special://skin/extras/backgrounds/video.jpg,Home)</onload>
	<menucontrol>9000</menucontrol>
	<views>500,50</views>
	<onload condition="!Skin.HasSetting(FirstTimeRun)">ActivateWindow(1112)</onload>
	<controls>
		<include>CommonCustomBackground</include>
		<include>CommonBackground</include>
		<control type="image">
			<depth>DepthBackground</depth>
			<include>BackgroundDimensions</include>
			<aspectratio>scale</aspectratio>
			<texture>$INFO[ListItem.Art(fanart_small)]</texture>
			<include>VisibleFadeEffect</include>
		</control>
		<include>ContentPanelBackgrounds</include>
		<control type="group">
			<include>Window_OpenClose_Animation</include>
			<control type="group">
				<visible>Control.IsVisible(50)</visible>
				<include>VisibleFadeEffect</include>
				<control type="list" id="50">
					<left>70</left>
					<top>78</top>
					<width>690</width>
					<height>561</height>
					<onleft>9000</onleft>
					<onright>70</onright>
					<onup>700</onup>
					<ondown>600</ondown>
					<viewtype label="535">list</viewtype>
					<pagecontrol>70</pagecontrol>
					<scrolltime>200</scrolltime>
					<itemlayout height="40" width="580">
						<control type="image">
							<left>0</left>
							<top>0</top>
							<width>690</width>
							<height>41</height>
							<texture border="0,2,0,2">MenuItemNF.png</texture>
						</control>
						<control type="label">
							<left>10</left>
							<top>0</top>
							<width>580</width>
							<height>40</height>
							<font>font13</font>
							<textcolor>grey2</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>left</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<left>220</left>
							<top>0</top>
							<width>440</width>
							<height>40</height>
							<font>font12</font>
							<textcolor>grey2</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>right</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label2]</label>
						</control>
						<control type="image">
							<left>665</left>
							<top>14</top>
							<width>16</width>
							<height>16</height>
							<texture>OverlayWatched.png</texture>
							<visible>!String.IsEmpty(ListItem.DBID)</visible>
						</control>
					</itemlayout>
					<focusedlayout height="40" width="580">
						<control type="image">
							<left>0</left>
							<top>0</top>
							<width>690</width>
							<height>41</height>
							<texture border="0,2,0,2">MenuItemNF.png</texture>
							<visible>!Control.HasFocus(50)</visible>
							<include>VisibleFadeEffect</include>
						</control>
						<control type="image">
							<left>0</left>
							<top>0</top>
							<width>690</width>
							<height>41</height>
							<texture border="0,2,0,2">MenuItemFO.png</texture>
							<visible>Control.HasFocus(50)</visible>
							<include>VisibleFadeEffect</include>
						</control>
						<control type="image">
							<left>490</left>
							<top>5</top>
							<width>200</width>
							<height>31</height>
							<texture border="0,0,14,0">MediaItemDetailBG.png</texture>
							<visible>Control.HasFocus(50) + !String.IsEmpty(ListItem.Label2)</visible>
						</control>
						<control type="label">
							<left>10</left>
							<top>0</top>
							<width>580</width>
							<height>40</height>
							<font>font13</font>
							<textcolor>white</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>left</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<left>220</left>
							<top>0</top>
							<width>440</width>
							<height>40</height>
							<font>font12</font>
							<textcolor>grey2</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>right</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label2]</label>
						</control>
						<control type="image">
							<left>665</left>
							<top>14</top>
							<width>16</width>
							<height>16</height>
							<texture>OverlayWatched.png</texture>
							<visible>!String.IsEmpty(ListItem.DBID)</visible>
						</control>
					</focusedlayout>
				</control>
				<control type="scrollbar" id="70">
					<left>760</left>
					<top>85</top>
					<width>25</width>
					<height>550</height>
					<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
					<texturesliderbar border="0,14,0,14">ScrollBarV_bar.png</texturesliderbar>
					<texturesliderbarfocus border="0,14,0,14">ScrollBarV_bar_focus.png</texturesliderbarfocus>
					<textureslidernib>ScrollBarNib.png</textureslidernib>
					<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
					<onleft>50</onleft>
					<onright>9000</onright>
					<showonepage>false</showonepage>
					<orientation>vertical</orientation>
					<visible>Control.IsVisible(50)</visible>
				</control>
				<control type="group">
					<include>VisibleFadeEffect</include>
					<visible>Control.IsVisible(50)</visible>
					<control type="image">
						<left>800</left>
						<top>60</top>
						<width>430</width>
						<height>600</height>
						<texture border="15">ContentPanel.png</texture>
					</control>
					<control type="image">
						<left>800</left>
						<top>652</top>
						<width>430</width>
						<height>64</height>
						<texture border="15">ContentPanelMirror.png</texture>
						<visible>!Skin.HasSetting(NoFloorAll)</visible>
					</control>
					<control type="image">
						<left>895</left>
						<top>70</top>
						<width>240</width>
						<height>330</height>
						<aspectratio>keep</aspectratio>
						<fadetime>IconCrossfadeTime</fadetime>
						<texture background="true" fallback="DefaultFolder.png">$VAR[PosterThumb3]</texture>
						<bordertexture border="8">ThumbShadow.png</bordertexture>
						<bordersize>8</bordersize>
					</control>
					<control type="image">
						<left>825</left>
						<top>395</top>
						<width>168</width>
						<height>20</height>
						<texture fallback="ratings/0.png">$INFO[ListItem.Rating,ratings/,.png]</texture>
					</control>
					<control type="image">
						<left>800</left>
						<top>415</top>
						<width>430</width>
						<height>4</height>
						<texture>separator.png</texture>
					</control>
					<control type="label">
						<description>Premiered Text</description>
						<left>810</left>
						<top>425</top>
						<width>140</width>
						<height>25</height>
						<label>$ADDON[script.extendedinfo 32071]:</label>
						<align>right</align>
						<aligny>center</aligny>
						<font>font13_title</font>
						<textcolor>blue</textcolor>
					</control>
					<control type="label">
						<description>Premiered</description>
						<left>960</left>
						<top>425</top>
						<width>300</width>
						<height>25</height>
						<label fallback="10005">$INFO[ListItem.Premiered]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>font13</font>
						<scroll>true</scroll>
					</control>
					<control type="label">
						<description>Genre Text</description>
						<left>810</left>
						<top>450</top>
						<width>140</width>
						<height>25</height>
						<label>$LOCALIZE[515]:</label>
						<align>right</align>
						<aligny>center</aligny>
						<font>font13_title</font>
						<textcolor>blue</textcolor>
					</control>
					<control type="fadelabel">
						<description>Genre</description>
						<left>960</left>
						<top>450</top>
						<width>240</width>
						<height>25</height>
						<label fallback="10005">$INFO[ListItem.Genre]</label>
						<align>left</align>
						<aligny>center</aligny>
						<font>font13</font>
						<scrollout>false</scrollout>
						<pauseatend>1000</pauseatend>
					</control>
					<control type="image">
						<left>800</left>
						<top>480</top>
						<width>430</width>
						<height>4</height>
						<texture>separator.png</texture>
					</control>
					<control type="textbox">
						<description>Description</description>
						<left>825</left>
						<top>490</top>
						<width>380</width>
						<height>146</height>
						<font>font13</font>
						<align>left</align>
						<textcolor>white</textcolor>
						<label fallback="416">$INFO[ListItem.Plot,,[CR][CR]]</label>
						<autoscroll time="2000" delay="3000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
					</control>
				</control>
				<control type="button" id="600">
					<onfocus>SetFocus(50)</onfocus>
					<width>1</width>
					<height>1</height>
					<left>-1000</left>
				</control>
				<control type="button" id="700">
					<onfocus>SetFocus(50)</onfocus>
					<width>1</width>
					<height>1</height>
					<left>-1000</left>
				</control>
			</control>
			<control type="group">
				<visible>Control.IsVisible(500)</visible>
				<include>VisibleFadeEffect</include>
				<control type="panel" id="500">
					<left>90</left>
					<top>80</top>
					<width>1080</width>
					<height>558</height>
					<onleft>9000</onleft>
					<onright>60</onright>
					<onup>700</onup>
					<ondown>600</ondown>
					<viewtype label="21371">list</viewtype>
					<pagecontrol>60</pagecontrol>
					<scrolltime>200</scrolltime>
					<preloaditems>2</preloaditems>
					<itemlayout height="279" width="216">
						<control type="image">
							<left>1</left>
							<top>0</top>
							<width>214</width>
							<height>240</height>
							<bordertexture border="5">button-nofocus.png</bordertexture>
							<bordersize>5</bordersize>
							<texture background="true" fallback="DefaultFolder.png">$VAR[PosterThumb]</texture>
							<aspectratio>keep</aspectratio>
						</control>
						<control type="label">
							<left>8</left>
							<top>240</top>
							<width>200</width>
							<height>25</height>
							<font>font12</font>
							<textcolor>grey2</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<info>ListItem.Label</info>
						</control>
						<control type="image">
							<left>170</left>
							<top>210</top>
							<width>30</width>
							<height>30</height>
							<texture>OverlayWatched.png</texture>
							<visible>!String.IsEmpty(ListItem.DBID)</visible>
						</control>
					</itemlayout>
					<focusedlayout height="276" width="216">
						<control type="image">
							<left>1</left>
							<top>0</top>
							<width>214</width>
							<height>240</height>
							<bordertexture border="5">folder-focus.png</bordertexture>
							<bordersize>5</bordersize>
							<texture background="true" fallback="DefaultFolder.png">$VAR[PosterThumb]</texture>
							<aspectratio>keep</aspectratio>
						</control>
						<control type="label">
							<left>8</left>
							<top>240</top>
							<width>200</width>
							<height>25</height>
							<font>font12</font>
							<textcolor>white</textcolor>
							<selectedcolor>selected</selectedcolor>
							<align>center</align>
							<aligny>center</aligny>
							<info>ListItem.Label</info>
						</control>
						<control type="image">
							<left>170</left>
							<top>210</top>
							<width>30</width>
							<height>30</height>
							<texture>OverlayWatched.png</texture>
							<visible>!String.IsEmpty(ListItem.DBID)</visible>
						</control>
					</focusedlayout>
				</control>
				<control type="scrollbar" id="60">
					<left>1170</left>
					<top>80</top>
					<width>25</width>
					<height>550</height>
					<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
					<texturesliderbar border="2,16,2,16">ScrollBarV_bar.png</texturesliderbar>
					<texturesliderbarfocus border="2,16,2,16">ScrollBarV_bar_focus.png</texturesliderbarfocus>
					<textureslidernib>ScrollBarNib.png</textureslidernib>
					<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
					<onleft>500</onleft>
					<onright>9000</onright>
					<showonepage>false</showonepage>
					<orientation>vertical</orientation>
					<visible>Control.IsVisible(500)</visible>
				</control>
				<control type="button" id="600">
					<onfocus>SetFocus(500)</onfocus>
					<width>1</width>
					<height>1</height>
					<left>-1000</left>
				</control>
				<control type="button" id="700">
					<onfocus>SetFocus(500)</onfocus>
					<width>1</width>
					<height>1</height>
					<left>-1000</left>
				</control>
			</control>
		</control>
		<control type="group">
			<depth>DepthFooter</depth>
			<include content="CommonPageCount">
				<param name="Info1" value="$INFO[Window.Property(TotalItems),([COLOR=blue],[/COLOR]) $LOCALIZE[31025]]$INFO[Window.Property(CurrentPage), - $LOCALIZE[31024] ([COLOR=blue]]$INFO[Window.Property(TotalPages),/,[/COLOR])]" />
				<param name="Info2" value="" />
			</include>
			<include>CommonNowPlaying</include>
		</control>
		<include>MainWindowMouseButtons</include>
		<include>BehindDialogFadeOut</include>
		<include>ScrollOffsetLabel</include>
		<include content="CommonWindowHeader">
			<param name="Icon" value="icon_video" />
			<param name="Label" value="TheMovieDB$INFO[Window.Property(Filter_Label),[COLOR=blue] - [/COLOR],]" />
			<param name="ShowContainer" value="False" />
		</include>
		<control type="group">
			<left>-250</left>
			<include>SideBladeLeft</include>
			<control type="grouplist" id="9000">
				<left>0</left>
				<top>60</top>
				<width>250</width>
				<height>640</height>
				<onleft>500</onleft>
				<onright>500</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<onback>500</onback>
				<itemgap>0</itemgap>
				<control type="radiobutton" id="6000">
					<description>Search button</description>
					<include>ButtonCommonValues</include>
					<textureradioonfocus>icon_search_home.png</textureradioonfocus>
					<textureradioonnofocus>icon_search_home.png</textureradioonnofocus>
					<textureradioofffocus>icon_search_home.png</textureradioofffocus>
					<textureradiooffnofocus>icon_search_home.png</textureradiooffnofocus>
					<label>137</label>
				</control>
				<control type="radiobutton" id="7000">
					<include>ButtonCommonValues</include>
					<label>$ADDON[script.extendedinfo 32024]</label>
				</control>
				<control type="label" id="200">
					<width>250</width>
					<height>35</height>
					<font>font12</font>
					<label>31006</label>
					<textcolor>blue</textcolor>
					<align>center</align>
					<aligny>center</aligny>
				</control>
				<control type="button" id="2">
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[31023]</label>
					<onclick>Container.NextViewMode</onclick>
				</control>
				<control type="button" id="5001">
					<include>ButtonCommonValues</include>
					<label>$ADDON[script.extendedinfo 32104]:</label>
					<label2>$INFO[Window.Property(Sort_Label)]</label2>
				</control>
				<control type="button" id="5004">
					<include>ButtonCommonValues</include>
					<label>$ADDON[script.extendedinfo 32128]:</label>
					<label2>$INFO[Window.Property(Order_Label)]</label2>
				</control>
				<control type="button" id="5007">
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[467]:</label>
					<label2>$INFO[Window.Property(Type)]</label2>
				</control>
				<control type="label" id="5333">
					<width>250</width>
					<height>35</height>
					<font>font12</font>
					<label>$ADDON[script.extendedinfo 32023]</label>
					<textcolor>blue</textcolor>
					<align>center</align>
					<aligny>center</aligny>
				</control>
				<control type="button" id="5002">
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[515]</label>
				</control>
				<control type="button" id="5003">
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[172]</label>
				</control>
				<control type="button" id="5006">
					<include>ButtonCommonValues</include>
					<label>$ADDON[script.extendedinfo 32127]</label>
				</control>
				<control type="button" id="5008">
					<include>ButtonCommonValues</include>
					<label>$ADDON[script.extendedinfo 32126]</label>
				</control>
				<control type="button" id="5009">
					<include>ButtonCommonValues</include>
					<label>$ADDON[script.extendedinfo 32114]</label>
				</control>
				<control type="button" id="5010">
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[572]</label>
				</control>
				<control type="button" id="5011">
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[2050]</label>
				</control>
				<control type="button" id="5012">
					<include>ButtonCommonValues</include>
					<label>$ADDON[script.extendedinfo 32111]</label>
				</control>
				<control type="button" id="5005">
					<include>ButtonCommonValues</include>
					<label>$ADDON[script.extendedinfo 32022]</label>
				</control>
			</control>
		</control>
	</controls>
</window>
