<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">10</defaultcontrol>
	<backgroundcolor>background</backgroundcolor>
	<views>10,20</views>
	<menucontrol>6666</menucontrol>
	<onunload condition="Window.Previous(1124)">SetProperty(pvrhub,1,home)</onunload>
	<include content="PropertyIncludes">
		<param name="ShowHeader" value="true"/>
	</include>
	<controls>
		<control type="label" id="29">
			<font></font>
			<include>HiddenObject</include>
		</control>
		<control type="label" id="30">
			<font></font>
			<include>HiddenObject</include>
		</control>
		<include>Background</include>
		<control type="group" id="50">
			<include>Window_OpenClose</include>
			<!-- horizontal -->
			<control type="group">
				<include>Visible_OpenClose</include>
				<visible>Control.IsVisible(10)</visible>
				<top>168</top>
				<height>621</height>
				<control type="epggrid" id="10">
					<height>621</height>
					<right>11</right>
					<left>0</left>
					<onback>11</onback>
					<onleft>900</onleft>
					<onright>10</onright>
					<onup>10</onup>
					<ondown>10</ondown>
					<pagecontrol>60</pagecontrol>
					<scrolltime tween="quadratic" easing="out">300</scrolltime>
					<timeblocks>23</timeblocks>
					<rulerunit>6</rulerunit>
					<orientation>vertical</orientation>
					<viewtype label="19032">list</viewtype>
					<rulerlayout height="40" width="100">
						<control type="label">
							<width>365</width>
							<height>30</height>
							<font>Med20</font>
							<label>$INFO[ListItem.Label]</label>
							<aligny>center</aligny>
							<textoffsetx>10</textoffsetx>
						</control>
					</rulerlayout>
					<progresstexture colordiffuse="$VAR[AccentColor]" border="0,70,18,14">views/guide/epg_progress.png</progresstexture>
					<channellayout height="83" width="395">
						<control type="image">
							<width>395</width>
							<height>83</height>
							<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
						</control>
						<control type="label">
							<left>15</left>
							<width>50</width>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.ChannelNumberLabel]</label>
						</control>
						<control type="label">
							<left>68</left>
							<right>110</right>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.ChannelName]</label>
						</control>
						<control type="image">
							<right>10</right>
							<width>100</width>
							<height>81</height>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<aspectratio align="right">keep</aspectratio>
							<bordersize>10</bordersize>
						</control>
					</channellayout>
					<focusedchannellayout height="83" width="395">
						<control type="image">
							<width>395</width>
							<height>83</height>
							<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
						</control>
						<control type="label">
							<left>15</left>
							<width>50</width>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.ChannelNumberLabel]</label>
						</control>
						<control type="label">
							<left>68</left>
							<right>110</right>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.ChannelName]</label>
						</control>
						<control type="image">
							<right>10</right>
							<width>100</width>
							<height>81</height>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<aspectratio align="right">keep</aspectratio>
							<bordersize>10</bordersize>
						</control>
					</focusedchannellayout>
					<itemlayout height="83" width="60">
						<control type="image" id="2">
							<height>83</height>
							<texture colordiffuse="grid_label_inprogress">common/white.jpg</texture>
							<visible>Integer.IsGreater(ListItem.Progress,0) + Integer.IsLess(ListItem.Progress,100)</visible>
						</control>
						<control type="image" id="2">
							<height>83</height>
							<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
						</control>
						<control type="label" id="1">
							<textoffsetx>25</textoffsetx>
							<width>50</width>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="image" id="2">
							<right>-15</right>
							<height>83</height>
							<width>64</width>
							<texture colordiffuse="50FFFFFF">$VAR[PVRTimerIcon]</texture>
							<bordersize>30</bordersize>
							<aspectratio align="right">keep</aspectratio>
							<visible>!ListItem.TimerIsActive</visible>
						</control>
						<control type="image" id="2">
							<right>-15</right>
							<height>83</height>
							<width>64</width>
							<texture colordiffuse="red">$VAR[PVRTimerIcon]</texture>
							<bordersize>30</bordersize>
							<aspectratio align="right">keep</aspectratio>
							<visible>ListItem.TimerIsActive</visible>
						</control>
					</itemlayout>
					<focusedlayout height="83" width="60">
						<control type="image" id="2">
							<height>83</height>
							<texture colordiffuse="grid_label_inprogress">common/white.jpg</texture>
							<visible>Integer.IsGreater(ListItem.Progress,0) + Integer.IsLess(ListItem.Progress,100) + !Control.HasFocus(10)</visible>
						</control>
						<control type="image" id="2">
							<height>83</height>
							<texture colordiffuse="$VAR[AccentColor]">common/white.jpg</texture>
							<visible>Control.HasFocus(10)</visible>
						</control>
						<control type="image" id="2">
							<height>83</height>
							<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
						</control>
						<control type="label" id="1">
							<textoffsetx>25</textoffsetx>
							<width>50</width>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<textcolor>white</textcolor>
							<shadowcolor>text_shadow</shadowcolor>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="image" id="2">
							<right>-15</right>
							<height>83</height>
							<width>64</width>
							<texture colordiffuse="50FFFFFF">$VAR[PVRTimerIcon]</texture>
							<bordersize>30</bordersize>
							<aspectratio align="right">keep</aspectratio>
							<visible>!ListItem.TimerIsActive</visible>
						</control>
						<control type="image" id="2">
							<right>-15</right>
							<height>83</height>
							<width>64</width>
							<texture colordiffuse="white">$VAR[PVRTimerIcon]</texture>
							<bordersize>30</bordersize>
							<aspectratio align="right">keep</aspectratio>
							<visible>ListItem.TimerIsActive</visible>
						</control>
					</focusedlayout>
				</control>
				<control type="image">
					<texture colordiffuse="grid_border">common/white.jpg</texture>
					<top>38</top>
					<right>11</right>
					<left>0</left>
					<height>2</height>
				</control>
				<control type="image">
					<texture colordiffuse="grid_border">common/white.jpg</texture>
					<bottom>0</bottom>
					<right>11</right>
					<left>0</left>
					<height>2</height>
				</control>
				<!-- scrollbar -->
				<control type="scrollbar" id="60">
					<top>38</top>
					<right>0</right>
					<bottom>0</bottom>
					<width>10</width>
					<orientation>vertical</orientation>
					<showonepage>true</showonepage>
					<texturesliderbackground colordiffuse="scrollbar_background">common/white.jpg</texturesliderbackground>
					<texturesliderbar colordiffuse="scrollbar_slider">common/white.jpg</texturesliderbar>
					<texturesliderbarfocus colordiffuse="$VAR[AccentColor]">common/white.jpg</texturesliderbarfocus>
				</control>
			</control>
			<!-- vertical -->
			<control type="group">
				<include>Visible_OpenClose</include>
				<visible>Control.IsVisible(20)</visible>
				<top>168</top>
				<height>619</height>
				<control type="image">
					<texture colordiffuse="grid_border">common/white.jpg</texture>
					<top>40</top>
					<bottom>0</bottom>
					<left>98</left>
					<width>2</width>
				</control>
				<control type="image">
					<texture colordiffuse="grid_border">common/white.jpg</texture>
					<top>40</top>
					<right>11</right>
					<left>0</left>
					<height>2</height>
				</control>
				<control type="image">
					<texture colordiffuse="grid_border">common/white.jpg</texture>
					<bottom>-2</bottom>
					<right>11</right>
					<left>0</left>
					<height>2</height>
				</control>
				<control type="epggrid" id="20">
					<height>619</height>
					<right>11</right>
					<left>0</left>
					<pagecontrol>70</pagecontrol>
					<scrolltime tween="quadratic" easing="out">300</scrolltime>
					<timeblocks>23</timeblocks>
					<rulerunit>6</rulerunit>
					<onback>11</onback>
					<onleft>900</onleft>
					<onright>10</onright>
					<onup>10</onup>
					<ondown>10</ondown>
					<orientation>horizontal</orientation>
					<viewtype label="19032">list</viewtype>
					<rulerlayout height="40" width="100">
						<control type="label">
							<width>90</width>
							<height>30</height>
							<font>Med20</font>
							<label>$INFO[ListItem.Label]</label>
							<aligny>center</aligny>
							<align>center</align>
							<textoffsetx>10</textoffsetx>
						</control>
					</rulerlayout>
					<rulerdatelayout height="40" width="500">
						<control type="label">
							<width>365</width>
							<height>30</height>
							<font>Med20</font>
							<label>$INFO[ListItem.Label]</label>
							<aligny>center</aligny>
							<textoffsetx>10</textoffsetx>
						</control>
					</rulerdatelayout>
					<progresstexture colordiffuse="$VAR[AccentColor]" border="14,0,14,18">views/guide/epg_progress_vertical.png</progresstexture>
					<channellayout height="83" width="395">
						<control type="image">
							<width>395</width>
							<height>83</height>
							<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
						</control>
						<control type="label">
							<left>15</left>
							<width>50</width>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.ChannelNumberLabel]</label>
						</control>
						<control type="label">
							<left>68</left>
							<right>110</right>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.ChannelName]</label>
						</control>
						<control type="image">
							<right>10</right>
							<width>100</width>
							<height>81</height>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<aspectratio align="right">keep</aspectratio>
							<bordersize>10</bordersize>
						</control>
					</channellayout>
					<focusedchannellayout height="83" width="395">
						<control type="image">
							<width>395</width>
							<height>83</height>
							<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
						</control>
						<control type="label">
							<left>15</left>
							<width>50</width>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.ChannelNumberLabel]</label>
						</control>
						<control type="label">
							<left>68</left>
							<right>110</right>
							<height>81</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<label>$INFO[ListItem.ChannelName]</label>
						</control>
						<control type="image">
							<right>10</right>
							<width>100</width>
							<height>81</height>
							<texture background="true">$INFO[ListItem.Icon]</texture>
							<aspectratio align="right">keep</aspectratio>
							<bordersize>10</bordersize>
						</control>
					</focusedchannellayout>
					<itemlayout height="83" width="395">
						<control type="image" id="2">
							<height>83</height>
							<texture colordiffuse="grid_label_inprogress">common/white.jpg</texture>
							<visible>Integer.IsGreater(ListItem.Progress,0) + Integer.IsLess(ListItem.Progress,100)</visible>
						</control>
						<control type="image" id="2">
							<height>83</height>
							<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
						</control>
						<control type="label" id="1">
							<textoffsetx>15</textoffsetx>
							<height>50</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<textcolor>white</textcolor>
							<label>$INFO[ListItem.Label]</label>
							<visible>![ListItem.TimerIsActive | ListItem.HasTimer | ListItem.HasTimerSchedule | ListItem.HasRecording | ListItem.IsRecording | ListItem.HasTimerSchedule]</visible>
						</control>
						<control type="label" id="1">
							<width>355</width>
							<textoffsetx>15</textoffsetx>
							<height>50</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<textcolor>white</textcolor>
							<label>$INFO[ListItem.Label]</label>
							<visible>[ListItem.TimerIsActive | ListItem.HasTimer | ListItem.HasTimerSchedule | ListItem.HasRecording | ListItem.IsRecording | ListItem.HasTimerSchedule]</visible>
						</control>
						<control type="image">
							<top>-15</top>
							<right>-5</right>
							<height>83</height>
							<width>64</width>
							<texture colordiffuse="50FFFFFF">$VAR[PVRTimerIcon]</texture>
							<bordersize>20</bordersize>
							<aspectratio align="right">keep</aspectratio>
							<visible>!ListItem.TimerIsActive</visible>
						</control>
						<control type="image">
							<top>-15</top>
							<right>-5</right>
							<height>83</height>
							<width>64</width>
							<texture colordiffuse="red">$VAR[PVRTimerIcon]</texture>
							<bordersize>20</bordersize>
							<aspectratio align="right">keep</aspectratio>
							<visible>ListItem.TimerIsActive</visible>
						</control>
					</itemlayout>
					<focusedlayout height="83" width="395">
						<control type="image" id="2">
							<height>83</height>
							<texture colordiffuse="grid_label_inprogress">common/white.jpg</texture>
							<visible>Integer.IsGreater(ListItem.Progress,0) + Integer.IsLess(ListItem.Progress,100) + !Control.HasFocus(20)</visible>
						</control>
						<control type="image" id="2">
							<height>83</height>
							<texture colordiffuse="$VAR[AccentColor]">common/white.jpg</texture>
							<visible>Control.HasFocus(20)</visible>
						</control>
						<control type="image" id="2">
							<height>83</height>
							<texture border="3,3,3,3" colordiffuse="grid_border">views/guide/epg_tile.png</texture>
						</control>
						<control type="label" id="1">
							<textoffsetx>15</textoffsetx>
							<height>50</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<textcolor>white</textcolor>
							<label>$INFO[ListItem.Label]</label>
							<visible>![ListItem.TimerIsActive | ListItem.HasTimer | ListItem.HasTimerSchedule | ListItem.HasRecording | ListItem.IsRecording | ListItem.HasTimerSchedule]</visible>
						</control>
						<control type="label" id="1">
							<width>355</width>
							<textoffsetx>15</textoffsetx>
							<height>50</height>
							<aligny>center</aligny>
							<font>Reg22</font>
							<textcolor>white</textcolor>
							<label>$INFO[ListItem.Label]</label>
							<visible>[ListItem.TimerIsActive | ListItem.HasTimer | ListItem.HasTimerSchedule | ListItem.HasRecording | ListItem.IsRecording | ListItem.HasTimerSchedule]</visible>
						</control>
						<control type="image">
							<top>-15</top>
							<right>-5</right>
							<height>83</height>
							<width>64</width>
							<texture colordiffuse="50FFFFFF">$VAR[PVRTimerIcon]</texture>
							<bordersize>20</bordersize>
							<aspectratio align="right">keep</aspectratio>
							<visible>!ListItem.TimerIsActive</visible>
						</control>
						<control type="image">
							<top>-15</top>
							<right>-5</right>
							<height>83</height>
							<width>64</width>
							<texture colordiffuse="white">$VAR[PVRTimerIcon]</texture>
							<bordersize>20</bordersize>
							<aspectratio align="right">keep</aspectratio>
							<visible>ListItem.TimerIsActive</visible>
						</control>
					</focusedlayout>
				</control>
				<control type="image">
					<texture colordiffuse="grid_border">common/white.jpg</texture>
					<bottom>-2</bottom>
					<right>11</right>
					<left>0</left>
					<height>2</height>
				</control>
				<!-- scrollbar -->
				<control type="scrollbar" id="70">
					<right>0</right>
					<top>40</top>
					<width>10</width>
					<bottom>-2</bottom>
					<orientation>vertical</orientation>
					<showonepage>true</showonepage>
					<texturesliderbackground colordiffuse="scrollbar_background">common/white.jpg</texturesliderbackground>
					<texturesliderbar colordiffuse="scrollbar_slider">common/white.jpg</texturesliderbar>
					<texturesliderbarfocus colordiffuse="$VAR[AccentColor]">common/white.jpg</texturesliderbarfocus>
				</control>
			</control>
			<!-- Channel groups -->
			<control type="fixedlist" id="11">
				<top>100</top>
				<left>20</left>
				<right>20</right>
				<onleft>900</onleft>
				<onright>noop</onright>
				<onup>6666</onup>
				<ondown>10</ondown>
				<orientation>horizontal</orientation>
				<scrolltime>200</scrolltime>
				<focusposition>0</focusposition>
				<movement>7</movement>
				<itemlayout height="44" width="240">
					<control type="label">
						<textoffsetx>50</textoffsetx>
						<height>42</height>
						<align>left</align>
						<font>Reg24</font>
						<label>$INFO[ListItem.Label]</label>
						<textcolor>disabled</textcolor>
					</control>
				</itemlayout>
				<focusedlayout height="44" width="240">
					<control type="label">
						<textoffsetx>50</textoffsetx>
						<height>42</height>
						<align>left</align>
						<scroll>true</scroll>
						<font>Reg24</font>
						<textcolor>text_white</textcolor>
						<label>$INFO[ListItem.Label]</label>
						<visible>!Control.HasFocus(11)</visible>
					</control>
					<control type="label">
						<textoffsetx>50</textoffsetx>
						<height>42</height>
						<align>left</align>
						<scroll>true</scroll>
						<font>Reg24</font>
						<label>$INFO[ListItem.Label]</label>
						<textcolor>$VAR[AccentColor]</textcolor>
						<visible>Control.HasFocus(11)</visible>
					</control>
				</focusedlayout>
			</control>
			<!-- Info -->
			<control type="group">
				<include>Window_OpenClose</include>
				<bottom>0</bottom>
				<height>250</height>
				<control type="image">
					<top>5</top>
					<left>70</left>
					<width>284</width>
					<height>160</height>
					<aspectratio align="center" aligny="top">keep</aspectratio>
					<texture>$INFO[ListItem.Icon]</texture>
					<visible>!String.StartsWith(ListItem.Icon,Default) + String.IsEqual(Container.ListItem.Icon,ListItem.Icon)</visible>
				</control>
				<control type="image">
					<top>1</top>
					<left>66</left>
					<width>292</width>
					<height>168</height>
					<aspectratio align="center" aligny="top">keep</aspectratio>
					<texture>$INFO[ListItem.Icon]</texture>
					<bordersize>4</bordersize>
					<bordertexture border="4">items/shadow2.png</bordertexture>
					<visible>!String.StartsWith(ListItem.Icon,Default) + !String.IsEqual(Container.ListItem.Icon,ListItem.Icon)</visible>
				</control>
				<control type="label">
					<left>380</left>
					<right>70</right>
					<height>30</height>
					<font>Med24</font>
					<label fallback="19055">$INFO[ListItem.EpgEventTitle]$VAR[ListItemEpisodeName, - ]</label>
				</control>
				<control type="grouplist">
					<top>33</top>
					<height>30</height>
					<left>380</left>
					<right>70</right>
					<itemgap>5</itemgap>
					<orientation>horizontal</orientation>
					<control type="label">
						<width>auto</width>
						<height>24</height>
						<label>$INFO[ListItem.Date]$INFO[ListItem.Endtime, - ]   </label>
						<font>Reg22</font>
						<visible>!String.IsEmpty(ListItem.Date)</visible>
					</control>
					<control type="label">
						<width>auto</width>
						<height>24</height>
						<label>$VAR[DurationMinutes]   </label>
						<font>Reg22</font>
						<visible>!String.IsEmpty(ListItem.Duration)</visible>
					</control>
					<control type="label">
						<width>auto</width>
						<height>24</height>
						<label>$INFO[ListItem.ChannelNumberLabel,$LOCALIZE[19029] ]   </label>
						<font>Reg22</font>
						<visible>!String.IsEmpty(ListItem.ChannelNumberLabel)</visible>
					</control>
					<control type="label">
						<width>auto</width>
						<height>24</height>
						<label>$INFO[ListItem.Channelname]   </label>
						<font>Reg22</font>
						<visible>!String.IsEmpty(ListItem.Channelname)</visible>
					</control>
					<control type="label">
						<width>auto</width>
						<height>24</height>
						<label>$INFO[ListItem.Genre,$LOCALIZE[515]: ]   </label>
						<font>Reg22</font>
						<visible>!String.IsEmpty(ListItem.Genre)</visible>
					</control>
				</control>
				<control type="textbox">
					<left>380</left>
					<top>68</top>
					<right>70</right>
					<height>98</height>
					<font>Light24</font>
					<align>justify</align>
					<label>$INFO[ListItem.Plot]</label>
					<autoscroll>false</autoscroll>
				</control>
			</control>
			<!-- View select -->
			<include content="ViewSelector">
				<param name="onback" value="10"/>
			</include>
			<!-- Header -->
			<include content="HeaderBar">
				<param name="id">10</param>
			</include>
			<!-- side panel -->
			<include content="SidePanel">
				<param name="onright">10</param>
			</include>
		</control>
	</controls>
</window>
