<window>
	<defaultcontrol>32</defaultcontrol>
	<allowoverlay>no</allowoverlay>
	<controls>
		<include>CommonBackground</include>
		<include>ContentPanelBackgroundsPVR</include>
		<include>MainWindowMouseButtons</include>
		<control type="image">
			<description>Section header image</description>
			<posx>20</posx>
			<posy>3</posy>
			<width>35</width>
			<height>35</height>
			<aspectratio>keep</aspectratio>
			<texture>icon_video.png</texture>
		</control>
		<control type="grouplist">
			<posx>65</posx>
			<posy>5</posy>
			<width>1000</width>
			<height>30</height>
			<orientation>horizontal</orientation>
			<align>left</align>
			<itemgap>5</itemgap>
			<control type="label">
				<include>WindowTitleCommons</include>
				<label>$LOCALIZE[31502]</label>
			</control>
			<control type="label">
				<include>WindowTitleCommons</include>
				<label>$INFO[Control.GetLabel(29),[COLOR=blue] - [/COLOR]]</label>
			</control>
			<control type="label">
				<include>WindowTitleCommons</include>
				<label>$INFO[Control.GetLabel(30),[COLOR=blue] - [/COLOR]]</label>
			</control>
		</control>
		<control type="label" id="29">
			<description>Empty so we can pass the values up one level</description>
			<visible>False</visible>
		</control>
		<control type="label" id="30">
			<description>Empty so we can pass the values up one level</description>
			<visible>False</visible>
		</control>
		<control type="group">
			<description>Small Media Window</description>
			<posx>530</posx>
			<posy>80</posy>
			<visible>Control.IsVisible(11) | Control.IsVisible(12)</visible>
			<include>VisibleFadeEffect</include>
			<include>Window_OpenClose_Animation</include>		
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>690</width>
				<height>400</height>
				<texture border="5">button-nofocus.png</texture>
			</control>
			<control type="image">
				<posx>5</posx>
				<posy>5</posy>
				<width>680</width>
				<height>390</height>
				<texture fallback="special://skin/backgrounds/tv.jpg">$INFO[Skin.String(Home_Custom_Back_TV_Folder)]</texture>
				<include>VisibleFadeEffect</include>
				<visible>!Player.HasVideo</visible>
			</control>
			<control type="videowindow">
				<posx>5</posx>
				<posy>5</posy>
				<width>680</width>
				<height>390</height>
				<visible>Player.HasVideo</visible>
				<animation effect="slide" start="0,0" end="-2000,0" time="0">WindowClose</animation>
			</control>
			<control type="image">
				<posx>1</posx>
				<posy>1</posy>
				<width>688</width>
				<height>35</height>
				<texture>black-back.png</texture>
				<colordiffuse>DDFFFFFF</colordiffuse>
				<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="visualisation">
				<posx>85</posx>
				<posy>85</posy>
				<width>700</width>
				<height>390</height>
				<visible>Player.HasAudio</visible>
			</control -->
		</control>

		<control type="group" id="50">
			<include>Window_OpenClose_Animation</include>
			<include>EPGTimelineView</include>--> <!-- view id = 10 -->
			<include>LiveTVChannelView</include> <!-- view id = 11 -->
			<include>LiveRadioChannelView</include> <!-- view id = 12 -->
			<include>LiveTVRecordingsView</include> <!-- view id = 13 -->
			<include>LiveTVTimersView</include> <!-- view id = 14 -->
			<include>LiveTVGuideChannelView</include> <!-- view id = 15 -->
			<include>LiveTVGuideNowNextView</include> <!-- view id = 16 -->
			<include>LiveTVSearchView</include> <!-- view id = 17 -->
		</control>
		<include>CommonNowPlaying</include>
		<include>BehindDialogFadeOut</include>
		<include>ScrollOffsetLabel</include>

		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<width>1280</width>
			<height>720</height>
			<texture>black-back.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>
			<include>SideBladeLeft</include>
			<control type="grouplist" id="9000">
				<posx>0</posx>
				<posy>110</posy>
				<width>250</width>
				<height>600</height>
				<onleft>9000</onleft>
				<onright>50</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<itemgap>0</itemgap>
				<control type="label" id="200">
					<width>250</width>
					<height>35</height>
					<font>font12caps</font>
					<label>31006</label>
					<textcolor>blue</textcolor>
					<align>center</align>
					<aligny>center</aligny>
				</control>
				<control type="button" id="32">
					<description>TV Channels</description>
					<posx>0</posx>
					<posy>0</posy>
					<textwidth>235</textwidth>
					<include>ButtonCommonValues</include>
					<label>19023</label>
				</control>
				<control type="button" id="33">
					<description>Radio Channels</description>
					<posx>0</posx>
					<posy>40</posy>
					<textwidth>235</textwidth>
					<include>ButtonCommonValues</include>
					<label>19024</label>
					<onleft>12</onleft>
					<onright>12</onright>
				</control>
				<control type="button" id="31">
					<description>TV Guide</description>
					<posx>0</posx>
					<posy>80</posy>
					<textwidth>235</textwidth>
					<include>ButtonCommonValues</include>
					<label>$LOCALIZE[19222]: $LOCALIZE[19030]</label>
				</control>
				<control type="button" id="34">
					<description>Recordings</description>
					<posx>0</posx>
					<posy>120</posy>
					<textwidth>235</textwidth>
					<include>ButtonCommonValues</include>
					<label>19163</label>
				</control>
				<control type="button" id="35">
					<description>Timers</description>
					<posx>0</posx>
					<posy>160</posy>
					<textwidth>235</textwidth>
					<include>ButtonCommonValues</include>
					<label>19040</label>
				</control>
				<control type="button" id="36">
					<description>Search</description>
					<posx>0</posx>
					<posy>200</posy>
					<textwidth>235</textwidth>
					<include>ButtonCommonValues</include>
					<label>137</label>
				</control>
				<include>CommonNowPlaying_Controls</include>
			</control>
		</control>

		<include>Clock</include>
	</controls>
</window>
