<?xml version="1.0" encoding="utf-8"?>
<includes>
	<expression name="listitem_has_episode_info">!String.IsEmpty(ListItem.Episode) | !String.IsEmpty(ListItem.EpisodeName) | !String.IsEmpty(ListItem.Season)</expression>
	<expression name="listitem_has_epg_event_info">!String.IsEmpty(ListItem.EpgEventTitle) | $EXP[listitem_has_episode_info]</expression>
	<!-- <include name="PVRListItemLayout">
		<definition>
			<control type="label">
				<left>30</left>
				<top>0</top>
				<right>30</right>
				<font>font36_title</font>
				<aligny>center</aligny>
				<visible>$PARAM[only_label_condition]</visible>
				<label>$INFO[ListItem.Label]</label>
			</control>
			<control type="group">
				<visible>!$PARAM[only_label_condition]</visible>
				<animation effect="slide" start="0,0" end="0,16" time="0" condition="!$EXP[listitem_has_epg_event_info]">Conditional</animation>
				<control type="image">
					<left>29</left>
					<top>17</top>
					<width>32</width>
					<height>32</height>
					<aspectratio align="center">keep</aspectratio>
					<visible>$PARAM[has_info_icon]</visible>
					<texture>$PARAM[info_icon]</texture>
				</control>
				<control type="label">
					<left>10</left>
					<top>10</top>
					<width>90</width>
					<height>50</height>
					<align>center</align>
					<aligny>center</aligny>
					<font>font32_title</font>
					<visible>!$PARAM[has_info_icon]</visible>
					<label>$PARAM[label0]</label>
				</control>
				<control type="label">
					<left>105</left>
					<right>180</right>
					<top>10</top>
					<height>30</height>
					<aligny>top</aligny>
					<label>$PARAM[label1]</label>
				</control>
				<control type="label">
					<left>105</left>
					<right>180</right>
					<top>10</top>
					<height>30</height>
					<align>right</align>
					<aligny>top</aligny>
					<label>$PARAM[label2]</label>
				</control>
			</control>
			<control type="group">
				<visible>!$PARAM[only_label_condition]</visible>
				<control type="label">
					<left>105</left>
					<right>180</right>
					<top>53</top>
					<height>30</height>
					<font>font12</font>
					<aligny>top</aligny>
					<label>$PARAM[label3]</label>
				</control>
				<control type="label">
					<left>105</left>
					<right>180</right>
					<top>53</top>
					<height>30</height>
					<font>font12</font>
					<align>right</align>
					<aligny>top</aligny>
					<label>$PARAM[label4]</label>
				</control>
			</control>
			<control type="image">
				<right>110</right>
				<top>0</top>
				<width>32</width>
				<aligny>center</aligny>
				<aspectratio align="center">keep</aspectratio>
				<texture>$VAR[PVRStatusImageVar]</texture>
				<visible>$PARAM[has_status_icon]</visible>
			</control>
			<control type="image">
				<right>70</right>
				<top>0</top>
				<width>80</width>
				<aligny>center</aligny>
				<aspectratio align="center">keep</aspectratio>
				<visible>!$PARAM[only_label_condition] | ListItem.IsParentFolder</visible>
				<texture>$INFO[ListItem.ActualIcon]</texture>
			</control>
		</definition>
	</include> -->
	<!-- <include name="PVRListItemLayouts">
		<param name="only_label_condition">false</param>
		<param name="has_info_icon">false</param>
		<param name="has_status_icon">false</param>
		<param name="info_update">0</param>
		<definition>
			<itemlayout height="101" width="918" infoupdate="$PARAM[info_update]">
				<control type="progress">
					<left>20</left>
					<top>66</top>
					<width>70</width>
					<height>7</height>
					<align>center</align>
					<aligny>center</aligny>
					<visible>ListItem.HasEpg + !$PARAM[has_info_icon]</visible>
					<info>ListItem.Progress</info>
				</control>
				<include content="PVRListItemLayout">
					<param name="only_label_condition" value="$PARAM[only_label_condition]" />
					<param name="info_icon" value="$PARAM[info_icon]" />
					<param name="has_info_icon" value="$PARAM[has_info_icon]" />
					<param name="has_status_icon" value="$PARAM[has_status_icon]" />
					<param name="label0" value="[COLOR unfocused_text]$INFO[ListItem.ChannelNumberLabel][/COLOR]" />
					<param name="label1" value="$PARAM[label1]" />
					<param name="label2" value="[COLOR unfocused_text]$PARAM[label2][/COLOR]" />
					<param name="label3" value="[COLOR unfocused_text]$VAR[PVRListItemSubLabel][/COLOR]" />
					<param name="label4" value="[COLOR unfocused_text]$INFO[ListItem.Comment][/COLOR]" />
				</include>
			</itemlayout>
			<focusedlayout height="101" width="918" infoupdate="$PARAM[info_update]">
				<control type="image">
					<left>0</left>
					<top>0</top>
					<right>25</right>
					<animation effect="fade" start="100" end="0" time="0">UnFocus</animation>
					<texture colordiffuse="$VAR[Focused]">masks/focus.png</texture>
					<visible>Control.HasFocus($PARAM[list_id])</visible>
				</control>
				<control type="progress">
					<left>20</left>
					<top>66</top>
					<width>70</width>
					<height>7</height>
					<align>center</align>
					<aligny>center</aligny>
					<colordiffuse>focused_text</colordiffuse>
					<texturebg>osd/ProgressBack.png</texturebg>
					<midtexture>osd/Progress.png</midtexture>
					<visible>ListItem.HasEpg + !$PARAM[has_info_icon]</visible>
					<info>ListItem.Progress</info>
				</control>
				<include content="PVRListItemLayout">
					<param name="only_label_condition" value="$PARAM[only_label_condition]" />
					<param name="info_icon" value="$PARAM[info_icon]" />
					<param name="has_info_icon" value="$PARAM[has_info_icon]" />
					<param name="has_status_icon" value="$PARAM[has_status_icon]" />
					<param name="label0" value="[COLOR focused_text]$INFO[ListItem.ChannelNumberLabel][/COLOR]" />
					<param name="label1" value="$PARAM[label1]" />
					<param name="label2" value="[COLOR focused_text]$PARAM[label2][/COLOR]" />
					<param name="label3" value="[COLOR focused_text]$VAR[PVRListItemSubLabelFocused][/COLOR]" />
					<param name="label4" value="[COLOR focused_text]$INFO[ListItem.Comment][/COLOR]" />
				</include>
			</focusedlayout>
		</definition>
	</include> -->
	<include name="PVRListItemLayouts">
    <param name="only_label_condition">false</param>
    <param name="has_info_icon">false</param>
    <param name="has_status_icon">false</param>
    <param name="info_update">0</param>
    <definition>
			<itemlayout height="101" width="918" infoupdate="$PARAM[info_update]">
				<control type="progress">
					<left>20</left>
					<top>66</top>
					<width>70</width>
					<height>7</height>
					<align>center</align>
					<aligny>center</aligny>
					<visible>ListItem.HasEpg + !$PARAM[has_info_icon]</visible>
					<info>ListItem.Progress</info>
				</control>
				<control type="group">
					<left>0</left>
					<top>0</top>
					<right>0</right>
					<bottom>0</bottom>
					<control type="label">
						<left>10</left>
						<top>10</top>
						<width>90</width>
						<height>50</height>
						<align>center</align>
						<aligny>center</aligny>
						<font>font32_title</font>
						<textcolor>unfocused_text</textcolor>
						<label>$INFO[ListItem.ChannelNumberLabel]</label>
					</control>
					<control type="label">
						<left>105</left>
						<right>180</right>
						<top>10</top>
						<height>30</height>
						<aligny>top</aligny>
						<textcolor>unfocused_text</textcolor>
						<label>$PARAM[label1]</label>
					</control>
					<control type="label">
						<left>105</left>
						<right>180</right>
						<top>10</top>
						<height>30</height>
						<align>right</align>
						<aligny>top</aligny>
						<textcolor>unfocused_text</textcolor>
						<label>$PARAM[label2]</label>
					</control>
					<control type="label">
						<left>105</left>
						<right>180</right>
						<top>53</top>
						<height>30</height>
						<font>font12</font>
						<aligny>top</aligny>
						<textcolor>unfocused_text</textcolor>
						<label>$VAR[PVRListItemSubLabel]</label>
					</control>
					<control type="label">
						<left>105</left>
						<right>180</right>
						<top>53</top>
						<height>30</height>
						<font>font12</font>
						<align>right</align>
						<aligny>top</aligny>
						<textcolor>unfocused_text</textcolor>
						<label>$INFO[ListItem.Comment]</label>
					</control>
					<control type="image">
						<right>110</right>
						<top>0</top>
						<width>32</width>
						<aligny>center</aligny>
						<aspectratio align="center">keep</aspectratio>
						<texture>$VAR[PVRStatusImageVar]</texture>
						<visible>$PARAM[has_status_icon]</visible>
					</control>
					<control type="image">
						<right>70</right>
						<top>0</top>
						<width>80</width>
						<aligny>center</aligny>
						<aspectratio align="center">keep</aspectratio>
						<visible>!$PARAM[only_label_condition] | ListItem.IsParentFolder</visible>
						<texture>$INFO[ListItem.ActualIcon]</texture>
					</control>
				</control>
			</itemlayout>
			<focusedlayout height="101" width="918" infoupdate="$PARAM[info_update]">
				<control type="image">
					<left>0</left>
					<top>0</top>
					<right>25</right>
					<texture colordiffuse="$VAR[FocusColorTheme]">masks/focus.png</texture>
					<visible>Control.HasFocus($PARAM[list_id])</visible>
				</control>
				<control type="progress">
					<left>20</left>
					<top>66</top>
					<width>70</width>
					<height>7</height>
					<align>center</align>
					<aligny>center</aligny>
					<colordiffuse>$VAR[FocusedTextColorVar]</colordiffuse>
					<texturebg>osd/ProgressBack.png</texturebg>
					<midtexture>osd/Progress.png</midtexture>
					<visible>ListItem.HasEpg + !$PARAM[has_info_icon]</visible>
					<info>ListItem.Progress</info>
				</control>
				<control type="group">
					<left>0</left>
					<top>0</top>
					<right>0</right>
					<bottom>0</bottom>
						<control type="label">
							<left>10</left>
							<top>10</top>
							<width>90</width>
							<height>50</height>
							<align>center</align>
							<aligny>center</aligny>
							<font>font32_title</font>
							<textcolor>$VAR[FocusedTextColorVar]</textcolor>
							<label>$INFO[ListItem.ChannelNumberLabel]</label>
						</control>
						<control type="label">
							<left>105</left>
							<right>180</right>
							<top>10</top>
							<height>30</height>
							<aligny>top</aligny>
							<textcolor>$VAR[FocusedTextColorVar]</textcolor>
							<label>$PARAM[label1]</label>
						</control>
						<control type="label">
							<left>105</left>
							<right>180</right>
							<top>10</top>
							<height>30</height>
							<align>right</align>
							<aligny>top</aligny>
							<textcolor>$VAR[FocusedTextColorVar]</textcolor>
							<label>$PARAM[label2]</label>
						</control>
						<control type="label">
							<left>105</left>
							<right>180</right>
							<top>53</top>
							<height>30</height>
							<font>font12</font>
							<aligny>top</aligny>
							<textcolor>$VAR[FocusedTextColorVar]</textcolor>
							<label>$VAR[PVRListItemSubLabelFocused]</label>
						</control>
						<control type="label">
							<left>105</left>
							<right>180</right>
							<top>53</top>
							<height>30</height>
							<font>font12</font>
							<align>right</align>
							<aligny>top</aligny>
							<textcolor>$VAR[FocusedTextColorVar]</textcolor>
							<label>$INFO[ListItem.Comment]</label>
						</control>
						<control type="image">
							<right>110</right>
							<top>0</top>
							<width>32</width>
							<aligny>center</aligny>
							<aspectratio align="center">keep</aspectratio>
							<texture>$VAR[PVRStatusImageVar]</texture>
							<visible>$PARAM[has_status_icon]</visible>
						</control>
						<control type="image">
							<right>70</right>
							<top>0</top>
							<width>80</width>
							<aligny>center</aligny>
							<aspectratio align="center">keep</aspectratio>
							<visible>!$PARAM[only_label_condition] | ListItem.IsParentFolder</visible>
							<texture>$INFO[ListItem.ActualIcon]</texture>
						</control>
					</control>
			</focusedlayout>
    </definition>
	</include>
	<include name="ChannelManagerList">
		<control type="grouplist">
			<orientation>horizontal</orientation>
			<left>0</left>
			<align>center</align>
			<width>510</width>
			<control type="label" id="$PARAM[header_id]">
				<width>auto</width>
				<height>70</height>
				<align>center</align>
				<aligny>center</aligny>
				<textcolor>darkgrey</textcolor>
			</control>
			<control type="label">
				<width>auto</width>
				<height>70</height>
				<align>center</align>
				<aligny>center</aligny>
				<!-- <textcolor>$VAR[FocusColorTheme]</textcolor> -->
				<label>: [COLOR white]$INFO[Container($PARAM[list_id]).Numitems][/COLOR]</label>
			</control>
		</control>
		<control type="list" id="$PARAM[list_id]">
			<left>20</left>
			<top>75</top>
			<width>470</width>
			<height>815</height>
			<onup>$PARAM[list_id]</onup>
			<ondown>$PARAM[list_id]</ondown>
			<onleft>$PARAM[onleft]</onleft>
			<onright>$PARAM[scrollbar_id]</onright>
			<pagecontrol>$PARAM[scrollbar_id]</pagecontrol>
			<scrolltime>200</scrolltime>
			<itemlayout height="67" width="470">
				<control type="image">
					<width>60</width>
					<height>60</height>
					<right>5</right>
					<top>5</top>
					<texture>$INFO[ListItem.ActualIcon]</texture>
					<bordertexture colordiffuse="border_alpha">colors/black.png</bordertexture>
					<bordersize>2</bordersize>
					<aspectratio>keep</aspectratio>
				</control>
				<control type="label">
					<left>20</left>
					<right>70</right>
					<height>70</height>
					<aligny>center</aligny>
					<font>font27</font>
					<textcolor>darkgrey</textcolor>
					<label>$INFO[ListItem.ChannelNumberLabel,[B],[/B] - ]$INFO[ListItem.ChannelName]</label>
				</control>
			</itemlayout>
			<focusedlayout height="67" width="470">
				<control type="image">
					<left>0</left>
					<right>0</right>
					<bottom>0</bottom>
					<texture colordiffuse="$VAR[FocusColorTheme]">masks/focus.png</texture>
					<!-- <visible>Control.HasFocus($PARAM[list_id])</visible> -->
					<animation effect="fade" start="100" end="60" time="0" condition="!Control.HasFocus($PARAM[list_id])">conditional</animation>
				</control>
				<control type="image">
					<width>60</width>
					<height>60</height>
					<right>5</right>
					<top>5</top>
					<texture>$INFO[ListItem.ActualIcon]</texture>
					<bordertexture colordiffuse="border_alpha">colors/black.png</bordertexture>
					<bordersize>2</bordersize>
					<aspectratio>keep</aspectratio>
				</control>
				<control type="label">
					<left>20</left>
					<right>70</right>
					<height>70</height>
					<font>font27</font>
					<aligny>center</aligny>
					<label>$INFO[ListItem.ChannelNumberLabel,[B],[/B] - ]$INFO[ListItem.ChannelName]</label>
					<textcolor>$VAR[FocusedTextColorVar]</textcolor>
				</control>
			</focusedlayout>
		</control>
		<control type="scrollbar" id="$PARAM[scrollbar_id]">
			<left>500</left>
			<top>75</top>
			<width>7</width>
			<height>815</height>
			<onleft>$PARAM[list_id]</onleft>
			<onright>$PARAM[onright]</onright>
			<ondown>$PARAM[scrollbar_id]</ondown>
			<onup>$PARAM[scrollbar_id]</onup>
			<orientation>vertical</orientation>
		</control>
	</include>
	<include name="PVRProgress">
		<control type="group">
			<animation effect="fade" time="400">VisibleChange</animation>
			<visible>!Player.ChannelPreviewActive</visible>
			<control type="group">
				<visible>Player.SeekEnabled | VideoPlayer.HasEPG</visible>
				<visible>Player.ShowInfo | Window.IsActive(fullscreeninfo) | Player.ShowTime | Window.IsActive(videoosd) | Window.IsActive(musicosd) | Window.IsActive(playerprocessinfo) | !String.IsEmpty(Player.SeekNumeric) | Window.IsActive(pvrosdchannels) | Window.IsActive(pvrchannelguide) | !String.IsEmpty(PVR.ChannelNumberInput)</visible>
				<control type="label">
					<top>22</top>
					<right>20</right>
					<width>400</width>
					<height>50</height>
					<align>right</align>
					<aligny>center</aligny>
					<font>font13</font>
					<label>$INFO[PVR.TimeshiftProgressEndTime]</label>
				</control>
				<control type="label">
					<top>22</top>
					<left>20</left>
					<width>400</width>
					<height>50</height>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13</font>
					<label>$INFO[PVR.TimeshiftProgressStartTime]</label>
				</control>
				<control type="label">
					<top>22</top>
					<left>20</left>
					<right>20</right>
					<height>50</height>
					<align>center</align>
					<aligny>center</aligny>
					<font>font13</font>
					<label>[B]$LOCALIZE[31026][/B] $INFO[PVR.TimeshiftCur] (-$INFO[PVR.TimeshiftOffset])</label>
					<visible>PVR.IsTimeShift</visible>
				</control>
			</control>
			<control type="group">
				<visible>VideoPlayer.HasEPG</visible>
				<control type="progress">
					<left>0</left>
					<top>$PARAM[epg_bar_top]</top>
					<width>100%</width>
					<height>$PARAM[epg_bar_height]</height>
					<info2>PVR.TimeshiftProgressEpgStart</info2>
					<info>PVR.TimeshiftProgressPlayPos</info>
					<texturebg border="3" colordiffuse="60FFFFFF">colors/white50.png</texturebg>
					<midtexture colordiffuse="accent_color">colors/white.png</midtexture>
				</control>
				<control type="progress">
					<left>0</left>
					<top>$PARAM[epg_bar_top]</top>
					<width>100%</width>
					<height>$PARAM[epg_bar_height]</height>
					<info2>PVR.TimeshiftProgressPlayPos</info2>
					<info>PVR.TimeshiftProgressEpgEnd</info>
					<texturebg border="3" colordiffuse="60FFFFFF">colors/white50.png</texturebg>
					<midtexture colordiffuse="60FFFFFF">colors/white50.png</midtexture>
				</control>
			</control>
			<control type="progress">
				<left>0</left>
				<top>$PARAM[ts_bar_top]</top>
				<width>100%</width>
				<height>$PARAM[ts_bar_height]</height>
				<info2>PVR.TimeshiftProgressBufferStart</info2>
				<info>PVR.TimeshiftProgressBufferEnd</info>
				<texturebg border="3" colordiffuse="60FFFFFF">colors/white50.png</texturebg>
				<midtexture>colors/white70.png</midtexture>
				<visible>Player.SeekEnabled</visible>
			</control>
		</control>
		<control type="group">
			<animation effect="fade" time="400">VisibleChange</animation>
			<visible>Player.ChannelPreviewActive</visible>
			<control type="label">
				<top>22</top>
				<right>20</right>
				<width>400</width>
				<height>50</height>
				<align>right</align>
				<aligny>center</aligny>
				<font>font13</font>
				<label>$INFO[VideoPlayer.EndTime]</label>
			</control>
			<control type="label">
				<top>22</top>
				<left>20</left>
				<width>400</width>
				<height>50</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font13</font>
				<label>$INFO[VideoPlayer.StartTime]</label>
			</control>
			<control type="progress">
				<left>0</left>
				<top>70</top>
				<width>100%</width>
				<height>16</height>
				<info>PVR.EpgEventProgress</info>
				<texturebg border="3" colordiffuse="60FFFFFF">colors/white50.png</texturebg>
				<midtexture colordiffuse="$VAR[FocusColorTheme]">colors/white.png</midtexture>
			</control>
		</control>
	</include>
	<include name="PVRInfoPanel">
		<control type="group">
			<animation type="Conditional" condition="Control.HasFocus(9000)" reversible="true">
				<effect type="slide" start="0,0" end="0,-540" time="500" tween="cubic" easing="inout" />
				<effect type="fade" start="100" end="0" time="650" tween="cubic" easing="in"/>
			</animation>
			<left>50</left>
			<top>$PARAM[top]</top>
			<!-- <visible>Window.IsVisible(Home) | Control.IsVisible(50) + !ListItem.IsFolder</visible> -->
			<visible>Window.IsVisible(Home) | Control.IsVisible(50) + !ListItem.IsFolder + [!Player.HasVideo | !$EXP[sidebar_visible]]</visible>
			<control type="image">
				<top>50</top>
				<left>0</left>
				<width>300</width>
				<height>215</height>
				<aspectratio align="left" aligny="center">keep</aspectratio>
				<!-- <texture fallback="DefaultTVShows.png">masks/addons.png</texture> -->
				<texture fallback="DefaultTVShows.png">$VAR[ChannelListEPGIconVar]</texture>
				<visible>!String.IsEmpty(ListItem.ChannelName)</visible>
				
			</control>
			<control type="group">
				<top>50</top>
				<left>0</left>
				<width>785</width>
				<!-- <control type="label">
					<height>262</height>
					<font>font45</font>
					<textcolor>unfocused_text</textcolor>
					<label>[B]$INFO[ListItem.ChannelName][/B]</label>
				</control> -->
				<control type="grouplist">
					<top>25</top>
					<left>350</left>
					<height>500</height>
					<orientation>vertical</orientation>
					<itemgap>12</itemgap>
					<aligny>center</aligny>
					<align>left</align>
					<visible>!Player.HasMedia</visible>
					<!-- <visible>![Window.IsVisible(dialogbusy) | Player.HasMedia] + $EXP[isContent] + !String.IsEmpty(ListItem.Genre)</visible> -->
					<include content="FlixInfoIcon">
						<param name="visible" value="!String.IsEmpty(ListItem.Label) + !String.IsEmpty(ListItem.StartDate)"/>
						<param name="flixlabel" value="$INFO[ListItem.StartDate]"/>
					</include>
					<include content="FlixInfoIcon">
						<param name="visible" value="!String.IsEmpty(ListItem.Label) + !String.IsEmpty(ListItem.Genre)"/>
						<param name="flixlabel" value="$INFO[ListItem.Genre]"/>
					</include>
					<include content="FlixInfoIcon">
						<param name="visible" value="!Window.IsVisible(Home) + !String.IsEmpty(ListItem.Label) + !String.IsEmpty(ListItem.StartTime)"/>
						<param name="flixlabel" value="$INFO[ListItem.StartTime]$INFO[ListItem.EndTime, - ,]"/>
					</include>
				</control>
				<!-- <control type="label">
					<top>60</top>
					<height>200</height>
					<label>$VAR[PVRInfoPanelDateDurationLabel]</label>
					<textcolor>unfocused_text</textcolor>
				</control> -->
				<!-- <control type="progress">
					<top>200</top>
					<height>12</height>
					<colordiffuse>unfocused_text</colordiffuse>
					<info>ListItem.Progress</info>
					<visible>Integer.IsGreater(ListItem.Progress,0)</visible>
				</control>
				<control type="progress">
					<top>200</top>
					<height>12</height>
					<colordiffuse>unfocused_text</colordiffuse>
					<info>ListItem.PercentPlayed</info>
					<visible>Integer.IsGreater(ListItem.PercentPlayed,0)</visible>
				</control> -->
			</control>
			<!-- <control type="label">
				<top>365</top>
				<width>830</width>
				<height>262</height>
				<font>font36_title</font>
				<label>$INFO[ListItem.Title] $INFO[ListItem.Year,([COLOR grey],[/COLOR])]</label>
				<textcolor>unfocused_text</textcolor>
				<scroll>true</scroll>
				<visible>!ListItem.HasEpg</visible>
			</control>
			<control type="label">
				<top>70</top>
				<width>830</width>
				<height>262</height>
				<font>font52_title</font>
				<label>$INFO[ListItem.EpgEventTitle] $INFO[ListItem.Year,([COLOR grey],[/COLOR])]</label>
				<textcolor>unfocused_text</textcolor>
				<scroll>true</scroll>
				<scrollspeed>200</scrollspeed>
				<visible>ListItem.HasEpg + !Player.HasMedia</visible>
			</control>
			<control type="label">
				<top>70</top>
				<width>550</width>
				<height>262</height>
				<font>font52_title</font>
				<label>$INFO[ListItem.EpgEventTitle] $INFO[ListItem.Year,([COLOR grey],[/COLOR])]</label>
				<textcolor>unfocused_text</textcolor>
				<scroll>true</scroll>
				<scrollspeed>200</scrollspeed>
				<visible>ListItem.HasEpg + Player.HasMedia</visible>
			</control> -->
			<control type="label">
				<top>410</top>
				<width>830</width>
				<height>70</height>
				<scroll>true</scroll>
				<label>[I]$VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName][/I]</label>
				<textcolor>unfocused_text</textcolor>
			</control>
			<control type="textbox">
				<top>275</top>
				<width>830</width>
				<height>200</height>
				<!-- <bottom>625</bottom> -->
				<label>$VAR[FlagLabel,,[CR]]$INFO[ListItem.TimerType,[COLOR grey]$LOCALIZE[803]:[/COLOR] ,[CR]]$VAR[RecordingSizeLabel]$VAR[ExpirationDateTimeLabel]$INFO[ListItem.Plot,[CR]]</label>
				<font>font27</font>
				<textcolor>unfocused_text</textcolor>
				<autoscroll delay="10000" time="3000" repeat="10000">Skin.HasSetting(AutoScroll)</autoscroll>
				<visible>!Player.HasMedia</visible>
			</control>
			<control type="textbox">
				<top>275</top>
				<width>550</width>
				<height>200</height>
				<!-- <bottom>625</bottom> -->
				<label>$VAR[FlagLabel,,[CR]]$INFO[ListItem.TimerType,[COLOR grey]$LOCALIZE[803]:[/COLOR] ,[CR]]$VAR[RecordingSizeLabel]$VAR[ExpirationDateTimeLabel]$INFO[ListItem.Plot,[CR]]</label>
				<font>font27</font>
				<textcolor>unfocused_text</textcolor>
				<autoscroll delay="10000" time="3000" repeat="10000">Skin.HasSetting(AutoScroll)</autoscroll>
				<visible>Player.HasMedia</visible>
			</control>
			<control type="group">
				<!-- <visible>!Window.IsVisible(10702)</visible> -->
				<control type="label">
					<top>505</top>
					<width>830</width>
					<height>60</height>
					<label>$VAR[PVRNextProgrammeLabel]</label>
					<textcolor>unfocused_text</textcolor>
					<shadowcolor>black</shadowcolor>
					<align>left</align>
					<aligny>center</aligny>
					<scroll>true</scroll>
					<scrollspeed>100</scrollspeed>
					<font>font27</font>
					<visible>!Window.IsVisible(Home) + ![Player.HasMedia | Window.IsVisible(10702)]</visible>
				</control>
				<control type="label">
					<top>505</top>
					<width>550</width>
					<height>60</height>
					<label>$VAR[PVRNextProgrammeLabel]</label>
					<textcolor>unfocused_text</textcolor>
					<shadowcolor>black</shadowcolor>
					<align>left</align>
					<aligny>center</aligny>
					<scroll>true</scroll>
					<scrollspeed>100</scrollspeed>
					<font>font27</font>
					<visible>!Window.IsVisible(Home) + Player.HasMedia + !Window.IsVisible(10702)</visible>
				</control>
				<control type="label">
					<top>545</top>
					<width>850</width>
					<height>60</height>
					<label>$VAR[ClockCrumbs]$VAR[BreadcrumbsPVRChannelsVar]</label>
					<textcolor>$VAR[MenuSelectorColor]</textcolor>
					<shadowcolor>black</shadowcolor>
					<align>left</align>
					<aligny>center</aligny>
					<wrapmultiline>true</wrapmultiline>
					<font>font27</font>
					<visible>![Window.IsVisible(Home) | Window.IsVisible(10702)]</visible>
				</control>
				<control type="label">
					<include>OpenClose_Right</include>
					<top>520</top>
					<width>850</width>
					<height>60</height>
					<label>$VAR[ClockCrumbs]$VAR[BreadcrumbsPVRGuideVar]</label>
					<textcolor>$VAR[MenuSelectorColor]</textcolor>
					<shadowcolor>black</shadowcolor>
					<align>left</align>
					<aligny>center</aligny>
					<wrapmultiline>true</wrapmultiline>
					<font>font27</font>
					<visible>Window.IsVisible(10702)</visible>
				</control>
			</control>
		</control>
		<control type="group">
			<visible>ListItem.IsFolder</visible>
			<top>list_top_offset</top>
			<control type="label">
				<top>10</top>
				<width>830</width>
				<height>262</height>
				<label>$LOCALIZE[19076] ($INFO[Container(5000).NumItems,[B],[/B] $LOCALIZE[31036]]) $INFO[ListItem.Property(recordingsize),- $LOCALIZE[20161]: [B],[/B]]</label>
				<font>font37</font>
				<visible>!ListItem.IsParentFolder</visible>
			</control>
			<!-- <control type="group">
				<left>-10</left>
				<top>60</top>
				<visible>!ListItem.IsParentFolder</visible>
				<control type="panel" id="5000">
					<top>20</top>
					<width>830</width>
					<bottom>100</bottom>
					<orientation>vertical</orientation>
					<focusedlayout height="100" width="780">
						<control type="label">
							<left>10</left>
							<height>90</height>
							<width>830</width>
							<aligny>center</aligny>
							<label>$VAR[RecordingDateSizeLabel]$INFO[ListItem.Label]$INFO[ListItem.EpisodeName, (,)]</label>
							<shadowcolor>text_shadow</shadowcolor>
						</control>
					</focusedlayout>
					<itemlayout height="100" width="780">
						<control type="label">
							<left>10</left>
							<height>90</height>
							<width>830</width>
							<aligny>center</aligny>
							<label>$VAR[RecordingDateSizeLabel]$INFO[ListItem.Label]$INFO[ListItem.EpisodeName, (,)]</label>
							<shadowcolor>text_shadow</shadowcolor>
						</control>
					</itemlayout>
					<content sortby="date" sortorder="$PARAM[folder_sortorder]">$INFO[ListItem.FilenameAndPath]</content>
				</control>
			</control> -->
		</control>
	</include>
	<include name="RDSInfoLine">
		<control type="grouplist">
			<visible>!String.IsEmpty($PARAM[value])</visible>
			<height>45</height>
			<orientation>horizontal</orientation>
			<itemgap>10</itemgap>
			<control type="label">
				<width>auto</width>
				<height>40</height>
				<aligny>center</aligny>
				<label>$PARAM[label]:</label>
				<textcolor>$VAR[FocusColorTheme]</textcolor>
			</control>
			<control type="label">
				<width>auto</width>
				<height>40</height>
				<align>right</align>
				<aligny>center</aligny>
				<label>$INFO[$PARAM[value]]</label>
				<scroll>true</scroll>
			</control>
		</control>
	</include>
	<include name="PVRChannelNumberInput">
		<control type="label">
			<left>0</left>
			<top>0</top>
			<width>100%</width>
			<height>100%</height>
			<label>$INFO[PVR.ChannelNumberInput]</label>
			<shadowcolor>black</shadowcolor>
			<align>center</align>
			<font>WeatherTemp</font>
			<aligny>center</aligny>
			<visible>!String.IsEmpty(PVR.ChannelNumberInput)</visible>
		</control>
	</include>
	<include name="EpgGrid">
		<definition>
			<control type="epggrid" id="$PARAM[control_id]">
				<left>0</left>
				<top>$PARAM[control_top]</top>
				<right>20</right>
				<bottom>333</bottom>
				<orientation>$PARAM[control_orientation]</orientation>
				<pagecontrol>60</pagecontrol>
				<scrolltime tween="quadratic" easing="out">300</scrolltime>
				<timeblocks>34</timeblocks>
				<rulerunit>6</rulerunit>
				<onback>11</onback>
				<onleft>9000</onleft>
				<onright>60</onright>
				<onup>$PARAM[control_onupdown_id]</onup>
				<ondown>$PARAM[control_onupdown_id]</ondown>
				<viewtype label="$PARAM[viewtype_label]">list</viewtype>
				<!-- progress panel -->
				<progresstexture border="$PARAM[progress_texture_border]" colordiffuse="unfocused_text">$PARAM[progress_texture]</progresstexture>
				<rulerdatelayout width="1700" height="45" condition="$PARAM[has_rulerdate_layout]">
					<control type="label">
						<width>1700</width>
						<height>45</height>
						<font>font13</font>
						<label>$INFO[ListItem.Label]</label>
						<textcolor>$VAR[FocusColorTheme]</textcolor>
						<align>center</align>
						<aligny>center</aligny>
					</control>
				</rulerdatelayout>
				<rulerlayout height="45" width="$PARAM[ruler_width]">
					<control type="label">
						<width>$PARAM[ruler_label_width]</width>
						<height>45</height>
						<font>font12</font>
						<label>$INFO[ListItem.Label]</label>
						<textcolor>unfocused_text</textcolor>
						<textoffsetx>10</textoffsetx>
						<textcolor>$VAR[FocusColorTheme]</textcolor>
					</control>
				</rulerlayout>
				<channellayout height="62" width="$PARAM[channel_width]">
					<control type="label">
						<left>2</left>
						<top>-2</top>
						<width>90</width>
						<height>60</height>
						<font>font32_title</font>
						<label>$INFO[ListItem.ChannelNumberLabel]</label>
						<textcolor>darkgrey</textcolor>
						<align>center</align>
						<aligny>center</aligny>
					</control>
					<control type="label" id="1">
						<left>83</left>
						<top>-2</top>
						<height>60</height>
						<font>font13</font>
						<label>$INFO[ListItem.ChannelName]</label>
						<textcolor>darkgrey</textcolor>
						<aligny>center</aligny>
						<textoffsetx>10</textoffsetx>
					</control>
				</channellayout>
				<focusedchannellayout height="62" width="$PARAM[channel_width]">
					<control type="label">
						<left>2</left>
						<top>-2</top>
						<width>90</width>
						<height>60</height>
						<font>font32_title</font>
						<label>$INFO[ListItem.ChannelNumberLabel]</label>
						<textcolor>$VAR[FocusColorTheme]</textcolor>
						<align>center</align>
						<aligny>center</aligny>
					</control>
					<control type="label" id="1">
						<left>83</left>
						<top>-2</top>
						<height>60</height>
						<font>font13</font>
						<label>$INFO[ListItem.ChannelName]</label>
						<textcolor>$VAR[FocusColorTheme]</textcolor>
						<aligny>center</aligny>
						<textoffsetx>10</textoffsetx>
						<scroll>true</scroll>
					</control>
				</focusedchannellayout>
				<!-- unfocused layout -->
				<itemlayout height="62" width="60">
					<control type="image" id="2">
						<width>58</width>
						<height>58</height>
						<texture colordiffuse="$VAR[EPGUnfocusedColorVar]" border="3" fallback="windows/pvr/epg-genres/0.png">$INFO[ListItem.Property(GenreType),windows/pvr/epg-genres/,.png]</texture>
					</control>
					<control type="label" id="1">
						<left>15</left>
						<top>10</top>
						<height>36</height>
						<aligny>left</aligny>
						<textoffsety>-3</textoffsety>
						<font>font13</font>
						<label>$INFO[ListItem.Label]</label>
						<textcolor>unfocused_text</textcolor>
					</control>
					<control type="image">
						<visible>ListItem.IsNew | ListItem.IsPremiere | ListItem.IsFinale | ListItem.IsLive</visible>
						<left>6</left>
						<top>35</top>
						<width>16</width>
						<height>16</height>
						<aspectratio>keep</aspectratio>
						<texture colordiffuse="$VAR[FocusColorTheme]">icons/pvr/premiere.png</texture>
					</control>
					<control type="image">
						<left>6</left>
						<top>35</top>
						<width>16</width>
						<height>16</height>
						<texture>$VAR[PVRTimerIcon]</texture>
						<animation effect="slide" start="0,0" end="19,0" condition="ListItem.IsNew | ListItem.IsPremiere | ListItem.IsFinale | ListItem.IsLive">Conditional</animation>
					</control>
				</itemlayout>
				<focusedlayout height="62" width="60">
					<control type="image" id="2">
						<top>2</top>
						<left>2</left>
						<width>54</width>
						<height>54</height>
						<texture colordiffuse="$VAR[FocusColorTheme]">masks/focus-PVR.png</texture>
						<visible>Control.HasFocus($PARAM[control_id])</visible>
					</control>
					<!-- unfocused grid (back) -->
					<control type="label" id="1">
						<left>15</left>
						<top>10</top>
						<height>36</height>
						<aligny>left</aligny>
						<textoffsety>-3</textoffsety>
						<font>font13</font>
						<label>$INFO[ListItem.Label]</label>
						<textcolor>$VAR[FocusedTextColorVar]</textcolor>
					</control>
					<control type="image">
						<visible>ListItem.IsNew | ListItem.IsPremiere | ListItem.IsFinale | ListItem.IsLive</visible>
						<left>6</left>
						<top>35</top>
						<width>16</width>
						<height>16</height>
						<aspectratio>keep</aspectratio>
						<texture colordiffuse="$VAR[FocusColorTheme]">icons/pvr/premiere.png</texture>
					</control>
					<control type="image">
						<left>6</left>
						<top>35</top>
						<width>16</width>
						<height>16</height>
						<texture>$VAR[PVRTimerIcon]</texture>
						<animation effect="slide" start="0,0" end="19,0" condition="ListItem.IsNew | ListItem.IsPremiere | ListItem.IsFinale | ListItem.IsLive">Conditional</animation>
					</control>
				</focusedlayout>
			</control>
			<control type="scrollbar" id="60">
				<right>0</right>
				<top>$PARAM[scrollbar_top]</top>
				<width>12</width>
				<bottom>340</bottom>
				<onleft>10</onleft>
				<onright>10</onright>
				<orientation>vertical</orientation>
				<texturesliderbackground colordiffuse="dialog_tint">colors/white.png</texturesliderbackground>
				<animation effect="fade" start="100" end="40" time="0" condition="!system.getbool(input.enablemouse)">Conditional</animation>
				<visible>Control.IsVisible($PARAM[control_id])</visible>
			</control>
		</definition>
	</include>
</includes>
