<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">5550</defaultcontrol>
	<include>PropertyIncludes</include>
	<onload condition="!Window.IsVisible(fullscreenvideo) + !Window.IsVisible(visualisation)">close</onload>
	<onload>Dialog.Close(fullscreeninfo)</onload>
	<onload>Dialog.Close(videoosd)</onload>
	<onload>Dialog.Close(musicosd)</onload>
	<onload>Dialog.Close(selectdialog)</onload>
	<onload>Dialog.Close(osdvideosettings)</onload>
	<onload>Dialog.Close(osdaudiosettings)</onload>
	<onload>Dialog.Close(videobookmarks)</onload>
	<onload>Dialog.Close(textviewer)</onload>
	<onload>Dialog.Close(subtitlesearch)</onload>
	<onload>Dialog.Close(osdsubtitlesettings)</onload>
	<onload>Dialog.Close(osdcmssettings)</onload>
	<onload>Dialog.Close(musicplaylist)</onload>
	<onload>Dialog.Close(videoplaylist)</onload>
	<controls>
		<control type="grouplist" id="9000">
			<visible>Window.IsVisible(fullscreenvideo) | Window.IsVisible(visualisation)</visible>
			<include content="Dialog_PopupOpenClose">
				<param name="center" value="auto"/>
			</include>
			<width>820</width>
			<orientation>vertical</orientation>
			<height>auto</height>
			<itemgap>0</itemgap>
			<onright>close</onright>
			<onleft>close</onleft>
			<usecontrolcoords>true</usecontrolcoords>
			<control type="image">
				<width>100%</width>
				<height>61</height>
				<texture border="65,0,65,0" colordiffuse="bb000000">dialogs/context/top.png</texture>
			</control>
			<control type="group">
				<visible>VideoPlayer.Content(livetv)</visible>
				<width>100%</width>
				<height>60</height>
				<control type="image">
					<width>100%</width>
					<texture border="65,0,65,0" colordiffuse="bb000000">dialogs/context/middle.png</texture>
				</control>
				<control type="grouplist" id="5550">
					<top>10</top>
					<left>75</left>
					<right>75</right>
					<height>50</height>
					<align>left</align>
					<onright>noop</onright>
					<onleft>noop</onleft>
					<ondown>noop</ondown>
					<orientation>horizontal</orientation>
					<control type="button" id="5552">
						<height>50</height>
						<font>Material20</font>
						<include>LightGreyButton</include>
						<onclick>close</onclick>
						<label>&#xf95f;</label>
					</control>
					<control type="button" id="5551">
						<height>50</height>
						<font>Material20</font>
						<include>LightGreyButton</include>
						<label>&#xf838;</label>
						<onclick>close</onclick>
						<visible>VideoPlayer.Content(livetv)</visible>
					</control>
				</control>
			</control>
			<!-- PVR -->
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamServiceName,$LOCALIZE[19099]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamProviderName,$LOCALIZE[19101]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamClient,$LOCALIZE[19012]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamDevice,$LOCALIZE[19006]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamStatus,$LOCALIZE[19007]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamEncryptionName,$LOCALIZE[19015]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamBer,$LOCALIZE[19010]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamUnc,$LOCALIZE[19011]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamMux,$LOCALIZE[19100]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamSignal,$LOCALIZE[19008]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[PVR.ActStreamSNR,$LOCALIZE[19009]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5551)</visible>
				<visible>VideoPlayer.Content(livetv)</visible>
			</control>
			<!-- Video -->
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$LOCALIZE[13287] $INFO[System.ScreenWidth]x$INFO[System.ScreenHeight,, px]$INFO[System.FPS,  , FPS]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[Player.Process(videodecoder),$LOCALIZE[31046]: ]$VAR[VideoHWDecoder, (,)]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
				<visible>Player.HasVideo</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[Player.Process(pixformat),$LOCALIZE[31047]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
				<visible>Player.HasVideo</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[Player.Process(deintmethod),$LOCALIZE[31048]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
				<visible>Player.HasVideo</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$LOCALIZE[21443]: $INFO[Player.Process(videowidth)]x$INFO[Player.Process(videoheight),, px]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
				<visible>Player.HasVideo</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$LOCALIZE[21374]: $INFO[Player.Process(videodar),, AR]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
				<visible>Player.HasVideo</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$LOCALIZE[31049]: $INFO[Player.Process(videofps),, FPS]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
				<visible>Player.HasVideo</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$LOCALIZE[21444]: $INFO[Player.Process(audiochannels)]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$LOCALIZE[460]: $INFO[Player.Process(audiodecoder)]$INFO[Player.Process(audiobitspersample),$COMMA , bits]$INFO[Player.Process(audiosamplerate),$COMMA , Hz]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$LOCALIZE[460]: $INFO[Player.Process(audiochannels),,$COMMA ]$INFO[Player.Process(audiodecoder)]$INFO[Player.Process(audiobitspersample),$COMMA , bits]$INFO[Player.Process(audiosamplerate),$COMMA , Hz]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[System.Memory(used.percent),$LOCALIZE[31045]: ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[System.CpuUsage,$LOCALIZE[13271] ]</label>
				<onclick>noop</onclick>
				<visible>Control.HasFocus(5552)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[System.CPUTemperature,$LOCALIZE[22011] ]</label>
				<onclick>noop</onclick>
				<visible>!String.IsEqual(System.CPUTemperature,$LOCALIZE[10005])</visible>
				<visible>Control.HasFocus(5552)</visible>
			</control>
			<control type="button">
				<include content="PlayerProcessButton"/>
				<label>$INFO[System.GPUTemperature,$LOCALIZE[22010] ]</label>
				<onclick>noop</onclick>
				<visible>!String.IsEqual(System.GPUTemperature,$LOCALIZE[10005])</visible>
				<visible>Control.HasFocus(5552)</visible>
			</control>
			<control type="image">
				<width>100%</width>
				<height>61</height>
				<texture border="65,0,65,0" colordiffuse="bb000000">dialogs/context/bottom.png</texture>
			</control>
		</control>
	</controls>
</window>
