<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<controls>
		<include>background</include>
		<control type="group">
			<control type="image">
				<left>90</left>
				<top>158</top>
				<width>384</width>
				<height>384</height>
				<texture fallback="icon-radio.png">$INFO[ListItem.Icon]</texture>
				<aspectratio>keep</aspectratio>
				<visible>!String.IsEmpty(Window.Property(IsRadio))</visible>
			</control>
			<control type="image">
				<left>90</left>
				<top>158</top>
				<width>384</width>
				<height>384</height>
				<texture fallback="icon-livetv.png">$INFO[ListItem.Icon]</texture>
				<aspectratio>keep</aspectratio>
				<visible>String.IsEmpty(Window.Property(IsRadio))</visible>
			</control>
			<control type="label"><!-- PVR Program name -->
				<left>570</left>
				<top>18</top>
				<width>1290</width>
				<height>108</height>
				<font>apptv30</font>
				<label>$INFO[ListItem.Label]</label>
				<wrapmultiline>true</wrapmultiline>
				<aligny>center</aligny>
			</control>
			<control type="label"><!-- Channel name -->
				<left>570</left>
				<top>126</top>
				<width>1290</width>
				<height>33</height>
				<font>apptv22</font>
				<label>$INFO[ListItem.ChannelName]</label>
				<textcolor>disabled-text</textcolor>
				<shadowcolor>shadow-text</shadowcolor>
			</control>
			<control type="image">
				<left>570</left>
				<top>162</top>
				<width>1290</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="textbox" id="1122"><!-- PVR program description -->
				<left>570</left>
				<top>168</top>
				<width>1290</width>
				<height>174</height>
				<label>$VAR[VideoInfoPlot]</label>
				<font>apptv20</font>
				<align>justify</align>
				<pagecontrol>1123</pagecontrol>
			</control>
			<control type="scrollbar" id="1123"><!-- PVR program description scrollbar -->
				<left>1869</left>
				<top>165</top>
				<width>18</width>
				<height>183</height>
				<onup>1123</onup>
				<onright>1123</onright>
				<onleft>9000</onleft>
				<ondown>9000</ondown>
				<animation condition="!Control.HasFocus(1123) + !Container.Scrolling + $EXP[isnotAlwaysScrollbar]" effect="fade" start="100" end="0" time="200" reversible="true">Conditional</animation>
				<visible>$EXP[isEnabledScrollbar]</visible>
			</control>
			<control type="image">
				<left>570</left>
				<top>348</top>
				<width>1290</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="group">
				<control type="list" id="49">
					<left>570</left>
					<top>360</top>
					<width>1290</width>
					<height>225</height>
					<onleft>49</onleft>
					<onright>49</onright>
					<onup>1123</onup>
					<pagecontrol>noop</pagecontrol>
					<scrolltime>200</scrolltime>
					<itemlayout width="1290" height="45">
						<control type="label">
							<left>0</left>
							<top>0</top>
							<width>240</width>
							<height>45</height>
							<font>apptv20</font>
							<align>right</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<left>262</left>
							<top>0</top>
							<width>1028</width>
							<height>45</height>
							<font>apptv20</font>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</itemlayout>
					<focusedlayout width="1290" height="45">
						<control type="label">
							<left>0</left>
							<top>0</top>
							<width>240</width>
							<height>45</height>
							<font>apptv20</font>
							<align>right</align>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label]</label>
						</control>
						<control type="label">
							<left>262</left>
							<top>0</top>
							<width>1028</width>
							<height>45</height>
							<font>apptv20</font>
							<aligny>center</aligny>
							<label>$INFO[ListItem.Label2]</label>
						</control>
					</focusedlayout>
					<content>
						<item>
							<label>$LOCALIZE[180]:</label>
							<label2>$VAR[ListitemDuration]</label2>
						</item>
						<item>
							<label>$LOCALIZE[552]:</label>
							<label2>$INFO[ListItem.StartDate]</label2>
						</item>
						<item>
							<label>$LOCALIZE[142]</label>
							<label2>$INFO[ListItem.StartTime]</label2>
						</item>
						<item>
							<label>$LOCALIZE[135]:</label>
							<label2>$INFO[ListItem.Genre]</label2>
						</item>
					</content>
				</control>
			</control>
			<control type="grouplist" id="9000"><!-- Option buttons -->
				<left>540</left>
				<top>600</top>
				<width>1320</width>
				<height>144</height>
				<orientation>horizontal</orientation>
				<itemgap>22</itemgap>
				<align>center</align>
				<onleft>1005</onleft>
				<onright>1005</onright>
				<onup condition="Integer.IsGreater(Container(1122).NumPages,1)">1123</onup>
				<onup condition="Integer.IsLessOrEqual(Container(1122).NumPages,1)">1005</onup>
				<ondown condition="Integer.IsGreaterOrEqual(Container(950).NumItems,1)">950</ondown>
				<ondown condition="Integer.IsLess(Container(950).NumItems,1)">1005</ondown>
				<control type="button" id="5"><!-- Switch channel button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[19165]</label>
					<texturefocus>button-info-refresh-focus.png</texturefocus>
					<texturenofocus>button-info-refresh.png</texturenofocus>
					<visible>Window.IsActive(PVRGuideInfo)</visible>
				</control>
				<control type="button" id="8"><!-- Play button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[19687]</label>
					<texturefocus>button-info-play-focus.png</texturefocus>
					<texturenofocus>button-info-play.png</texturenofocus>
					<visible>Window.IsActive(PVRRecordingInfo)</visible>
				</control>
				<control type="button" id="7"><!-- OK button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[186]</label>
					<texturefocus>button-info-ok-focus.png</texturefocus>
					<texturenofocus>button-info-ok.png</texturenofocus>
				</control>
				<control type="button" id="6"><!-- Record button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[24022]</label>
					<texturefocus>button-info-record-focus.png</texturefocus>
					<texturenofocus>button-info-record.png</texturenofocus>
					<visible>Window.IsActive(PVRGuideInfo)</visible>
				</control>
				<control type="button" id="9"><!-- Timer button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[19061]</label>
					<texturefocus>button-info-timer-focus.png</texturefocus>
					<texturenofocus>button-info-timer.png</texturenofocus>
					<visible>Window.IsActive(PVRGuideInfo)</visible>
				</control>
				<control type="button" id="4"><!-- Similar button -->
					<include>info-options-common</include>
					<label>$LOCALIZE[19003]</label>
					<texturefocus>button-info-cast-focus.png</texturefocus>
					<texturenofocus>button-info-cast.png</texturenofocus>
					<visible>Window.IsActive(PVRGuideInfo)</visible>
				</control>
			</control>
			<control type="label"><!-- PVR Channels heading -->
				<left>30</left>
				<top>732</top>
				<height>30</height>
				<width>450</width>
				<label>$LOCALIZE[19163]</label>
				<font>apptv22</font>
				<align>right</align>
			</control>
			<control type="image">
				<left>510</left>
				<top>756</top>
				<width>1350</width>
				<height>6</height>
				<texture>separator.png</texture>
			</control>
			<control type="list" id="950">
				<left>15</left>
				<top>762</top>
				<width>1890</width>
				<height>312</height>
				<onleft>1010</onleft>
				<onright>1010</onright>
				<onup>9000</onup>
				<ondown>1010</ondown>
				<orientation>horizontal</orientation>
				<itemlayout height="312" width="315">
					<control type="image">
						<left>52</left>
						<top>18</top>
						<width>210</width>
						<height>210</height>
						<aspectratio>keep</aspectratio>
						<texture colordiffuse="UnFocusedPosters" background="true">$INFO[ListItem.Icon]</texture>
					</control>
				</itemlayout>
				<focusedlayout height="312" width="315">
					<control type="image">
						<left>52</left>
						<top>18</top>
						<width>210</width>
						<height>210</height>
						<aspectratio>keep</aspectratio>
						<texture background="true">$INFO[ListItem.Icon]</texture>
						<animation effect="zoom" start="100" end="104" center="auto" time="200" tween="back" easing="out" reversible="false">focus</animation>
					</control>
					<control type="textbox">
						<left>0</left>
						<top>240</top>
						<width>315</width>
						<height>72</height>
						<label>$INFO[ListItem.Label] [COLOR=disabled-text]$INFO[ListItem.Date][/COLOR]</label>
						<font>apptv20</font>
						<align>center</align>
						<animation effect="fade" time="100" delay="200">Focus</animation>
						<visible>Control.HasFocus(950)</visible>
					</control>
				</focusedlayout>
				<content target="pvr" limit="25">pvr://recordings/tv/active?view=flat</content>
			</control>
			<control type="group"><!-- Markers for control area items -->
				<visible>Control.IsVisible(950)</visible>
				<include content="page-offscreen-horizontal">
					<param name="indicator1left" value="30"/>
					<param name="indicator1top" value="870"/>
					<param name="indicator2left" value="1866"/>
					<param name="indicator2top" value="870"/>
					<param name="indicatorsize" value="24"/>
					<param name="indicatorcontainer" value="950"/>
				</include>
			</control>
			<!-- Play bump sound if user tries to leave button bar by undefined direction -->
			<include content="illegal-action">
				<param name="controlid" value="1005" />
				<param name="returnid" value="9000" />
			</include>
			<!-- Play bump sound if user tries to leave recordings widget by undefined direction -->
			<include content="illegal-action">
				<param name="controlid" value="1010" />
				<param name="returnid" value="950" />
			</include>
		</control>
	</controls>
</window>