<window type="dialog" id="114">
	<defaultcontrol always="true">603</defaultcontrol>
	<include>dialogeffect</include>
	<visible>Player.HasMedia + Window.IsActive(PlayerControls) + !Window.IsActive(FullscreenVideo) + !Window.IsActive(Visualisation)</visible>
	<coordinates>
		<system>1</system>
		<posx>390</posx>
		<posy>250</posy>
	</coordinates>
	<controls>
		<control type="image">
			<posx>5</posx>
			<posy>156</posy>
			<width>483</width>
			<height>53</height>
			<texture flipy="true" border="20,20,20,2">InfoMessagePanel.png</texture>
		</control>
		<control type="group" id="100">
			<posx>25</posx>
			<posy>162</posy>
			<control type="button" id="600">
				<posx>0</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>OSDPrevTrackFO.png</texturefocus>
				<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
				<onleft>608</onleft>
				<onright>601</onright>
				<onup>300</onup>
				<ondown>200</ondown>
				<onclick>XBMC.PlayerControl(Previous)</onclick>
			</control>
			<control type="button" id="601">
				<posx>40</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>OSDRewindFO.png</texturefocus>
				<texturenofocus>OSDRewindNF.png</texturenofocus>
				<onleft>600</onleft>
				<onright>603</onright>
				<onup>300</onup>
				<ondown>200</ondown>
				<onclick>XBMC.PlayerControl(Rewind)</onclick>
			</control>
			<control type="togglebutton" id="603">
				<posx>80</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>OSDPauseFO.png</texturefocus>
				<texturenofocus>OSDPauseNF.png</texturenofocus>
				<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
				<alttexturefocus>OSDPlayFO.png</alttexturefocus>
				<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
				<onleft>601</onleft> 
                <onright>602</onright> 
 	            <onup>300</onup> 
                <ondown>200</ondown> 
                <onclick>XBMC.PlayerControl(Play)</onclick> 
 	        </control> 
            <control type="button" id="602"> 
                <posx>120</posx> 
 	            <posy>0</posy> 
                <width>40</width> 
                <height>40</height> 
                <label>-</label> 
                <texturefocus>OSDStopFO.png</texturefocus> 
                <texturenofocus>OSDStopNF.png</texturenofocus> 
                <onleft>603</onleft> 
				<onright>604</onright>
				<onup>300</onup>
				<ondown>200</ondown>
				<onclick>down</onclick> 
 		        <onclick>XBMC.PlayerControl(Stop)</onclick>
			</control>
			<control type="button" id="604">
				<posx>160</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>OSDForwardFO.png</texturefocus>
				<texturenofocus>OSDForwardNF.png</texturenofocus>
				<onleft>602</onleft>
				<onright>605</onright>
				<onup>300</onup>
				<ondown>200</ondown>
				<onclick>XBMC.PlayerControl(Forward)</onclick>
			</control>
			<control type="button" id="605">
				<posx>200</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>OSDNextTrackFO.png</texturefocus>
				<texturenofocus>OSDNextTrackNF.png</texturenofocus>
				<onleft>604</onleft>
				<onright>606</onright>
				<onup>300</onup>
				<ondown>200</ondown>
				<onclick>XBMC.PlayerControl(Next)</onclick>
			</control>
			<control type="button" id="606">
				<posx>240</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>OSDPlaylistFO.png</texturefocus>
				<texturenofocus>OSDPlaylistNF.png</texturenofocus>
				<onleft>605</onleft>
				<onright>607</onright>
				<onup>300</onup>
				<ondown>200</ondown>
				<onclick>Dialog.Close(114)</onclick>
				<onclick>ActivateWindow(VideoPlaylist)</onclick>
				<visible>Player.HasVideo</visible>
			</control>
			<control type="button" id="606">
				<posx>240</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>OSDPlaylistFO.png</texturefocus>
				<texturenofocus>OSDPlaylistNF.png</texturenofocus>
				<onleft>605</onleft>
				<onright>607</onright>
				<onup>300</onup>
				<ondown>200</ondown>
				<onclick>Dialog.Close(114)</onclick>
				<onclick>ActivateWindow(MusicPlaylist)</onclick>
				<visible>Player.HasAudio</visible>
			</control>
			<control type="button" id="607">
				<posx>365</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>-</texturefocus>
				<texturenofocus>-</texturenofocus>
				<onclick>XBMC.PlayerControl(Repeat)</onclick>
				<onleft>606</onleft>
				<onright>608</onright>
				<onup>100</onup>
				<ondown>100</ondown>
			</control>
			<control type="image">
				<posx>365</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<texture>OSDRepeatNF.png</texture>
				<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
				<visible>!Control.HasFocus(607)</visible>
			</control>
			<control type="image">
				<posx>365</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<texture>OSDRepeatFO.png</texture>
				<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
				<visible>Control.HasFocus(607)</visible>
			</control>
			<control type="image">
				<posx>365</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<texture>OSDRepeatOneNF.png</texture>
				<visible>Playlist.IsRepeatOne</visible>
				<visible>!Control.HasFocus(607)</visible>
			</control>
			<control type="image">
				<posx>365</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<texture>OSDRepeatOneFO.png</texture>
				<visible>Playlist.IsRepeatOne</visible>
				<visible>Control.HasFocus(607)</visible>
			</control>
			<control type="image">
				<posx>365</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<texture>OSDRepeatAllNF.png</texture>
				<visible>Playlist.IsRepeat</visible>
				<visible>!Control.HasFocus(607)</visible>
			</control>
			<control type="image">
				<posx>365</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<texture>OSDRepeatAllFO.png</texture>
				<visible>Playlist.IsRepeat</visible>
				<visible>Control.HasFocus(607)</visible>
			</control>
			<control type="togglebutton" id="608">
				<posx>405</posx>
				<posy>0</posy>
				<width>40</width>
				<height>40</height>
				<label>-</label>
				<texturefocus>OSDRandomOffFO.png</texturefocus>
				<texturenofocus>OSDRandomOffNF.png</texturenofocus>
				<usealttexture>Playlist.IsRandom</usealttexture>
				<alttexturefocus>OSDRandomOnFO.png</alttexturefocus>
				<alttexturenofocus>OSDRandomOnNF.png</alttexturenofocus>
				<onclick>XBMC.PlayerControl(Random)</onclick>
				<onleft>607</onleft>
				<onright>600</onright>
				<onup>100</onup>
				<ondown>100</ondown>
			</control>
		</control>
		<!-- Music Info -->
		<control type="image">
			<description>gradient</description>
			<posx>0</posx>
			<posy>0</posy>
			<width>500</width>
			<height>165</height>
			<colordiffuse>CCFFFFFF</colordiffuse>
			<visible>Window.IsVisible(home)</visible>
			<texture border="20">OverlayDialogBackground.png</texture>
		</control>
		<control type="group">
			<visible>Player.HasAudio</visible>
			<include>SmallMusicInfo</include>
		</control>
		<!-- Video Info -->
		<control type="group">
			<visible>Player.HasVideo</visible>
			<include>SmallVideoInfo</include>
		</control>
	</controls>
</window>