<?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">
				<top>-1</top>
				<width>100%</width>
				<height>114</height>
				<texture border="1,0,1,40">topbar.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="button" id="700">
					<textoffsety>60</textoffsety>
					<texturefocus>osd/buttons/OSDPlaylistFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDPlaylistNF.png</texturenofocus>
					<label />
					<width>100</width>
					<height>100</height>
					<font />
					<onclick condition="Player.HasAudio">ActivateWindow(MusicPlaylist)</onclick>
					<onclick condition="Player.HasVideo">ActivateWindow(VideoPlaylist)</onclick>
					<visible>![Window.IsActive(home) + Player.HasVideo]</visible>
				</control>
				<control type="button" id="600">
					<texturefocus>osd/buttons/OSDPrevTrackFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDPrevTrackNF.png</texturenofocus>
					<label />
					<width>100</width>
					<height>100</height>
					<font />
					<onclick>PlayerControl(Previous)</onclick>
				</control>
				<control type="button" id="601">
					<texturefocus>osd/buttons/OSDRewindFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDRewindNF.png</texturenofocus>
					<label />
					<width>100</width>
					<height>100</height>
					<font />
					<onclick>PlayerControl(Rewind)</onclick>
				</control>
				<control type="togglebutton" id="602">
					<texturefocus>osd/buttons/OSDPauseFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDPauseNF.png</texturenofocus>
					<alttexturefocus>osd/buttons/OSDPlayFO.png</alttexturefocus>
					<alttexturenofocus>osd/buttons/OSDPlayNF.png</alttexturenofocus>
					<label />
					<altlabel>208</altlabel>
					<width>100</width>
					<height>100</height>
					<font />
					<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
					<onclick>PlayerControl(Play)</onclick>
				</control>
				<control type="button" id="603">
					<texturefocus>osd/buttons/OSDStopFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDStopNF.png</texturenofocus>
					<label />
					<width>100</width>
					<height>100</height>
					<font />
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="button" id="604">
					<texturefocus>osd/buttons/OSDForwardFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDForwardNF.png</texturenofocus>
					<label />
					<width>100</width>
					<height>100</height>
					<font />
					<onclick>PlayerControl(Forward)</onclick>
				</control>
				<control type="button" id="605">
					<texturefocus>osd/buttons/OSDNextTrackFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDNextTrackNF.png</texturenofocus>
					<label />
					<width>100</width>
					<height>100</height>
					<font />
					<onclick>PlayerControl(Next)</onclick>
				</control>
				<control type="togglebutton" id="704">
					<texturefocus>osd/buttons/OSDRandomOffFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDRandomOffNF.png</texturenofocus>
					<alttexturefocus>osd/buttons/OSDRandomOnFO.png</alttexturefocus>
					<alttexturenofocus>osd/buttons/OSDRandomOnNF.png</alttexturenofocus>
					<label />
					<width>100</width>
					<height>100</height>
					<font />
					<usealttexture>Playlist.IsRandom</usealttexture>
					<onclick>PlayerControl(Random)</onclick>
					<visible>![Window.IsActive(home) + Player.HasVideo] + !MusicPartyMode.Enabled</visible>
				</control>
				<control type="button" id="707">
					<width>0.1</width>
					<height>0.1</height>
					<texturefocus />
					<texturenofocus />
					<label>$LOCALIZE[486]$INFO[Playlist.Repeat, : ]</label>
					<font />
					<onclick>PlayerControl(Repeat)</onclick>
					<visible>![Window.IsActive(home) + Player.HasVideo] + !MusicPartyMode.Enabled</visible>
				</control>
				<control type="image" id="708">
					<texture>$VAR[MusicOSDRepeatButtonVar]</texture>
					<width>100</width>
					<height>100</height>
					<visible>![Window.IsActive(home) + Player.HasVideo] + !MusicPartyMode.Enabled</visible>
				</control>
				<control type="button" id="709">
					<texturefocus>osd/buttons/OSDChannelListFO.png</texturefocus>
					<texturenofocus>osd/buttons/OSDChannelListNF.png</texturenofocus>
					<label />
					<width>100</width>
					<height>100</height>
					<font />
					<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>