<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>50</defaultcontrol>
	
	<onload>ClearProperty(MediaMenu,Home)</onload>
	
	<views>50</views>
	<menucontrol>9051</menucontrol>
	<controls>
		<include>CommonBackground</include>
				<control type="image">
					<left>-30</left>
					<top>-30</top>
					<width>2040</width>
					<height>1277</height>
					<texture background="true">black.png</texture>
					<animation effect="fade" end="85" condition="true">Conditional</animation>
				</control>
		<control type="group">
			<description>Search group</description>
			<visible>Control.IsVisible(50)</visible>
			<include>WindowOpenCloseAnimation</include>
			<left>100</left>
			<top>-40</top>
			<control type="list" id="50">
				<top>180</top>
				<width>1140</width>
				<height>840</height>
				<onleft>SetProperty(MediaMenu,True,home)</onleft>
				<onleft>SetFocus(9050)</onleft>
				<onright>72</onright>
				<onup>50</onup>
				<ondown>50</ondown>
				<viewtype label="535">list</viewtype>
				<pagecontrol>72</pagecontrol>
				<scrolltime tween="quadratic">200</scrolltime>
				<itemlayout height="120" width="1140">
					<control type="image">
						<left>15</left>
						<top>8</top>
						<width>105</width>
						<height>105</height>
						<aspectratio>keep</aspectratio>
						<colordiffuse>88FFFFFF</colordiffuse>
						<texture background="true">$INFO[ListItem.Icon]</texture>
					</control>
					<control type="label">
						<left>135</left>
						<width>960</width>
						<height>70</height>
						<font>font30</font>
						<textcolor>grey2</textcolor>
						<selectedcolor>selected</selectedcolor>
						<label>$INFO[ListItem.Label]</label>
					</control>
					<control type="label">
						<left>135</left>
						<top>55</top>
						<width>950</width>
						<height>60</height>
						<font>font15</font>
						<textcolor>grey3</textcolor>
						<selectedcolor>selected</selectedcolor>
						<label>$INFO[ListItem.Plot]</label>
					</control>
					<control type="label">
						<left>135</left>
						<width>940</width>
						<height>120</height>
						<font>font15</font>
						<align>right</align>
						<textcolor>grey3</textcolor>
						<selectedcolor>selected</selectedcolor>
						<label>$INFO[ListItem.Label2][CR]$INFO[ListItem.StartTime]</label>
					</control>
					<control type="image">
						<left>1076</left>
						<top>28</top>
						<width>64</width>
						<height>64</height>
						<aspectratio>keep</aspectratio>
						<texture>overlays/list/OverlayUnwatched.png</texture>
					</control>
					<control type="group">
						<visible>[ListItem.HasTimer | ListItem.IsRecording]</visible>
						<left>1017</left>
						<control type="label">
							<top>44</top>
							<width>120</width>
							<height>30</height>
							<font>IconTiny</font>
							<textoffsetx>15</textoffsetx>
							<textcolor>grey2</textcolor>
							<align>right</align>
							<selectedcolor>selected</selectedcolor>
							<label></label>
							<visible>ListItem.HasTimer</visible>
						</control>
						<control type="label">
							<top>44</top>
							<width>120</width>
							<height>30</height>
							<font>IconTiny</font>
							<textoffsetx>15</textoffsetx>
							<textcolor>red</textcolor>
							<align>right</align>
							<selectedcolor>selected</selectedcolor>
							<label></label>
							<visible>ListItem.IsRecording</visible>
						</control>
					</control>
				</itemlayout>
				<focusedlayout height="120" width="1140">
					<control type="image">
						<width>1140</width>
						<height>120</height>
						<texture border="4">listselect_fo.png</texture>
						<visible>Control.HasFocus(50)</visible>
						<include>VisibleFadeAnimation</include>
					</control>
					<control type="image">
						<left>15</left>
						<top>8</top>
						<width>105</width>
						<height>105</height>
						<aspectratio>keep</aspectratio>
						<texture background="true">$INFO[ListItem.Icon]</texture>
					</control>
					<control type="label">
						<left>135</left>
						<width>950</width>
						<height>70</height>
						<font>font30</font>
						<selectedcolor>selected</selectedcolor>
						<label>$INFO[ListItem.Label]</label>
					</control>
					<control type="label">
						<left>135</left>
						<top>55</top>
						<width>950</width>
						<height>60</height>
						<font>font15</font>
						<selectedcolor>selected</selectedcolor>
						<label>$INFO[ListItem.Plot]</label>
					</control>
					<control type="label">
						<left>135</left>
						<width>940</width>
						<height>120</height>
						<font>font15</font>
						<align>right</align>
						<selectedcolor>selected</selectedcolor>
						<label>$INFO[ListItem.Label2][CR]$INFO[ListItem.StartTime]</label>
					</control>
					<control type="image">
						<left>1076</left>
						<top>28</top>
						<width>64</width>
						<height>64</height>
						<aspectratio>keep</aspectratio>
						<texture>overlays/list/OverlayUnwatched.png</texture>
					</control>
					<control type="group">
						<visible>[ListItem.HasTimer | ListItem.IsRecording]</visible>
						<left>1017</left>
						<control type="label">
							<top>44</top>
							<width>120</width>
							<height>30</height>
							<font>IconTiny</font>
							<textoffsetx>15</textoffsetx>
							<align>right</align>
							<selectedcolor>selected</selectedcolor>
							<label></label>
							<visible>ListItem.HasTimer</visible>
						</control>
						<control type="label">
							<top>44</top>
							<width>120</width>
							<height>30</height>
							<font>IconTiny</font>
							<textoffsetx>15</textoffsetx>
							<textcolor>red</textcolor>
							<align>right</align>
							<selectedcolor>selected</selectedcolor>
							<label></label>
							<visible>ListItem.IsRecording</visible>
						</control>
					</control>
				</focusedlayout>
			</control>
			<control type="scrollbar" id="72">
				<left>1140</left>
				<top>180</top>
				<width>14</width>
				<height>840</height>
				<onleft>50</onleft>
				<onright>SetProperty(MediaMenu,True,home)</onright>
				<onright>SetFocus(9050)</onright>
				<texturesliderbackground />
				<texturesliderbar colordiffuse="55ffffff" border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
				<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
				<showonepage>false</showonepage>
				<orientation>vertical</orientation>
			</control>
			<control type="group">
				<left>1196</left>
				<top>195</top>
				<control type="image">
					<width>570</width>
					<height>835</height>
					<aspectratio aligny="bottom">keep</aspectratio>
					<texture background="true" fallback="DefaultVideo.png">$INFO[Container(50).ListItem.Icon]</texture>
					<fadetime>IconCrossfadeTime</fadetime>
					<bordertexture border="20">thumbs/thumb_shadow.png</bordertexture>
					<bordersize>20</bordersize>
				</control>
				<control type="image">
					<top>795</top>
					<width>570</width>
					<height>835</height>
					<aspectratio aligny="top">keep</aspectratio>
					<fadetime>IconCrossfadeTime</fadetime>
					<texture diffuse="thumbs/thumb_reflect.png" flipy="true" fallback="DefaultVideo.png" background="true">$INFO[Container(50).ListItem.Icon]</texture>
					<bordersize>20</bordersize>
				</control>
			</control>
		</control>
		
		<control type="image">
			<width>100%</width>
			<height>1080</height>
			<texture>black-back.png</texture>
			<animation effect="fade" time="400">Visible</animation>
			<animation effect="fade" time="200">Hidden</animation>
			<visible>Window.IsActive(FileBrowser) | Window.IsActive(PVRGuideInfo) | Window.IsActive(PVRRecordingInfo) | Window.IsActive(PVRTimerSetting) | Window.IsActive(PVRGroupManager) | Window.IsActive(PVRGuideSearch)</visible>
		</control>
		
		<include>PVRMediaMenu</include>
	</controls>
</window>
