<?xml version="1.0" encoding="UTF-8"?>
<window>
	<!--<visible>Player.HasMedia + Window.IsActive(PlayerControls) + !Window.IsActive(FullscreenVideo) + !Window.IsActive(Visualisation)</visible>-->
<visible>Player.HasMedia + Window.IsActive(PlayerControls) + !Window.IsActive(FullscreenVideo) + !Window.IsActive(FullscreenGame) + !Window.IsActive(Visualisation)+System.getbool(input.enablemouse)</visible>
<!--	
<visible>[!Window.IsActive(visualisation) + !Window.IsActive(slideshow) + ![Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes) + String.Contains(Window(Videos).Property(TvTunesIsAlive),True)] + Player.HasAudio] | [!VideoPlayer.IsFullscreen + !Window.IsVisible(screencalibration) + Player.HasVideo]</visible>
   -->
   
   <defaultcontrol always="true">403</defaultcontrol>
   <controls>
		<control type="grouplist" id="403">
			<left>10</left>
			<top>685</top>
			<align>left</align>
			<width>230</width>
			<height>30</height>
			<itemgap>5</itemgap>
			<orientation>horizontal</orientation>
			<onup>noop</onup>
			<ondown>noop</ondown>
			<control type="button" id="600">
				<description>Skip Back</description>
				<width>30</width>
				<height>30</height>
				<texturefocus colordiffuse="Accent">other_textures/osd/npPrevious.png</texturefocus>
				<texturenofocus>other_textures/osd/npPrevious.png</texturenofocus>
				<onclick>playercontrol(previous)</onclick>
			</control>
			<control type="togglebutton" id="601">
				<description>Play/pause</description>
				<width>30</width>
				<height>30</height>
				<texturefocus colordiffuse="Accent">other_textures/osd/npPause.png</texturefocus>
				<texturenofocus>other_textures/osd/npPause.png</texturenofocus>
				<usealttexture>Player.paused | Player.Forwarding | Player.rewinding</usealttexture>
				<alttexturefocus colordiffuse="Accent">other_textures/osd/npPlay.png</alttexturefocus>
				<alttexturenofocus>other_textures/osd/npPlay.png</alttexturenofocus>
				<onclick>playercontrol(play)</onclick>
			</control>
			<control type="button"  id="602">
				<description>Stop</description>
				<width>30</width>
				<height>30</height>
				<texturefocus colordiffuse="Accent">other_textures/osd/npStop.png</texturefocus>
				<texturenofocus>other_textures/osd/npStop.png</texturenofocus>
				<onclick>playercontrol(stop)</onclick>
			</control>
			 <control type="button"  id="603">
				<description>Skip Forward</description>
				<width>30</width>
				<height>30</height>
				<texturefocus colordiffuse="Accent">other_textures/osd/npNext.png</texturefocus>
				<texturenofocus>other_textures/osd/npNext.png</texturenofocus>
				<onclick>playercontrol(next)</onclick>
				<visible>!VideoPlayer.Content(livetv) + [Integer.IsGreater(Playlist.Length(video),1) | Integer.IsGreater(Playlist.Length(music),1)]</visible>
			</control>
		</control>
    </controls>
</window>