<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<controls>
		<control type="group">
			<depth>DepthSideBlade</depth>
			<visible>!Window.IsVisible(FileBrowser)</visible>
			<animation effect="slide" start="1100,0" end="0,0" time="300" tween="quadratic" easing="out">WindowOpen</animation>
			<animation effect="slide" start="0,0" end="1100,0" time="300" tween="quadratic" easing="out">WindowClose</animation>
			<control type="image">
				<left>180</left>
				<top>0</top>
				<width>1120</width>
				<height>720</height>
				<texture border="15,0,0,0" flipx="true">MediaBladeSub.png</texture>
			</control>
			<control type="button">
				<description>Close Window button</description>
				<left>230</left>
				<top>0</top>
				<width>64</width>
				<height>32</height>
				<label/>
				<font/>
				<onclick>PreviousMenu</onclick>
				<texturefocus>DialogCloseButton-focus.png</texturefocus>
				<texturenofocus>DialogCloseButton.png</texturenofocus>
				<onleft>9000</onleft>
				<onright>9000</onright>
				<onup>9000</onup>
				<ondown>9000</ondown>
				<visible>system.getbool(input.enablemouse)</visible>
			</control>
			<control type="group">
				<animation effect="fade" delay="300" start="0" end="100" time="150">WindowOpen</animation>
				<animation effect="fade" start="100" end="0" time="150">WindowClose</animation>
				<control type="label">
					<description>Header label</description>
					<left>210</left>
					<top>50</top>
					<width>1030</width>
					<height>30</height>
					<font>font24_title</font>
					<label>$VAR[MusicInfoHeader]</label>
					<align>center</align>
					<aligny>center</aligny>
					<textcolor>white</textcolor>
					<shadowcolor>black</shadowcolor>
				</control>
				<control type="group">
					<top>90</top>
					<left>210</left>
					<include>VisibleFadeEffect</include>
					<control type="image">
						<left>0</left>
						<top>0</top>
						<width>270</width>
						<height>270</height>
						<aspectratio>keep</aspectratio>
						<bordertexture border="5">button-nofocus.png</bordertexture>
						<bordersize>4</bordersize>
						<texture background="true">$INFO[ListItem.Icon]</texture>
					</control>
					<control type="list" id="49">
						<left>280</left>
						<top>0</top>
						<width>760</width>
						<height>270</height>
						<onleft>49</onleft>
						<onright>49</onright>
						<onup>9000</onup>
						<ondown>50</ondown>
						<pagecontrol/>
						<scrolltime>200</scrolltime>
						<itemlayout height="30">
							<control type="label">
								<left>0</left>
								<top>0</top>
								<width>160</width>
								<height>30</height>
								<font>font13</font>
								<align>right</align>
								<aligny>center</aligny>
								<textcolor>blue</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
							</control>
							<control type="label">
								<left>170</left>
								<top>0</top>
								<width>590</width>
								<height>30</height>
								<font>font13</font>
								<align>left</align>
								<aligny>center</aligny>
								<textcolor>white</textcolor>
								<selectedcolor>white</selectedcolor>
								<info>ListItem.Label2</info>
							</control>
						</itemlayout>
						<focusedlayout height="30">
							<control type="image">
								<left>0</left>
								<top>0</top>
								<width>760</width>
								<height>30</height>
								<visible>Control.HasFocus(49)</visible>
								<texture>MenuItemFO.png</texture>
								<include>VisibleFadeEffect</include>
							</control>
							<control type="label">
								<left>0</left>
								<top>0</top>
								<width>160</width>
								<height>30</height>
								<font>font13</font>
								<align>right</align>
								<aligny>center</aligny>
								<textcolor>blue</textcolor>
								<selectedcolor>selected</selectedcolor>
								<info>ListItem.Label</info>
							</control>
							<control type="label">
								<left>170</left>
								<top>0</top>
								<width>590</width>
								<height>30</height>
								<font>font13</font>
								<align>left</align>
								<aligny>center</aligny>
								<textcolor>white</textcolor>
								<selectedcolor>white</selectedcolor>
								<info>ListItem.Label2</info>
							</control>
						</focusedlayout>
						<content>
							<include condition="String.IsEqual(ListItem.DBType,artist)">MusicInfoArtistInfo</include>
							<include condition="String.IsEqual(ListItem.DBType,album)">MusicInfoAlbumInfo</include>
							<include condition="String.IsEqual(ListItem.DBType,song)">MusicInfoSongInfo</include>
						</content>
					</control>
				</control>
				<control type="image">
					<left>210</left>
					<top>368</top>
					<width>1030</width>
					<height>4</height>
					<aspectratio>stretch</aspectratio>
					<texture>separator.png</texture>
				</control>
				<control type="textbox">
					<description>Description</description>
					<left>210</left>
					<top>375</top>
					<width>1030</width>
					<height>122</height>
					<label>$VAR[MusicInfoLabel]</label>
					<font>font13</font>
					<align>left</align>
					<textcolor>white</textcolor>
					<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
				</control>
				<control type="image">
					<left>210</left>
					<top>512</top>
					<width>1030</width>
					<height>4</height>
					<aspectratio>stretch</aspectratio>
					<texture>separator.png</texture>
					<visible>String.IsEqual(ListItem.DBType,song)</visible>
				</control>
				<control type="image">
					<description>Thumb</description>
					<left>210</left>
					<top>520</top>
					<width>120</width>
					<height>120</height>
					<texture>$VAR[MusicInfoListThumb]</texture>
					<aspectratio>keep</aspectratio>
				</control>
				<include content="MusicInfoPanel" condition="String.IsEqual(ListItem.DBType,artist) | String.IsEqual(ListItem.DBType,album) | String.IsEqual(ListItem.DBType,song)">
					<param name="panel-left" value="340"/>
					<param name="panel-width" value="900"/>
					<param name="item-width" value="450"/>
					<param name="label-width" value="430"/>
				</include>
				<control type="grouplist" id="9000">
					<left>210</left>
					<top>660</top>
					<width>1030</width>
					<height>40</height>
					<itemgap>2</itemgap>
					<align>center</align>
					<orientation>horizontal</orientation>
					<onleft>9000</onleft>
					<onright>9000</onright>
					<onup>50</onup>
					<ondown>49</ondown>
					<control type="button" id="6">
						<description>Refresh</description>
						<include>ButtonInfoDialogsCommonValues</include>
						<label/>
					</control>
					<control type="button" id="10">
						<description>Get Thumb</description>
						<include>ButtonInfoDialogsCommonValues</include>
						<label/>
					</control>
					<control type="button" id="12">
						<description>Album info</description>
						<include>ButtonInfoDialogsCommonValues</include>
						<visible>String.IsEmpty(Window(Home).Property(GlobalSearch.SearchString))</visible>
						<label/>
					</control>
					<control type="button" id="7">
						<description>Set my rating</description>
						<include>ButtonInfoDialogsCommonValues</include>
						<label/>
					</control>
					<control type="button" id="440">
						<description>YouTube</description>
						<include>ButtonInfoDialogsCommonValues</include>
						<label>$LOCALIZE[90116]</label>
						<onclick>PreviousMenu</onclick>
						<onclick condition="!String.IsEqual(ListItem.DBType,song)">RunScript(script.extendedinfo,info=youtubebrowser,id=$INFO[ListItem.Artist] $INFO[ListItem.Album])</onclick>
						<onclick condition="String.IsEqual(ListItem.DBType,song)">RunScript(script.extendedinfo,info=youtubebrowser,id=$INFO[ListItem.Artist] $INFO[ListItem.Title])</onclick>
						<visible>System.hasAddon(script.extendedinfo) + Skin.HasSetting(ActivateExtendedInfo)</visible>
					</control>
				</control>
			</control>
		</control>
		<control type="group">
			<depth>DepthSideBlade</depth>
			<include>Clock</include>
		</control>
	</controls>
</window>
