<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">50</defaultcontrol>
  <menucontrol>9000</menucontrol>
	<backgroundcolor>bgcolor</backgroundcolor>
	<views>50,660,51,52,56,562,560,57,59</views>
	<onload condition="!System.HasAddon(resource.images.musicgenreicons.text)">InstallAddon(resource.images.musicgenreicons.text)</onload>
	<onload condition="Window.IsActive(script-cu-lrclyrics-main.xml)">back</onload>
	<controls>
		<include>BackgroundItems</include>
		<include>MusicViews</include>
		<include>CommonItems</include>

		<!-- ================ -->
		<!-- Top Options Menu -->
		<!-- ================ -->
		<control type="group"  id="9000">
			<defaultcontrol always="true">9111</defaultcontrol>
			<include>TextViewerHideAnimations</include>
			<include>ShutdownMenuAnimation</include>
			<!-- Options -->
			<control type="group">
				<left>30</left>
				<top>25</top>
				<include>OptionsTopMenuAnimation</include>
				<include>OptionsTopMenuHeader</include>
				<visible allowhiddenfocus="true">!ControlGroup(9222).HasFocus</visible>
				<control type="grouplist" id="9111">
					<include>OptionsTopMenuVars</include>
					<control type="button" id="280">
						<description>View as</description>
						<include>TopLeftMenusButton</include>
						<label>$INFO[Control.GetLabel(2)]</label>
						<onclick>SetFocus(9222)</onclick>
					</control>
					<control type="togglebutton" id="295">
						<description>Change Thumbs Size (MusicThumbnails)</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31098]</label>
						<altlabel>$LOCALIZE[31099]</altlabel>
						<onclick>Skin.ToggleSetting(ShowSmallMusicThumbs)</onclick>
						<selected>Skin.HasSetting(ShowSmallMusicThumbs)</selected>
						<visible>Control.IsVisible(560) + $EXP[ThumbnailsViewMusic_560]</visible>
					</control>
					<control type="togglebutton" id="296">
						<description>Change Thumbs Size (AddonsThumbnails)</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31098]</label>
						<altlabel>$LOCALIZE[31099]</altlabel>
						<onclick>Skin.ToggleSetting(ShowSmallAddonsThumbs)</onclick>
						<selected>Skin.HasSetting(ShowSmallAddonsThumbs)</selected>
						<visible>Control.IsVisible(560) + $EXP[ThumbnailsViewAddons_560]</visible>
					</control>
					<control type="togglebutton" id="297">
						<description>Disable Thumb Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(Disable3DWallMusicView_ThumbGlow)</onclick>
						<selected>Skin.HasSetting(Disable3DWallMusicView_ThumbGlow)</selected>
						<visible>Control.IsVisible(59) + [Container.Content(Albums) | Container.Content(Artists) | Container.Content(Songs)]</visible>
					</control>
					<control type="togglebutton" id="298">
						<description>Disable Thumb Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(DisableMusicListView_ThumbGlow)</onclick>
						<selected>Skin.HasSetting(DisableMusicListView_ThumbGlow)</selected>
						<visible>Control.IsVisible(50) + [Container.Content(Albums) | Container.Content(Artists) | Container.Content(Songs) | Container.Content(MusicVideos) | String.IsEqual(Container.FolderPath,addons://sources/audio)]</visible>
					</control>
					<control type="button" id="311">
						<description>Sort by</description>
						<include>TopLeftMenusButton</include>
						<label>$INFO[Control.GetLabel(3)]</label>
						<onclick>Action(left)</onclick>
						<onclick>SendClick(3)</onclick>
						<enable>Control.IsEnabled(3)</enable>
					</control>
					<control type="togglebutton" id="4">
						<description>Sort Ascending/Descending</description>
						<label>$LOCALIZE[21429]: $LOCALIZE[584]</label>
						<altlabel>$LOCALIZE[21429]: $LOCALIZE[585]</altlabel>
						<include>TopLeftMenusButton</include>
					</control>
					<control type="edit" id="19">
						<description>Filter</description>
						<label>$LOCALIZE[587]</label>
						<textwidth>305</textwidth>
						<include>TopLeftMenusButton</include>
						<visible>Container.CanFilter + !Container.CanFilterAdvanced</visible>
					</control>
					<control type="button" id="98">
						<description>FilterAdvanced</description>
						<label>$LOCALIZE[587]</label>
						<include>TopLeftMenusButton</include>
						<onclick>Action(right)</onclick>
						<selected>Container.Filtered</selected>
						<onclick>Filter</onclick>
						<visible>Container.CanFilterAdvanced</visible>
					</control>
					<control type="button" id="308">
						<description>Search</description>
						<label>$LOCALIZE[137]</label>
						<include>TopLeftMenusButton</include>
						<onclick>Action(right)</onclick>
						<onclick>SendClick(8)</onclick>
					</control>
					<control type="togglebutton" id="16">
						<description>Party Mode</description>
						<label>$LOCALIZE[589]: $LOCALIZE[16039]</label>
						<altlabel>$LOCALIZE[589]: $LOCALIZE[16041]</altlabel>
						<include>TopLeftMenusButton</include>
					</control>
					<control type="togglebutton" id="20">
						<description>Update Library</description>
						<label>$LOCALIZE[653]</label>
						<altlabel>$LOCALIZE[13353]</altlabel>
						<usealttexture>Library.IsScanningMusic</usealttexture>
						<onclick>Action(right)</onclick>
						<include>TopLeftMenusButton</include>
					</control>
					<control type="button" id="21">
						<description>Clean Library</description>
						<label>$LOCALIZE[14247]</label>
						<include>TopLeftMenusButton</include>
						<onclick>Action(right)</onclick>
						<onclick>CleanLibrary(video)</onclick>
					</control>
					<control type="button" id="97">
						<description>Current Playlist</description>
						<label>$LOCALIZE[13350]</label>
						<include>TopLeftMenusButton</include>
						<onclick>$VAR[CurrentPlayList]</onclick>
						<visible>!String.IsEqual(Playlist.Length(music),0)</visible>
					</control>
					<control type="button" id="93">
						<description>Get more</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[21452]</label>
						<onclick>ActivateWindow(addonbrowser,addons://more/audio/,return)</onclick>
						<visible>Container.Content(addons)</visible>
					</control>
					<control type="button" id="95">
						<description>Settings</description>
						<label>$LOCALIZE[5]</label>
						<include>TopLeftMenusButton</include>
						<onclick>ActivateWindow(MediaSettings,music)</onclick>
						<visible>String.IsEmpty(Container.PluginName)</visible>
					</control>
					<control type="button" id="94">
						<description>Settings</description>
						<label>$LOCALIZE[10140]</label>
						<include>TopLeftMenusButton</include>
						<onclick>Addon.OpenSettings($INFO[Container.PluginName])</onclick>
						<visible>!String.IsEmpty(Container.PluginName)</visible>
					</control>
					<include>OptionsTopMenuEnd</include>
				</control>
			</control>

			<!-- Views -->
			<control type="group">
				<left>30</left>
				<top>25</top>
				<include>OptionsTopMenuAnimation</include>
				<include>ViewsTopMenuHeader</include>
				<visible allowhiddenfocus="true">ControlGroup(9222).HasFocus</visible>
				<control type="grouplist" id="9222">
					<include content="OptionsTopMenuVars">
						<param name="top_id" value="997"/>
					</include>
					<control type="button" id="940">
						<description>List</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[535]$VAR[ActiveViewList, (,)]</label>
						<onclick>Container.SetViewMode(50)</onclick>
					</control>
					<control type="button" id="959">
						<description>BelloView Generic</description>
						<include>TopLeftMenusButton</include>
						<label>Bello$VAR[ActiveViewBello, (,)]</label>
						<onclick>Container.SetViewMode(660)</onclick>
						<visible>!Skin.HasSetting(BelloViewMusic)</visible>
						<visible>$EXP[BelloViewGeneric_660]</visible>
					</control>
					<control type="button" id="943">
						<description>SlideViewMusic</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31080]$VAR[ActiveViewSlide, (,)]</label>
						<onclick>Container.SetViewMode(51)</onclick>
						<visible>!Skin.HasSetting(SlideViewMusic)</visible>
						<visible>$EXP[SlideViewMusic_51]</visible>
					</control>
					<control type="button" id="944">
						<description>GalleryViewMusic</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31081]$VAR[ActiveViewGallery, (,)]</label>
						<onclick>Container.SetViewMode(52)</onclick>
						<visible>!Skin.HasSetting(GalleryViewMusic)</visible>
						<visible>$EXP[GalleryViewMusic_52]</visible>
					</control>
					<control type="button" id="945">
						<description>ThumbnailsGeneric</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(56)</onclick>
						<visible>!Skin.HasSetting(ThumbnailsMusic)</visible>
						<visible>$EXP[ThumbnailsViewGeneric_56]</visible>
					</control>
					<control type="button" id="947">
						<description>ThumbnailsMusic</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(560)</onclick>
						<visible>!Skin.HasSetting(ThumbnailsMusic)</visible>
						<visible>$EXP[ThumbnailsViewMusic_560]</visible>
					</control>
					<control type="button" id="946">
						<description>TilesViewMusic</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31090]$VAR[ActiveViewTiles, (,)]</label>
						<onclick>Container.SetViewMode(562)</onclick>
						<visible>!Skin.HasSetting(TilesViewMusic)</visible>
						<visible>$EXP[TilesViewMusic_562]</visible>
					</control>
					<control type="button" id="951">
						<description>BannersViewMusic</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31086]$VAR[ActiveViewBanners, (,)]</label>
						<onclick>Container.SetViewMode(57)</onclick>
						<visible>!Skin.HasSetting(BannersViewMusic)</visible>
						<visible>$EXP[BannersViewMusic_57]</visible>
					</control>
					<control type="button" id="953">
						<description>3DWallViewMusic</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31082]$VAR[ActiveView3DWall, (,)]</label>
						<onclick>Container.SetViewMode(59)</onclick>
						<visible>!Skin.HasSetting(3DWallViewMusic)</visible>
						<visible>$EXP[3DWallViewMusic_59]</visible>
					</control>
					<control type="button" id="948">
						<description>ThumbnailsAddons</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(560)</onclick>
						<visible>!Skin.HasSetting(ThumbnailsMusic)</visible>
						<visible>$EXP[ThumbnailsViewAddons_560]</visible>
					</control>
					<control type="button" id="5402">
						<description>ManageVideoViews</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31157]</label>
						<onclick>SetProperty(ManageButtons,managemusicviews,home)</onclick>
						<onclick>Action(right)</onclick>
						<onclick>ActivateWindow(1118)</onclick>
						<visible>$EXP[MusicCondition]</visible>
					</control>
					<include content="ViewsTopMenuEnd">
						<param name="end_id" value="996"/>
					</include>
				</control>
			</control>
		</control>


		<!-- ================ -->
		<!-- Top Content Info -->
		<!-- ================ -->
		<control type="group">
			<left>45</left>
			<top>25</top>
			<include>ShutdownMenuAnimation</include>
			<include>InfoDialogs_ContentInfoAnimation</include>
			<include>VisibleHiddenSlideAnimation</include>
			<visible>!ControlGroup(9000).HasFocus</visible>
			<control type="grouplist">
				<include>CommonTopInfoGroupList</include>
				<include>OpenCloseSlideAnimationTwo</include>
				<control type="label">
					<include>TopBigLabel</include>
					<label>$LOCALIZE[2]</label>
					<visible>![Container.Content(MusicVideos) | String.EndsWith(Container.FolderPath,.m3u) | String.EndsWith(Container.FolderPath,.xsp)]</visible>
				</control>
				<control type="label">
					<include>TopBigLabel</include>
					<label>$LOCALIZE[20389]</label>
					<visible>Container.Content(MusicVideos)</visible>
				</control>
				<control type="label">
					<include>TopBigLabel</include>
					<label>$LOCALIZE[20011]</label>
					<visible>String.EndsWith(Container.FolderPath,.m3u) | String.EndsWith(Container.FolderPath,.xsp)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$LOCALIZE[24001]</label>
					<visible>String.Contains(Container.FolderPath,plugin://plugin.audio) | String.Contains(Container.FolderPath,plugin://plugin.video)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$INFO[Container.FolderName]</label>
				</control>
			</control>
		</control>

		<control type="button" id="8">
			<description>Search</description>
			<visible>false</visible>
		</control>
		<include>HiddenDefaultButtons</include>
		<include>CommonWeatherAndClock</include>
		<include>JumpToFirstSortLetter</include>
	</controls>
</window>
