<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol>-</defaultcontrol>
	<controls>
		<control type="visualisation" id="2">
			<!-- FIX ME Music Visualization needs to have an id of 2 in this window to be able to lock or change preset -->
			<description>visualisation</description>
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
		</control>
		<control type="image">
			<description>Fanart Image for Artist</description>
			<left>0</left>
			<top>0</top>
			<width>1280</width>
			<height>720</height>
			<aspectratio>scale</aspectratio>
			<texture background="true">$INFO[Player.Art(fanart)]</texture>
			<colordiffuse>AAFFFFFF</colordiffuse>
			<visible>!IsEmpty(Player.Art(fanart)) + !Skin.HasSetting(HideVisualizationFanart)</visible>
			<fadetime>600</fadetime>
		</control>
		<!-- media infos -->
		<control type="group">
			<depth>DepthOSD</depth>
			<animation effect="fade" time="150">VisibleChange</animation>
			<visible>[Player.ShowInfo | Window.IsActive(MusicOSD)] + ![Window.IsVisible(AddonSettings) | Window.IsVisible(SelectDialog) | Window.IsVisible(VisualisationPresetList) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide) | Window.IsVisible(PVRRadioRDSInfo) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(Addon)]</visible>
			<control type="image">
				<left>-20</left>
				<top>-150</top>
				<width>1320</width>
				<height>256</height>
				<texture flipy="true" border="1">HomeNowPlayingBack.png</texture>
			</control>
			<control type="label">
				<description>Partymode Header label</description>
				<left>30</left>
				<top>5</top>
				<width>800</width>
				<height>25</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font13</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<label>$LOCALIZE[589]</label>
				<visible>MusicPartyMode.Enabled</visible>
			</control>
			<control type="label">
				<description>Normal Header label</description>
				<left>30</left>
				<top>5</top>
				<width>800</width>
				<height>25</height>
				<align>left</align>
				<aligny>center</aligny>
				<font>font13</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<label>$INFO[musicplayer.Playlistposition,$LOCALIZE[554]: ]$INFO[musicplayer.Playlistlength, / ]</label>
				<visible>!MusicPartyMode.Enabled</visible>
			</control>
			<control type="label">
				<description>Clock label</description>
				<left>450</left>
				<top>5</top>
				<width>800</width>
				<height>25</height>
				<align>right</align>
				<aligny>center</aligny>
				<font>font13</font>
				<textcolor>white</textcolor>
				<shadowcolor>black</shadowcolor>
				<label>$INFO[System.Time]</label>
				<animation effect="slide" start="0,0" end="-30,0" time="0" condition="Window.IsVisible(Mutebug)">conditional</animation>
				<animation effect="slide" start="0,0" end="-70,0" time="0" condition="Window.IsVisible(MusicOSD)">conditional</animation>
			</control>
			<control type="image">
				<left>-20</left>
				<top>230r</top>
				<width>1320</width>
				<height>230</height>
				<texture border="1">HomeNowPlayingBack.png</texture>
			</control>
			<control type="image">
				<depth>DepthOSDPopout</depth>
				<description>cover image</description>
				<left>20</left>
				<top>250r</top>
				<width>300</width>
				<height>230</height>
				<texture fallback="DefaultAlbumCover.png">$INFO[Player.Art(thumb)]</texture>
				<aspectratio aligny="bottom">keep</aspectratio>
				<bordertexture border="8">ThumbShadow.png</bordertexture>
				<bordersize>8</bordersize>
			</control>
			<control type="group">
				<left>330</left>
				<top>185r</top>
				<control type="label" id="1">
					<description>Heading label</description>
					<left>0</left>
					<top>0</top>
					<width>910</width>
					<height>25</height>
					<align>left</align>
					<font>font13</font>
					<label>$LOCALIZE[31040]</label>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
					<animation effect="slide" start="0,0" end="0,25" time="0" condition="IsEmpty(MusicPlayer.Artist) + IsEmpty(MusicPlayer.Album)">conditional</animation>
				</control>
				<control type="label" id="1">
					<description>Artist label</description>
					<left>20</left>
					<top>30</top>
					<width>910</width>
					<height>25</height>
					<align>left</align>
					<font>font12</font>
					<label>$INFO[MusicPlayer.Artist]$INFO[MusicPlayer.Album, - ]</label>
					<textcolor>grey2</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="grouplist">
					<left>20</left>
					<top>60</top>
					<width>910</width>
					<height>35</height>
					<itemgap>5</itemgap>
					<orientation>horizontal</orientation>
					<visible>!system.getbool(audiooutput.dspaddonsenabled)</visible>
					<control type="label">
						<width min="10" max="700">auto</width>
						<height>30</height>
						<font>font30</font>
						<align>left</align>
						<aligny>center</aligny>
						<label>$INFO[Player.Title]</label>
						<textcolor>orange</textcolor>
						<scroll>true</scroll>
					</control>
					<control type="image">
						<description>Audio Codec Image</description>
						<width>80</width>
						<height>35</height>
						<aspectratio align="right">keep</aspectratio>
						<texture>$INFO[MusicPlayer.Codec,flagging/audio/,.png]</texture>
						<visible>!Player.ChannelPreviewActive</visible>
					</control>
					<control type="group">
						<description>Rating</description>
						<width>110</width>
						<height>35</height>
						<control type="image">
							<description>rating back</description>
							<left>0</left>
							<top>0</top>
							<width>110</width>
							<height>35</height>
							<aspectratio align="left">stretch</aspectratio>
							<texture border="5">flagging/blank.png</texture>
						</control>
						<control type="image">
							<description>Rating</description>
							<left>5</left>
							<top>0</top>
							<width>100</width>
							<height>35</height>
							<aspectratio align="center">keep</aspectratio>
							<texture fallback="LeftRating/rating0.png">$INFO[Player.StarRating,LeftRating/]</texture>
						</control>
					</control>
				</control>
				<control type="grouplist">
					<left>20</left>
					<top>60</top>
					<width>910</width>
					<height>35</height>
					<itemgap>5</itemgap>
					<orientation>horizontal</orientation>
					<visible>system.getbool(audiooutput.dspaddonsenabled)</visible>
					<control type="label">
						<width min="10" max="620">auto</width>
						<height>30</height>
						<font>font30</font>
						<align>left</align>
						<aligny>center</aligny>
						<label>$INFO[Player.Title]</label>
						<textcolor>orange</textcolor>
						<scroll>true</scroll>
					</control>
					<control type="image">
						<description>ADSP Master Mode Image</description>
						<width>80</width>
						<height>35</height>
						<aspectratio align="right">keep</aspectratio>
						<visible>![IsEmpty(ADSP.MasterOwnIcon) | Player.ChannelPreviewActive]</visible>
						<texture>$INFO[ADSP.MasterOwnIcon]</texture>
					</control>
					<control type="image">
						<description>Audio Codec Image</description>
						<width>80</width>
						<height>35</height>
						<aspectratio align="center">keep</aspectratio>
						<visible>IsEmpty(ADSP.MasterOverrideIcon) + !Player.ChannelPreviewActive</visible>
						<texture>$INFO[MusicPlayer.Codec,flagging/audio/,.png]</texture>
					</control>
					<control type="image">
						<description>ADSP Audio Codec Override Image</description>
						<width>80</width>
						<height>35</height>
						<aspectratio align="center">keep</aspectratio>
						<visible>![IsEmpty(ADSP.MasterOwnIcon) | Player.ChannelPreviewActive]</visible>
						<texture>$INFO[ADSP.MasterOverrideIcon]</texture>
					</control>
					<control type="group">
						<description>Rating</description>
						<width>110</width>
						<height>35</height>
						<control type="image">
							<description>rating back</description>
							<left>0</left>
							<top>0</top>
							<width>110</width>
							<height>35</height>
							<aspectratio align="left">stretch</aspectratio>
							<texture border="5">flagging/blank.png</texture>
						</control>
						<control type="image">
							<description>Rating</description>
							<left>5</left>
							<top>0</top>
							<width>100</width>
							<height>35</height>
							<aspectratio align="center">keep</aspectratio>
							<texture fallback="LeftRating/rating0.png">$INFO[Player.StarRating,LeftRating/]</texture>
						</control>
					</control>
				</control>
				<control type="label">
					<left>0</left>
					<top>120</top>
					<width>910</width>
					<height>25</height>
					<label>$LOCALIZE[19031]: $INFO[MusicPlayer.offset(1).Artist,, - ]$INFO[MusicPlayer.offset(1).Title]</label>
					<align>center</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey</textcolor>
					<scroll>true</scroll>
					<visible>MusicPlayer.HasNext + !Window.IsVisible(MusicOSD)</visible>
					<animation effect="fade" time="150">VisibleChange</animation>
				</control>
			</control>
			<control type="group">
				<left>330</left>
				<top>95r</top>
				<control type="label">
					<left>0</left>
					<top>0</top>
					<width>100</width>
					<height>40</height>
					<font>font13</font>
					<align>left</align>
					<aligny>center</aligny>
					<label>$INFO[Player.Time(hh:mm:ss)]</label>
				</control>
				<control type="progress">
					<description>Progressbar</description>
					<left>100</left>
					<top>15</top>
					<width>720</width>
					<height>16</height>
					<info>Player.Progress</info>
				</control>
				<control type="label">
					<left>820</left>
					<top>0</top>
					<width>100</width>
					<height>40</height>
					<font>font13</font>
					<align>right</align>
					<aligny>center</aligny>
					<label>$INFO[Player.Duration(hh:mm:ss)]</label>
				</control>
			</control>
		</control>
		<!-- codec & viz infos -->
		<control type="group" id="0">
			<depth>DepthOSD+</depth>
			<left>0</left>
			<top>50</top>
			<visible>Player.ShowCodec + ![Window.IsVisible(script-cu-lrclyrics-main.xml) | Window.IsVisible(VisualisationSettings) | Window.IsVisible(VisualisationPresetList) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide) | Window.IsVisible(PVRRadioRDSInfo) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(Addon)]</visible>
			<animation effect="fade" time="150">VisibleChange</animation>
			<control type="image">
				<description>media info background image</description>
				<left>0</left>
				<top>0</top>
				<width>1280</width>
				<height>105</height>
				<colordiffuse>AAFFFFFF</colordiffuse>
				<texture>black-back.png</texture>
			</control>
			<control type="label">
				<description>row 1 label</description>
				<left>50</left>
				<top>10</top>
				<label>-</label>
				<align>left</align>
				<label>$INFO[musicplayer.Codec,$LOCALIZE[21446]: ,]$INFO[musicplayer.Bitrate, · $LOCALIZE[623]: ,kbps]$INFO[musicplayer.bitspersample, · $LOCALIZE[612]: ,]$INFO[musicplayer.Samplerate, · $LOCALIZE[613]: ,kHz]$INFO[musicplayer.Channels, · $LOCALIZE[21444]: ]</label>
				<font>font12</font>
			</control>
			<control type="label">
				<description>row 2 label</description>
				<left>50</left>
				<top>40</top>
				<label>-</label>
				<align>left</align>
				<label>$INFO[Visualisation.Name,, [I][COLOR=orange]($LOCALIZE[20166])[/COLOR][/I] · ]fps: $INFO[System.FPS]</label>
				<font>font12</font>
				<visible>Visualisation.Locked</visible>
			</control>
			<control type="label">
				<description>Unlocked row 2 label</description>
				<left>50</left>
				<top>40</top>
				<label>-</label>
				<align>left</align>
				<label>$INFO[Visualisation.Name,, · ]fps: $INFO[System.FPS]</label>
				<font>font12</font>
				<visible>!Visualisation.Locked</visible>
			</control>
			<control type="label">
				<description>row 3 label</description>
				<left>50</left>
				<top>70</top>
				<label>-</label>
				<align>left</align>
				<label>$INFO[Visualisation.Preset,$LOCALIZE[13388]: ]</label>
				<font>font12</font>
			</control>
			<control type="group">
				<visible>Player.ShowCodec + MusicPlayer.Content(LiveTV) + system.getbool(pvrplayback.signalquality)</visible>
				<top>185</top>
				<control type="image">
					<description>media info background image</description>
					<left>0</left>
					<top>0</top>
					<width>1280</width>
					<height>220</height>
					<texture>black-back.png</texture>
				</control>
				<control type="label">
					<description>Header</description>
					<left>50</left>
					<top>5</top>
					<width>1200</width>
					<height>25</height>
					<label>$LOCALIZE[19005]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font13_title</font>
					<textcolor>blue</textcolor>
				</control>
				<control type="label">
					<description>Backend</description>
					<left>50</left>
					<top>40</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19012]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>Backend value</description>
					<left>220</left>
					<top>40</top>
					<width>1000</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamClient]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>Device</description>
					<left>50</left>
					<top>65</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19006]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>Device value</description>
					<left>220</left>
					<top>65</top>
					<width>1000</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamDevice]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>Status</description>
					<left>50</left>
					<top>90</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19007]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>Status value</description>
					<left>220</left>
					<top>90</top>
					<width>1000</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamStatus]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>Signal</description>
					<left>50</left>
					<top>115</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19008]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="progress">
					<description>Progressbar</description>
					<left>220</left>
					<top>122</top>
					<width>910</width>
					<height>14</height>
					<info>PVR.ActStreamProgrSignal</info>
				</control>
				<control type="label">
					<description>Signal value</description>
					<left>1200</left>
					<top>115</top>
					<width>180</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamSignal]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>SNR</description>
					<left>50</left>
					<top>140</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19009]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="progress">
					<description>Progressbar</description>
					<left>220</left>
					<top>147</top>
					<width>910</width>
					<height>14</height>
					<overlaytexture>-</overlaytexture>
					<info>PVR.ActStreamProgrSNR</info>
				</control>
				<control type="label">
					<description>SNR value</description>
					<left>1200</left>
					<top>140</top>
					<width>180</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamSNR]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>BER</description>
					<left>50</left>
					<top>165</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19010]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>BER value</description>
					<left>220</left>
					<top>165</top>
					<width>165</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamBER]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>UNC</description>
					<left>390</left>
					<top>165</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19011]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>UNC value</description>
					<left>560</left>
					<top>165</top>
					<width>165</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamUNC]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>Service</description>
					<left>730</left>
					<top>165</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19099]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>Service value</description>
					<left>900</left>
					<top>165</top>
					<width>330</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamServiceName]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>Encryption</description>
					<left>50</left>
					<top>190</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19015]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>Encryption value</description>
					<left>220</left>
					<top>190</top>
					<width>165</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamEncryptionName]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>Provider</description>
					<left>390</left>
					<top>190</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19101]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>Provider value</description>
					<left>560</left>
					<top>190</top>
					<width>165</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamProviderName]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
				<control type="label">
					<description>Mux</description>
					<left>730</left>
					<top>190</top>
					<width>165</width>
					<height>25</height>
					<label>$LOCALIZE[19100]:</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>grey2</textcolor>
				</control>
				<control type="label">
					<description>Mux value</description>
					<left>900</left>
					<top>190</top>
					<width>330</width>
					<height>25</height>
					<label>$INFO[PVR.ActStreamMux]</label>
					<align>left</align>
					<aligny>center</aligny>
					<font>font12</font>
					<textcolor>white</textcolor>
				</control>
			</control>
		</control>
	</controls>
</window>
