<?xml version="1.0" encoding="utf-8"?>
<window>
	<onload>Dialog.Close(fullscreeninfo)</onload>
	<defaultcontrol always="true">603</defaultcontrol>
	<include>PropertyIncludes</include>
	<controls>
		<!--Bottom-->
		<control type="group" id="1">
			<bottom>0</bottom>
			<control type="grouplist" id="600">
				<orientation>horizontal</orientation>
				<height>50</height>
				<bottom>20</bottom>
				<left>298</left>
				<right>20</right>
				<itemgap>5</itemgap>
				<control type="button" id="601">
					<include content="PlayerButtons">
						<param name="type" value="previous"/>
					</include>
					<onclick>PlayerControl(Previous)</onclick>
					<visible>MusicPlayer.HasPrevious</visible>
				</control>
				<control type="button" id="602">
					<include content="PlayerButtons">
						<param name="type" value="rewind"/>
					</include>
					<onclick>PlayerControl(Rewind)</onclick>
				</control>
				<control type="togglebutton" id="603">
					<include content="PlayerButtons">
						<param name="type" value="play"/>
						<param name="alt" value="pause"/>
					</include>
					<selected>!Player.Paused + !Player.Forwarding + !Player.Rewinding + !Player.Seeking</selected>
					<onclick condition="Player.Paused">close</onclick>
					<onclick>PlayerControl(Play)</onclick>
				</control>
				<control type="button" id="604">
					<include content="PlayerButtons">
						<param name="type" value="stop"/>
					</include>
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="button" id="605">
					<include content="PlayerButtons">
						<param name="type" value="forward"/>
					</include>
					<onclick>PlayerControl(Forward)</onclick>
				</control>
				<control type="button" id="606">
					<include content="PlayerButtons">
						<param name="type" value="next"/>
					</include>
					<onclick>PlayerControl(Next)</onclick>
					<visible>MusicPlayer.HasNext</visible>
				</control>
				<control type="label" id="608">
					<description>Spacer</description>
					<width>10</width>
				</control>
				<control type="button" id="609">
					<include content="PlayerButtons">
						<param name="type" value="shuffle"/>
						<param name="colordiffuse" value="$VAR[PlayerButtonRandomColor]"/>
					</include>
					<onclick>PlayerControl(random)</onclick>
					<visible>Integer.IsGreater(Playlist.Length(music),1)</visible>
				</control>
				<control type="togglebutton" id="610">
					<include content="PlayerButtons">
						<param name="type" value="repeat"/>
						<param name="alt" value="repeat1"/>
						<param name="colordiffuse" value="$VAR[PlayerButtonRepeatColor]"/>
					</include>
					<onclick>PlayerControl(Repeat)</onclick>
					<selected>Playlist.IsRepeatOne</selected>
				</control>
				<control type="label" id="611">
					<description>Spacer</description>
					<width>10</width>
				</control>
				<control type="button" id="612">
					<include content="PlayerButtons">
						<param name="type" value="playlist"/>
					</include>
					<onclick>Dialog.Close(all,true)</onclick>
					<onclick condition="Integer.IsGreater(Playlist.Length(video),1) + !Integer.IsGreater(Playlist.Length(music),1)">ActivateWindow(videoplaylist)</onclick>
					<onclick condition="!Integer.IsGreater(Playlist.Length(video),1) + Integer.IsGreater(Playlist.Length(music),1)">ActivateWindow(musicplaylist)</onclick>
					<visible>Integer.IsGreater(Playlist.Length(music),1) | Integer.IsGreater(Playlist.Lenght(video),1)</visible>
				</control>
				<control type="button" id="613">
					<include content="PlayerButtons">
						<param name="type" value="config"/>
					</include>
					<onclick>SetFocus(700)</onclick>
				</control>
				<control type="label">
					<description>Spacer</description>
					<width>10</width>
				</control>
				<include>PlayerBottomLabels</include>
			</control>
		</control>
		<!-- Diffuse -->
		<include content="DiffuseMask">
			<param name="visible">ControlGroup(700).HasFocus</param>
		</include>
		<!-- Menu -->
		<control type="group">
			<visible>ControlGroup(700).HasFocus + !Window.IsVisible(DialogSettings.xml) + !Window.IsVisible(playerprocessinfo) + !Window.IsVisible(visualisationpresetlist)</visible>
			<include>Visible_PopupOpenClose</include>
			<centerleft>50%</centerleft>
			<width>500</width>
			<centertop>50%</centertop>
			<height>982</height>
			<control type="grouplist" id="700">
				<orientation>vertical</orientation>
				<height>auto</height>
				<align>center</align>
				<itemgap>0</itemgap>
				<onright>613</onright>
				<onleft>613</onleft>
				<onback>613</onback>
				<usecontrolcoords>true</usecontrolcoords>
				<control type="image">
					<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="701">
					<include content="ContextButton"/>
					<label>$LOCALIZE[31039]</label>
					<onclick>ActivateWindow(osdaudiosettings)</onclick>
				</control>
				<control type="radiobutton" id="500">
					<include content="ContextButton"/>
					<label>$LOCALIZE[250]</label>
					<selected>Visualisation.Enabled</selected>
				</control>
				<control type="button" id="702">
					<include content="ContextButton"/>
					<label>$LOCALIZE[31054]</label>
					<onclick>ActivateWindow(visualisationpresetlist)</onclick>
					<visible>Visualisation.Enabled + Visualisation.HasPresets</visible>
				</control>
				<control type="button" id="703">
					<include content="ContextButton"/>
					<label>$LOCALIZE[31055]</label>
					<onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
					<visible>Visualisation.Enabled</visible>
				</control>
				<control type="radiobutton" id="704">
					<include content="ContextButton"/>
					<label>$LOCALIZE[20445]</label>
					<selected>!Skin.HasSetting(VisFanartDisabled)</selected>
					<onclick>Skin.ToggleSetting(VisFanartDisabled)</onclick>
				</control>
				<control type="radiobutton" id="705">
					<textcolor>$VAR[AccentColor]</textcolor>
					<texturenofocus border="65,10,65,10" colordiffuse="context_subitem">dialogs/context/middle.png</texturenofocus>
					<include content="ContextButton"/>
					<label>• $LOCALIZE[31056]</label>
					<selected>Skin.HasSetting(VisRandomFanart)</selected>
					<onclick>Skin.ToggleSetting(VisRandomFanart)</onclick>
					<visible>!Skin.HasSetting(VisFanartDisabled) + System.HasAddon(script.artistslideshow)</visible>
				</control>
				<control type="radiobutton" id="706">
					<textcolor>$VAR[AccentColor]</textcolor>
					<texturenofocus border="65,10,65,10" colordiffuse="context_subitem">dialogs/context/middle.png</texturenofocus>
					<include content="ContextButton"/>
					<label>• $LOCALIZE[31339]</label>
					<selected>!Skin.HasSetting(VisAnimationDisabled)</selected>
					<onclick>Skin.ToggleSetting(VisAnimationDisabled)</onclick>
					<visible>!Skin.HasSetting(VisFanartDisabled)</visible>
				</control>
				<control type="radiobutton" id="707">
					<include content="ContextButton"/>
					<label>$LOCALIZE[31177]</label>
					<selected>!Skin.HasSetting(HideDiscArt)</selected>
					<onclick>Skin.ToggleSetting(HideDiscArt)</onclick>
				</control>
				<control type="button" id="708">
					<include content="ContextButton"/>
					<label>$LOCALIZE[31041]</label>
					<onclick>ActivateWindow(playerprocessinfo)</onclick>
				</control>
				<control type="image">
					<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>
