<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">603</defaultcontrol>
	<visible>Window.IsActive(PlayerControls) + !Window.IsActive(FullscreenVideo) + !Window.IsActive(Visualisation)</visible>
	<onunload condition="Window.IsActive(home)">SetFocus(9000)</onunload>
	<menucontrol>9051</menucontrol>
	<controls>
		<control type="button" id="9051">
			<include>HiddenObject</include>
			<onfocus>Dialog.Close(playercontrols)</onfocus>
		</control>
		<control type="group">
			<animation effect="slide" start="0,-238" end="0,0" time="240" tween="quadratic">WindowOpen</animation>
			<animation effect="slide" end="0,-238" start="0,0" time="240" tween="quadratic">WindowClose</animation>
			<control type="image">
				<left>-5%</left>
				<top>-20</top>
				<width>110%</width>
				<height>112</height>
				<texture border="40" flipy="true" colordiffuse="E6FFFFFF">dialogs/default/bg.png</texture>
			</control>
			<control type="grouplist" id="202">
				<top>-10</top>
				<height>144</height>
				<width>100%</width>
				<align>center</align>
				<scrolltime tween="sine">200</scrolltime>
				<orientation>horizontal</orientation>
				<onup>700</onup>
				<ondown>709</ondown>
				<onleft>202</onleft>
				<onright>202</onright>
				<control type="togglebutton" id="700">
					<texturefocus />
					<alttexturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<altlabel></altlabel>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<usealttexture>Player.HasAudio</usealttexture>
					<onclick>Dialog.Close(all,true)</onclick>
					<onclick condition="Player.HasAudio">ActivateWindow(musicplaylist)</onclick>
					<onclick condition="Player.HasVideo">ActivateWindow(videoplaylist)</onclick>
					<visible>[Player.HasVideo + !String.IsEqual(Playlist.Length(video),0)] | [Player.HasAudio + !String.IsEqual(Playlist.Length(music),0)]</visible>
				</control>
				<control type="button" id="600">
					<texturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<onclick>PlayerControl(Previous)</onclick>
				</control>
				<control type="button" id="601">
					<texturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<onclick condition="!Player.TempoEnabled">PlayerControl(Rewind)</onclick>
					<onclick condition="Player.TempoEnabled">PlayerControl(tempodown)</onclick>
				</control>
				<control type="button" id="603">
					<texturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="togglebutton" id="602">
					<texturefocus />
					<alttexturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<altlabel></altlabel>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
					<onclick>PlayerControl(Play)</onclick>
				</control>
				<control type="button" id="604">
					<texturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<onclick condition="!Player.TempoEnabled">PlayerControl(Forward)</onclick>
					<onclick condition="Player.TempoEnabled">PlayerControl(tempoup)</onclick>
				</control>
				<control type="button" id="605">
					<texturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<onclick>PlayerControl(Next)</onclick>
				</control>
				<control type="togglebutton" id="704">
					<texturefocus />
					<alttexturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<altlabel></altlabel>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<usealttexture>Playlist.IsRandom</usealttexture>
					<onclick>PlayerControl(Random)</onclick>
					<visible>Player.HasAudio + !MusicPartyMode.Enabled</visible>
				</control>
				<control type="button" id="707">
					<texturefocus />
					<font>IconOSDButtons</font>
					<label>$VAR[MusicOSDRepeatButtonVar]</label>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<onclick>PlayerControl(Repeat)</onclick>
					<visible>Player.HasAudio + !MusicPartyMode.Enabled</visible>
				</control>
				<control type="button" id="709">
					<texturefocus />
					<font>IconOSDButtons</font>
					<label></label>
					<focusedcolor>$VAR[FocusedOSDButtonsColor]</focusedcolor>
					<textcolor>$VAR[UnfocusedOSDButtonsColor]</textcolor>
					<shadowcolor>shadow</shadowcolor>
					<width>100</width>
					<height>100</height>
					<onclick>Dialog.Close(all,true)</onclick>
					<onclick>SetProperty(Enable.ScreenshotMode,True,Home)</onclick>
					<onclick>Notification($LOCALIZE[19098]:,$LOCALIZE[31329],1500,icon.png)</onclick>
					<onclick>Skin.TimerStart(takescreenshot)</onclick>
					<onclick>Skin.TimerStart(resetscreenshot)</onclick>
				</control>
			</control>
		</control>
	</controls>
</window>