<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>100</defaultcontrol>
	<include>PropertyIncludes</include>
	<controls>
		<include content="DiffuseMask">
			<param name="visible">true</param>
		</include>
		<control type="group">
			<include>Dialog_PopupOpenClose</include>
			<centerleft>50%</centerleft>
			<width>500</width>
			<centertop>50%</centertop>
			<height>982</height>
			<control type="grouplist" id="100">
				<orientation>vertical</orientation>
				<height>auto</height>
				<align>center</align>
				<itemgap>0</itemgap>
				<onright>close</onright>
				<onleft>close</onleft>
				<usecontrolcoords>true</usecontrolcoords>
				<control type="image" id="110">
					<width>100%</width>
					<height>61</height>
					<texture border="65,0,65,0" colordiffuse="context_color">dialogs/context/top.png</texture>
				</control>
				<control type="button" id="101">
					<include content="ContextButton"/>
					<label>$LOCALIZE[31076]</label>
					<onclick>PlayerControl(stop)</onclick>
					<onclick>close</onclick>
					<visible>Player.HasMedia</visible>
				</control>
				<control type="button" id="102">
					<include content="ContextButton"/>
					<label>$VAR[PlayerPlayPauseLabel]</label>
					<onclick>PlayerControl(Play)</onclick>
					<visible>Player.HasMedia</visible>
					<visible>!VideoPlayer.Content(livetv) | PVR.CanRecordPlayingChannel</visible>
				</control>
				<control type="button" id="103">
					<include content="ContextButton"/>
					<label>$LOCALIZE[209]</label>
					<onclick>PlayerControl(Next)</onclick>
					<visible>Player.ChapterCount | Integer.IsGreater(Playlist.Length(video),1) | Integer.IsGreater(Playlist.Length(music),1) | Player.SeekEnabled</visible>
				</control>
				<control type="button" id="104">
					<include content="ContextButton"/>
					<label>$LOCALIZE[210]</label>
					<onclick>PlayerControl(Previous)</onclick>
					<visible>Player.ChapterCount | Integer.IsGreater(Playlist.Length(video),1) | Integer.IsGreater(Playlist.Length(music),1) | Player.SeekEnabled</visible>
				</control>
				<control type="button" id="105">
					<include content="ContextButton"/>
					<label>$LOCALIZE[600]</label>
					<onclick>close</onclick>
					<onclick>RipCD</onclick>
					<visible>System.HasMediaAudioCD</visible>
				</control>
				<control type="button" id="106">
					<include content="ContextButton"/>
					<label>$LOCALIZE[31335]</label>
					<onclick>close</onclick>
					<onclick>EjectTray()</onclick>
					<visible>System.HasMediaDVD</visible>
				</control>
				<control type="image" id="111">
					<width>100%</width>
					<height>61</height>
					<texture border="65,0,65,0" colordiffuse="context_color">dialogs/context/bottom.png</texture>
				</control>
			</control>
		</control>
	</controls>
</window>
