<?xml version="1.0" encoding="UTF-8"?>
<window id="1155">
	<defaultcontrol>999</defaultcontrol>
	<visible>!System.ScreenSaverActive</visible>
	<controls>
		<include>backgroundsimple</include>
		<include>fake-overlay</include>
		<include content="screen-name">
			<param name="screenlabel" value="$VAR[FakeNodeHeading]"/>
			<param name="listitems" value="Container(999).NumItems"/>
		</include>
		<control type="list" id="999">
			<left>1017</left>
			<top>174</top>
			<width>840</width>
			<height>825</height>
			<onup>999</onup>
			<ondown>999</ondown>
			<onback>ClearProperty(NodeType,home)</onback>
			<onback>ReplaceWindow(home)</onback>
			<preloaditems>4</preloaditems>
			<itemlayout height="84">
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>840</width>
					<height>84</height>
					<texture border="9">button-default.png</texture>
					<aspectratio>stretch</aspectratio>
				</control>
				<control type="label">
					<left>80</left>
					<top>8</top>
					<width>798</width>
					<height>39</height>
					<font>apptv23</font>
					<textoffsety>6</textoffsety>
					<aligny>top</aligny>
					<label>$INFO[ListItem.Label]</label>
				</control>
			</itemlayout>
			<focusedlayout height="84">
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>840</width>
					<height>84</height>
					<texture border="9">button-default-focus.png</texture>
					<aspectratio>stretch</aspectratio>
				</control>
				<control type="label">
					<left>80</left>
					<top>8</top>
					<width>798</width>
					<height>39</height>
					<font>apptv23</font>
					<textoffsety>6</textoffsety>
					<aligny>top</aligny>
					<label>$INFO[ListItem.Label]</label>
				</control>
			</focusedlayout>
			<content>
				<item><!-- Return to Home -->
					<icon>DefaultFolderBack.png</icon>
					<label>..</label>
					<onclick>ClearProperty(NodeType,home)</onclick>
					<onclick>ReplaceWindow(home)</onclick>
					<visible>$EXP[isEnabledParentDirectory]</visible>
				</item>
				<item><!-- PVR Play -->
					<icon>icon-play.png</icon>
					<label>$LOCALIZE[31703]</label>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),tv)">PlayPvrTV</onclick>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),radio)">PlayPvrRadio</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),tv) | String.IsEqual(Window(home).Property(NodeType),radio)</visible>
				</item>
				<item><!-- PVR Channels -->
					<icon>icon-remote.png</icon>
					<label>$LOCALIZE[19019]</label>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),tv)">ActivateWindow(tvchannels)</onclick>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),radio)">ActivateWindow(radiochannels)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),tv) | String.IsEqual(Window(home).Property(NodeType),radio)</visible>
				</item>
				<item><!-- PVR Guide -->
					<icon>icon-epg.png</icon>
					<label>$LOCALIZE[22020]</label>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),tv)">ActivateWindow(tvguide)</onclick>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),radio)">ActivateWindow(radioguide)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),tv) | String.IsEqual(Window(home).Property(NodeType),radio)</visible>
				</item>
				<item><!-- PVR Recordings -->
					<icon>icon-record.png</icon>
					<label>$LOCALIZE[19163]</label>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),tv)">ActivateWindow(tvrecordings)</onclick>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),radio)">ActivateWindow(radiorecordings)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),tv) | String.IsEqual(Window(home).Property(NodeType),radio)</visible>
				</item>
				<item><!-- PVR Timers -->
					<icon>icon-timer.png</icon>
					<label>$LOCALIZE[19040]</label>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),tv)">ActivateWindow(tvtimers)</onclick>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),radio)">ActivateWindow(radiotimers)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),tv) | String.IsEqual(Window(home).Property(NodeType),radio)</visible>
				</item>
				<item><!-- PVR Search -->
					<icon>icon-search.png</icon>
					<label>$LOCALIZE[137]</label>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),tv)">ActivateWindow(tvsearch)</onclick>
					<onclick condition="String.IsEqual(Window(home).Property(NodeType),radio)">ActivateWindow(radiosearch)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),tv) | String.IsEqual(Window(home).Property(NodeType),radio)</visible>
				</item>
				<item><!-- Video Addons -->
					<icon>DefaultAddon.png</icon>
					<label>$LOCALIZE[1037]</label>
					<onclick>ActivateWindow(videos,Addons,return)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),addon)</visible>
				</item>
				<item><!-- Music Addons -->
					<icon>DefaultAddon.png</icon>
					<label>$LOCALIZE[1038]</label>
					<onclick>ActivateWindow(music,addons://sources/audio/,return)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),addon)</visible>
				</item>
				<item><!-- Picture Addons -->
					<icon>DefaultAddon.png</icon>
					<label>$LOCALIZE[1039]</label>
					<onclick>ActivateWindow(pictures,Addons,return)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),addon)</visible>
				</item>
				<item><!-- Program Addons -->
					<icon>DefaultAddon.png</icon>
					<label>$LOCALIZE[1043]</label>
					<onclick>ActivateWindow(programs,Addons,return)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),addon)</visible>
				</item>
				<item><!-- Update Addons -->
					<icon>DefaultAddon.png</icon>
					<label>$LOCALIZE[24043]</label>
					<onclick>ActivateWindow(addonbrowser,addons://outdated/,return)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),addon) + Integer.IsGreater(Window(home).Property(PendingUpdates),0)</visible>
				</item>
				<item><!-- Get More Addons -->
					<icon>DefaultAddon.png</icon>
					<label>$LOCALIZE[21452]</label>
					<onclick>ActivateWindow(addonbrowser,,return)</onclick>
					<visible>String.IsEqual(Window(home).Property(NodeType),addon)</visible>
				</item>
			</content>
		</control>
		<control type="image">
			<left>150</left>
			<top>256</top>
			<width>512</width>
			<height>512</height>
			<texture background="true" fallback="DefaultAddon.png" diffuse="mask-squ.png">$INFO[Container(999).Listitem.ActualIcon]</texture>
			<aspectratio scalediffuse="false">keep</aspectratio>
		</control>
	</controls>
</window>