<window id="120">
	<defaultcontrol always="true">103</defaultcontrol>
	<coordinates>
		<system>1</system>
		<posx>0</posx>
		<posy>0</posy>
	</coordinates>
	<controls>
	
	  <control type="group">
			<visible>Player.HasAudio</visible>
			<visible>!Window.IsVisible(AddonSettings) + !Window.IsVisible(SelectDialog) + !Window.IsVisible(VisualisationPresetList) + !Window.IsVisible(script-XBMC_Lyrics-main.xml) + !Window.IsVisible(1112) + !Window.IsActive(ShutdownMenu)</visible>
	    <animation type="WindowOpen" reversible="false">
	        <effect type="slide" start="150,0" end="0,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="0" end="100" time="450" delay="0" tween="sine" easing="out" />
	    </animation>
	    <animation type="WindowClose" reversible="false">
	        <effect type="slide" start="0,0" end="200,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="100" end="0" time="450" delay="0" tween="sine" easing="out" />
	    </animation>
	    <animation type="Visible" reversible="false">
	        <effect type="slide" start="150,0" end="0,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="0" end="100" time="450" delay="0" tween="sine" easing="out" />
	    </animation>
	    <animation type="Hidden" reversible="false">
	        <effect type="slide" start="0,0" end="200,0" time="450" delay="0" tween="sine" easing="out" />
	        <effect type="fade" start="100" end="0" time="450" delay="0" tween="sine" easing="out" />
	    </animation>
			<control type="grouplist" id="100">
				<posx>370r</posx>
				<posy>170r</posy>
				<width>360</width>
				<height>55</height>
				<itemgap>-10</itemgap>
				<onleft>100</onleft>
				<onright>100</onright>
				<onup>1000</onup>
				<ondown>1000</ondown>
				<align>right</align>
		    <orientation>horizontal</orientation>
				<control type="button" id="101">
					<width>55</width>
					<height>55</height>
					<label>-</label>
					<font>-</font>
					<texturefocus>osd/previous_fo.png</texturefocus>
					<texturenofocus>osd/previous_nf.png</texturenofocus>
					<onclick>PlayerControl(Previous)</onclick>
				</control>
				<control type="button" id="102">
					<width>55</width>
					<height>55</height>
					<label>-</label>
					<font>-</font>
					<texturefocus>osd/rw_fo.png</texturefocus>
					<texturenofocus>osd/rw_nf.png</texturenofocus>
					<onclick>PlayerControl(Rewind)</onclick>
				</control>
				<control type="togglebutton" id="103">
					<width>55</width>
					<height>55</height>
					<label>-</label>
					<altlabel>208</altlabel>
					<font>-</font>
					<texturefocus>osd/pause_fo.png</texturefocus>
					<texturenofocus>osd/pause_nf.png</texturenofocus>
					<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
					<alttexturefocus>osd/play_fo.png</alttexturefocus>
					<alttexturenofocus>osd/play_nf.png</alttexturenofocus>
					<onclick>PlayerControl(Play)</onclick>
				</control>
				<control type="button" id="104">
					<width>55</width>
					<height>55</height>
					<label>-</label>
					<font>-</font>
					<texturefocus>osd/stop_fo.png</texturefocus>
					<texturenofocus>osd/stop_nf.png</texturenofocus>
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="button" id="105">
					<width>55</width>
					<height>55</height>
					<label>-</label>
					<font>-</font>
					<texturefocus>osd/ff_fo.png</texturefocus>
					<texturenofocus>osd/ff_nf.png</texturenofocus>
					<onclick>PlayerControl(Forward)</onclick>
				</control>
				<control type="button" id="106">
					<width>55</width>
					<height>55</height>
					<label>-</label>
					<font>-</font>
					<texturefocus>osd/next_fo.png</texturefocus>
					<texturenofocus>osd/next_nf.png</texturenofocus>
					<onclick>PlayerControl(Next)</onclick>
				</control>
				<control type="button" id="107">
					<width>55</width>
					<height>55</height>
					<label>-</label>
					<font>-</font>
					<texturefocus>osd/rec_fo.png</texturefocus>
					<texturenofocus>osd/rec_nf.png</texturenofocus>
					<onclick>XBMC.PlayerControl(record)</onclick>
					<visible>Player.CanRecord</visible>
				</control>
			</control>			
	  </control>

	  <!-- ============================= -->
	  <!-- ==== OSD Options Buttons ==== -->
	  <!-- ============================= -->
	  <control type="group">
			<posx>45</posx>
			<posy>25</posy>
	    <include>OSDSlideAnimations</include>
	    <visible>Window.IsActive(MusicOSD)</visible>
		  <visible>Player.HasAudio + !Window.IsVisible(script-XBMC_Lyrics-main.xml) + !Window.IsActive(ShutdownMenu)</visible>
			<control type="grouplist" id="1000">
				<posx>0</posx>
				<posy>0</posy>
				<height>0</height>
				<width>0</width>
				<itemgap>0</itemgap>
				<onleft>1000</onleft>
				<onright>1000</onright>
				<onup>100</onup>
				<ondown>100</ondown>
				<align>left</align>
        <orientation>horizontal</orientation>
				<control type="button" id="1001">
					<description>Settings</description>
			    <include>TopButton</include>
			    <onclick>ActivateWindow(1112)</onclick>
				</control>
				<control type="radiobutton" id="1002">
					<description>Info</description>
				  <include>TopButton</include>
					<textureradiofocus>-</textureradiofocus>
					<textureradionofocus>-</textureradionofocus>
					<onclick>Skin.ToggleSetting(MusicInfoOSD)</onclick>
				</control>
				<control type="button" id="1003">
					<description>Repeat</description>
			    <include>TopButton</include>
				  <onclick>XBMC.PlayerControl(Repeat)</onclick>
				</control>
				<control type="togglebutton" id="1004">
					<description>Random</description>
			    <include>TopButton</include>
					<textureradiofocus>-</textureradiofocus>
					<textureradionofocus>-</textureradionofocus>
          <onclick>XBMC.PlayerControl(Random)</onclick>
				</control>
				<control type="togglebutton" id="1005">
					<description>Lyrics</description>
			    <include>TopButton</include>
          <onclick>XBMC.RunScript($INFO[Skin.String(LyricScript_Path)])</onclick>
          <altclick>Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</altclick>
          <altclick>XBMC.RunScript($INFO[Skin.String(LyricScript_Path)])</altclick>
          <usealttexture>IsEmpty(Skin.String(LyricScript_Path))</usealttexture>
				</control>
				<control type="button" id="1006">
					<description>Playlist</description>
			    <include>TopButton</include>
					<onclick>ActivateWindow(500)</onclick>
				</control>
			</control>
			<control type="grouplist">
				<posx>0</posx>
				<posy>0</posy>
				<height>70</height>
				<width>1190</width>
				<itemgap>20</itemgap>
				<align>left</align>
				<orientation>horizontal</orientation>
	      <include>OSDSlideAnimations</include>
				<control type="label">
				  <include>TopBigLabel</include>
				  <label>$LOCALIZE[33063]:</label>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[5]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1001)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1001)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[31023]: $LOCALIZE[591]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1002)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1002)" reversible="true">Conditional</animation>
          <visible>!Skin.HasSetting(MusicInfoOSD)</visible>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[31023]: $LOCALIZE[16041]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1002)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1002)" reversible="true">Conditional</animation>
          <visible>Skin.HasSetting(MusicInfoOSD)</visible>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[595]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1003)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1003)" reversible="true">Conditional</animation>
          <visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[596]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1003)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1003)" reversible="true">Conditional</animation>
          <visible>Playlist.IsRepeatOne</visible>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[597]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1003)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1003)" reversible="true">Conditional</animation>
          <visible>Playlist.IsRepeat</visible>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[590]: $LOCALIZE[591]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1004)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1004)" reversible="true">Conditional</animation>
          <visible>!Playlist.IsRandom</visible>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[590]: $LOCALIZE[16041]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1004)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1004)" reversible="true">Conditional</animation>
          <visible>Playlist.IsRandom</visible>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[24013]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1005)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1005)" reversible="true">Conditional</animation>
				</control>
				<control type="label">
				  <include>TopSmallLabel</include>
					<label>$LOCALIZE[559]</label>
					<animation effect="fade" start="100" end="70" time="200" tween="cubic" easing="in" condition="!Control.HasFocus(1006)" reversible="true">Conditional</animation>
          <animation effect="zoom"  start="100" end="90" time="200" tween="cubic" easing="in" center="auto" condition="!Control.HasFocus(1006)" reversible="true">Conditional</animation>
				</control>
			</control>
	  </control>	 

	</controls>
 </window>