<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">100</defaultcontrol>
	<onload condition="!MusicPlayer.Content(LiveTV)">SetFocus(602)</onload>
	<include>dialogeffect</include>
	<coordinates>
		<system>1</system>
		<left>0</left>
		<top>0</top>
	</coordinates>
	<controls>
		<control type="button" id="1000">
			<description>Close Window button</description>
			<left>84r</left>
			<top>0</top>
			<width>64</width>
			<height>32</height>
			<label>-</label>
			<font>-</font>
			<onclick>Dialog.Close(MusicOSD,true)</onclick>
			<onclick>FullScreen</onclick>
			<texturefocus>DialogCloseButton-focus.png</texturefocus>
			<texturenofocus>DialogCloseButton.png</texturenofocus>
			<onleft>1000</onleft>
			<onright>1000</onright>
			<onup>100</onup>
			<ondown>100</ondown>
			<animation effect="fade" time="150">VisibleChange</animation>
			<animation effect="slide" start="0,0" end="-30,0" time="0" condition="Window.IsVisible(Mutebug)">conditional</animation>
			<visible>![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide)]</visible>
		</control>
		<control type="slider" id="87">
			<description>Seek Slider</description>
			<left>430</left>
			<top>82r</top>
			<width>720</width>
			<height>16</height>
			<onup>702</onup>
			<ondown>26</ondown>
			<action>seek</action>
			<texturesliderbar>seekslider2.png</texturesliderbar>
			<textureslidernib>osd_slider_nibNF.png</textureslidernib>
			<textureslidernibfocus>osd_slider_nib.png</textureslidernibfocus>
			<animation effect="fade" time="150">VisibleChange</animation>
			<visible>![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide)]</visible>
		</control>
		<control type="grouplist" id="100">
			<left>325</left>
			<top>60r</top>
			<onup>1000</onup>
			<ondown>1000</ondown>
			<orientation>horizontal</orientation>
			<itemgap>0</itemgap>
			<animation effect="fade" time="150">VisibleChange</animation>
			<visible>![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide)]</visible>
			<control type="button" id="300">
				<width>55</width>
				<height>55</height>
				<label>210</label>
				<font>-</font>
				<texturefocus>OSDChannelUPFO.png</texturefocus>
				<texturenofocus>OSDChannelUPNF.png</texturenofocus>
				<onclick>PlayerControl(Previous)</onclick>
				<visible>MusicPlayer.Content(LiveTV)</visible>
			</control>
			<control type="button" id="301">
				<width>55</width>
				<height>55</height>
				<label>209</label>
				<font>-</font>
				<texturefocus>OSDChannelDownFO.png</texturefocus>
				<texturenofocus>OSDChannelDownNF.png</texturenofocus>
				<onclick>PlayerControl(Next)</onclick>
				<visible>MusicPlayer.Content(LiveTV)</visible>
			</control>
			<control type="button" id="600">
				<width>55</width>
				<height>55</height>
				<label>210</label>
				<font>-</font>
				<texturefocus>OSDPrevTrackFO.png</texturefocus>
				<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
				<onclick>PlayerControl(Previous)</onclick>
				<visible>!MusicPlayer.Content(LiveTV)</visible>
			</control>
			<control type="button" id="601">
				<width>55</width>
				<height>55</height>
				<label>31354</label>
				<font>-</font>
				<texturefocus>OSDRewindFO.png</texturefocus>
				<texturenofocus>OSDRewindNF.png</texturenofocus>
				<animation effect="fade" start="100" end="50" time="75" condition="!Player.SeekEnabled">Conditional</animation>
				<onclick>PlayerControl(Rewind)</onclick>
				<enable>Player.SeekEnabled</enable>
			</control>
			<control type="togglebutton" id="602">
				<width>55</width>
				<height>55</height>
				<label>31351</label>
				<altlabel>208</altlabel>
				<font>-</font>
				<texturefocus>OSDPauseFO.png</texturefocus>
				<texturenofocus>OSDPauseNF.png</texturenofocus>
				<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
				<alttexturefocus>OSDPlayFO.png</alttexturefocus>
				<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
				<animation effect="fade" start="100" end="50" time="75" condition="!Player.PauseEnabled">Conditional</animation>
				<onclick>PlayerControl(Play)</onclick>
				<enable>Player.PauseEnabled</enable>
			</control>
			<control type="button" id="603">
				<width>55</width>
				<height>55</height>
				<label>31352</label>
				<font>-</font>
				<texturefocus>OSDStopFO.png</texturefocus>
				<texturenofocus>OSDStopNF.png</texturenofocus>
				<onclick>PlayerControl(Stop)</onclick>
			</control>
			<control type="button" id="604">
				<width>55</width>
				<height>55</height>
				<label>31353</label>
				<font>-</font>
				<texturefocus>OSDForwardFO.png</texturefocus>
				<texturenofocus>OSDForwardNF.png</texturenofocus>
				<animation effect="fade" start="100" end="50" time="75" condition="!Player.SeekEnabled">Conditional</animation>
				<onclick>PlayerControl(Forward)</onclick>
				<enable>Player.SeekEnabled</enable>
			</control>
			<control type="button" id="605">
				<width>55</width>
				<height>55</height>
				<label>209</label>
				<font>-</font>
				<texturefocus>OSDNextTrackFO.png</texturefocus>
				<texturenofocus>OSDNextTrackNF.png</texturenofocus>
				<visible>!MusicPlayer.Content(LiveTV)</visible>
				<onclick>PlayerControl(Next)</onclick>
			</control>
			<control type="button" id="306">
				<width>55</width>
				<height>55</height>
				<label>19019</label>
				<font>-</font>
				<texturefocus>OSDChannelListFO.png</texturefocus>
				<texturenofocus>OSDChannelListNF.png</texturenofocus>
				<onclick>ActivateWindow(PVROSDChannels)</onclick>
				<visible>MusicPlayer.Content(LiveTV)</visible>
			</control>
			<control type="button" id="307">
				<width>55</width>
				<height>55</height>
				<label>$LOCALIZE[19029]$INFO[MusicPlayer.ChannelName, - ]</label>
				<font>-</font>
				<texturefocus>OSDepgFO.png</texturefocus>
				<texturenofocus>OSDepgNF.png</texturenofocus>
				<onclick>ActivateWindow(PVROSDGuide)</onclick>
				<visible>MusicPlayer.Content(LiveTV)</visible>
			</control>
			<control type="group" id="699">
				<width>55</width>
				<height>55</height>
				<visible>!MusicPlayer.Content(LiveTV)</visible>
				<control type="button" id="606">
					<left>0</left>
					<top>0</top>
					<width>55</width>
					<height>55</height>
					<label>$LOCALIZE[486]$INFO[Playlist.Repeat, : ]</label>
					<font>-</font>
					<texturefocus>-</texturefocus>
					<texturenofocus>-</texturenofocus>
					<onleft>605</onleft>
					<onright>607</onright>
					<onup>1000</onup>
					<ondown>1000</ondown>
					<onclick>PlayerControl(Repeat)</onclick>
				</control>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>55</width>
					<height>55</height>
					<texture>OSDRepeatNF.png</texture>
					<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
					<visible>!Control.HasFocus(606)</visible>
				</control>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>55</width>
					<height>55</height>
					<texture>OSDRepeatFO.png</texture>
					<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
					<visible>Control.HasFocus(606)</visible>
				</control>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>55</width>
					<height>55</height>
					<texture>OSDRepeatOneNF.png</texture>
					<visible>Playlist.IsRepeatOne</visible>
					<visible>!Control.HasFocus(606)</visible>
				</control>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>55</width>
					<height>55</height>
					<texture>OSDRepeatOneFO.png</texture>
					<visible>Playlist.IsRepeatOne</visible>
					<visible>Control.HasFocus(606)</visible>
				</control>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>55</width>
					<height>55</height>
					<texture>OSDRepeatAllNF.png</texture>
					<visible>Playlist.IsRepeat</visible>
					<visible>!Control.HasFocus(606)</visible>
				</control>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>55</width>
					<height>55</height>
					<texture>OSDRepeatAllFO.png</texture>
					<visible>Playlist.IsRepeat</visible>
					<visible>Control.HasFocus(606)</visible>
				</control>
			</control>
			<control type="togglebutton" id="607">
				<width>55</width>
				<height>55</height>
				<label>$LOCALIZE[590]$INFO[Playlist.Random, : ]</label>
				<font>-</font>
				<texturefocus>OSDRandomOffFO.png</texturefocus>
				<texturenofocus>OSDRandomOffNF.png</texturenofocus>
				<usealttexture>Playlist.IsRandom</usealttexture>
				<alttexturefocus>OSDRandomOnFO.png</alttexturefocus>
				<alttexturenofocus>OSDRandomOnNF.png</alttexturenofocus>
				<visible>!MusicPlayer.Content(LiveTV)</visible>
				<onclick>PlayerControl(Random)</onclick>
			</control>
			<control type="image" id="2300">
				<width>215</width>
				<height>55</height>
				<texture>-</texture>
				<visible>!MusicPlayer.Content(LiveTV)</visible>
			</control>
			<control type="image" id="2400">
				<width>270</width>
				<texture>-</texture>
				<visible>MusicPlayer.Content(LiveTV)</visible>
			</control>
			<control type="togglebutton" id="701">
				<width>55</width>
				<height>55</height>
				<label>31128</label>
				<font>-</font>
				<texturefocus>OSDLyricsFO.png</texturefocus>
				<texturenofocus>OSDLyricsNF.png</texturenofocus>
				<alttexturefocus>OSDLyricsFO.png</alttexturefocus>
				<alttexturenofocus>OSDLyricsNF.png</alttexturenofocus>
				<onclick>Close</onclick>
				<onclick>RunScript($INFO[Skin.String(LyricScript_Path)])</onclick>
				<altclick>Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</altclick>
				<altclick>Close</altclick>
				<altclick>RunScript($INFO[Skin.String(LyricScript_Path)])</altclick>
				<usealttexture>IsEmpty(Skin.String(LyricScript_Path))</usealttexture>
				<visible>!MusicPlayer.Content(LiveTV)</visible>
			</control>
			<control type="button" id="500">
				<width>55</width>
				<height>55</height>
				<label>12006</label>
				<font>-</font>
				<texturefocus>OSDVizFO.png</texturefocus>
				<texturenofocus>OSDVizNF.png</texturenofocus>
			</control>
			<control type="button" id="702">
				<width>55</width>
				<height>55</height>
				<label>$LOCALIZE[250] $LOCALIZE[21417]</label>
				<font>-</font>
				<texturefocus>OSDPresetSettingsFO.png</texturefocus>
				<texturenofocus>OSDPresetSettingsNF.png</texturenofocus>
				<onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
			</control>
			<control type="button" id="703">
				<width>55</width>
				<height>55</height>
				<label>31048</label>
				<font>-</font>
				<texturefocus>OSDPreFO.png</texturefocus>
				<texturenofocus>OSDPreNF.png</texturenofocus>
				<onclick>ActivateWindow(122)</onclick>
			</control>
			<control type="button" id="704">
				<width>55</width>
				<height>55</height>
				<label>264</label>
				<font>-</font>
				<texturefocus>OSDRecordOffFO.png</texturefocus>
				<texturenofocus>OSDRecordOffNF.png</texturenofocus>
				<onclick>PlayerControl(record)</onclick>
				<enable>Player.CanRecord</enable>
				<animation effect="fade" start="100" end="50" time="75" condition="!Player.CanRecord">Conditional</animation>
			</control>
		</control>
	</controls>
</window>
