<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">13</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<views>13</views>
	<controls>
		<control type="group">
			<animation effect="fade" time="250">WindowOpen</animation>
			<animation effect="fade" time="400">WindowClose</animation>
			<control type="image">
				<description>Background</description>
				<posx>0</posx>
				<posy>0</posy>
				<width>1280</width>
				<height>720</height>
				<aspectratio>scale</aspectratio>
				<texture background="true" fallback="TV Guide Wallpaper.jpg">$INFO[Skin.String(CustomTVguide)]</texture>
			</control>
		</control>
		<control type="group">
			<animation type="WindowOpen" reversible="false">
				<effect type="zoom" start="20" end="100" center="640,360" easing="out" tween="back" time="400" />
				<effect type="fade" start="0" end="100" time="400" />
			</animation>
			<animation type="WindowClose" reversible="false">
				<effect type="zoom" start="100" end="20" center="640,360" easing="in" tween="back" time="400" />
				<effect type="fade" start="100" end="0" time="500" />
			</animation>
			<control type="group">
				<posy>30</posy>
				<control type="image">
					<posx>40</posx>
					<posy>40</posy>
					<width>1200</width>
					<height>620</height>
					<texture>panel.png</texture>
					<colordiffuse>FFFFFFFF</colordiffuse>
				</control>
				<control type="image">
					<description>Panel Image</description>
					<posx>460.20</posx>
					<posy>-6</posy>
					<width>354</width>
					<height>52.50</height>
					<texture>episode number.png</texture>
				</control>
				<control type="image">
					<description>Panel Image</description>
					<posx>460.20</posx>
					<posy>-6</posy>
					<width>354</width>
					<height>52.50</height>
					<texture>episode number.png</texture>
				</control>
				<control type="label">
					<posx>460.20</posx>
					<posy>8</posy>
					<width>354</width>
					<height>30</height>
					<font>Home-Heading-S</font>
					<textcolor>lightblue</textcolor>
					<shadowcolor>black</shadowcolor>
					<align>center</align>
					<aligny>center</aligny>
					<label>$LOCALIZE[19017]</label>
				</control>
			</control>				   
			<control type="group">
				<description>Small Media Window</description>
				<posx>540</posx>
				<posy>135</posy>
				<visible>Control.IsVisible(11) | Control.IsVisible(12)</visible>
				<control type="image">
					<posx>5</posx>
					<posy>5</posy>
					<width>622</width>
					<height>350</height>
					<texture>tv default.jpg</texture>
					<bordertexture>background2.png</bordertexture>
					<bordersize>6</bordersize>
					<visible>Control.IsVisible(11)</visible>
					<visible>!Player.HasVideo</visible>
				</control>
				<control type="videowindow">
					<posx>5</posx>
					<posy>5</posy>
					<width>622</width>
					<height>350</height>
					<visible>Player.HasVideo</visible>
				</control>
				<control type="label">
					<description>Current Video label</description>
					<posx>30</posx>
					<posy>1</posy>
					<width>650</width>
					<height>35</height>
					<font>font12</font>
					<textcolor>grey2</textcolor>
					<align>center</align>
					<aligny>center</aligny>
					<label>$INFO[VideoPlayer.Title]</label>
					<visible>Player.HasVideo</visible>
				</control>
				<control type="image">
					<posx>5</posx>
					<posy>5</posy>
					<width>622</width>
					<height>350</height>
					<texture>Now Playing backgroundbr.jpg</texture>
					<bordertexture>background2.png</bordertexture>
					<bordersize>6</bordersize>
					<visible>Control.IsVisible(12)</visible>
				</control>
			</control>			
			<control type="group" id="50">             
				<include>LiveTVRecordingsView</include>
				<!-- view id = 13 -->				
			</control>			
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>1280</width>
				<height>720</height>
				<texture>black.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>
			<control type="group">
				<posx>-250</posx>			       
				<animation effect="slide" start="0,0" end="250,0" time="400" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus">Conditional</animation>
				<animation effect="slide" start="0,0" end="-300,0" time="400" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus">WindowClose</animation>
				<animation effect="slide" start="0,0" end="-50,0" time="300" tween="quadratic" easing="out" condition="![ControlGroup(9000).HasFocus]">WindowClose</animation>
				<animation effect="slide" start="-50,0" end="0,0" time="300" tween="quadratic" easing="out">WindowOpen</animation>
				<control type="image">
					<posx>0</posx>
					<posy>0</posy>
					<width>252</width>
					<height>720</height>
					<texture>background2.png</texture>
					<colordiffuse>EEFFFFFF</colordiffuse>
				</control>
				<control type="image">
					<posx>250</posx>
					<posy>-10</posy>
					<width>1</width>
					<height>740</height>
					<texture>white1.png</texture>
					<colordiffuse>BBFFFFFF</colordiffuse>
				</control>
				<control type="image">
					<posx>248</posx>
					<posy>0</posy>
					<width>15</width>
					<height>720</height>
					<texture>wall arrow right.png</texture>
				</control>
				<control type="grouplist" id="9000">
					<posx>0</posx>
					<posy>150</posy>
					<width>250</width>
					<height>600</height>
					<onleft>50</onleft>
					<onright>50</onright>
					<onup>9000</onup>
					<ondown>9000</ondown>
					<itemgap>0</itemgap>
					<control type="label" id="200">
						<width>245</width>
						<height>35</height>
						<font>Home-Heading-S</font>
						<label>33063</label>
						<textcolor>blue</textcolor>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
					</control>
					<control type="button" id="100">
						<description>TV Channels</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>245</width>
						<textwidth>235</textwidth>
						<texturefocus>button3.png</texturefocus>
						<colordiffuse>66ffffff</colordiffuse>
						<texturenofocus>-</texturenofocus>
						<label>19019</label>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
						<onclick condition="Window.IsActive(TVChannels) | Window.IsActive(RadioChannels)">NextChannelGroup</onclick>
						<onclick condition="IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVChannels)</onclick>
						<onclick condition="!IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioChannels)</onclick>
					</control>                
					<control type="button" id="101">
						<description>TV Guide</description>
						<posx>0</posx>
						<posy>80</posy>
						<width>245</width>
						<textwidth>235</textwidth>
						<texturefocus>button3.png</texturefocus>
						<colordiffuse>66ffffff</colordiffuse>
						<texturenofocus>-</texturenofocus>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
						<label>22020</label>
						<onclick condition="Window.IsActive(TVGuide) | Window.IsActive(RadioGuide)">NextChannelGroup</onclick>
						<onclick condition="IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVGuide)</onclick>
						<onclick condition="!IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioGuide)</onclick>
					</control>
					<control type="button" id="102">
						<description>Recordings</description>
						<posx>0</posx>
						<posy>120</posy>
						<width>245</width>
						<textwidth>235</textwidth>
						<texturefocus>button3.png</texturefocus>
						<colordiffuse>66ffffff</colordiffuse>
						<texturenofocus>-</texturenofocus>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
						<label>19163</label>
						<onclick condition="IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVRecordings)</onclick>
						<onclick condition="!IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioRecordings)</onclick>
					</control>
					<control type="button" id="103">
						<description>Timers</description>
						<posx>0</posx>
						<posy>160</posy>
						<width>245</width>
						<textwidth>235</textwidth>
						<texturefocus>button3.png</texturefocus>
						<colordiffuse>66ffffff</colordiffuse>
						<texturenofocus>-</texturenofocus>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
						<label>19040</label>
						<onclick condition="IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVTimers)</onclick>
						<onclick condition="!IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioTimers)</onclick>
					</control>
					<control type="button" id="104">
						<description>Search</description>
						<posx>0</posx>
						<posy>200</posy>
						<width>245</width>
						<textwidth>235</textwidth>
						<texturefocus>button3.png</texturefocus>
						<colordiffuse>66ffffff</colordiffuse>
						<texturenofocus>-</texturenofocus>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
						<label>137</label>
						<onclick condition="IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVSearch)</onclick>
						<onclick condition="!IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioSearch)</onclick>
					</control>
					<control type="label" id="201">					
						<height>35</height>
						<label>31012</label>
						<width>245</width>
						<font>Home-Heading-S</font>                   
						<textcolor>blue</textcolor>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>					
					</control>
					<control type="button" id="28">
						<description>Channel Groups</description>
						<posx>0</posx>
						<posy>120</posy>
						<width>245</width>
						<textwidth>235</textwidth>
						<texturefocus>button3.png</texturefocus>
						<colordiffuse>66ffffff</colordiffuse>
						<texturenofocus>-</texturenofocus>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
						<label>-</label>
					</control>
					<control type="radiobutton" id="5">
						<description>Group recording items by folder structure</description>
						<posx>0</posx>
						<posy>120</posy>
						<width>245</width>
						<textwidth>235</textwidth>
						<texturefocus>button3.png</texturefocus>
						<colordiffuse>66ffffff</colordiffuse>
						<texturenofocus>-</texturenofocus>
						<align>left</align>
						<aligny>center</aligny>
						<textoffsetx>25</textoffsetx>
						<label>19270</label>
						<visible>Window.IsActive(TVRecordings) | Window.IsActive(RadioRecordings)</visible>
					</control>					
				</control>
			</control>
			<include>Time3</include>
		</control>
	</controls>
</window>
