<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">50</defaultcontrol>
  <menucontrol>9000</menucontrol>
	<backgroundcolor>bgcolor</backgroundcolor>
	<views>50,66,660,51,52,561,56,560,562,55,64,57,53,54,58,580,65,59</views>
	<onload condition="System.HasAddon(script.tv.show.next.aired) + Library.HasContent(TVShows)">RunScript(script.tv.show.next.aired,backend=True)</onload>
	<onload condition="String.IsEmpty(Skin.String(ListViewWideThumbMovies))">Skin.SetString(ListViewWideThumbMovies,1)</onload>
	<onload condition="String.IsEmpty(Skin.String(ListViewWideThumbTVShows))">Skin.SetString(ListViewWideThumbTVShows,1)</onload>
	<onload condition="String.IsEmpty(Skin.String(GalleryViewWideThumbMovies))">Skin.SetString(GalleryViewWideThumbMovies,1)</onload>
	<onload condition="String.IsEmpty(Skin.String(GalleryViewWideThumbTVShows))">Skin.SetString(GalleryViewWideThumbTVShows,1)</onload>
	<onload condition="String.IsEmpty(Skin.String(TileViewWideThumbMovies))">Skin.SetString(TileViewWideThumbMovies,1)</onload>
	<onload condition="String.IsEmpty(Skin.String(TileViewWideThumbTVShows))">Skin.SetString(TileViewWideThumbTVShows,1)</onload>
	<onload condition="String.IsEmpty(Skin.String(BelloGenericAspectRatioThumbs))">Skin.SetString(BelloGenericAspectRatioThumbs,1)</onload>
	<controls>
		<include>BackgroundItems</include>
		<include>VideoViews</include>
		<include condition="[Skin.HasSetting(NextAiredEnabled) + !Skin.HasSetting(EnableNextAiredNotifications)]">NextAiredNotifications</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="button" id="290">
						<description>ListView WideThumb (TVShows)</description>
						<label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
						<onclick condition="String.IsEqual(Skin.String(ListViewWideThumbTVShows),3)">Skin.SetString(ListViewWideThumbTVShows,1)</onclick>
						<onclick condition="String.IsEqual(Skin.String(ListViewWideThumbTVShows),2)">Skin.SetString(ListViewWideThumbTVShows,3)</onclick>
						<onclick condition="String.IsEqual(Skin.String(ListViewWideThumbTVShows),1)">Skin.SetString(ListViewWideThumbTVShows,2)</onclick>
						<onclick condition="String.IsEqual(Skin.String(ListViewWideThumbTVShows),3)">Skin.SetString(ListViewWideThumbTVShows,1)</onclick>
						<include>TopLeftMenusButton</include>
						<visible>Control.IsVisible(50) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
					</control>
					<control type="button" id="291">
						<description>ListView WideThumb (Movies)</description>
						<label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
						<onclick condition="String.IsEqual(Skin.String(ListViewWideThumbMovies),3)">Skin.SetString(ListViewWideThumbMovies,1)</onclick>
						<onclick condition="String.IsEqual(Skin.String(ListViewWideThumbMovies),2)">Skin.SetString(ListViewWideThumbMovies,3)</onclick>
						<onclick condition="String.IsEqual(Skin.String(ListViewWideThumbMovies),1)">Skin.SetString(ListViewWideThumbMovies,2)</onclick>
						<onclick condition="String.IsEqual(Skin.String(ListViewWideThumbMovies),3)">Skin.SetString(ListViewWideThumbMovies,1)</onclick>
						<include>TopLeftMenusButton</include>
						<visible>Control.IsVisible(50) + [Container.Content(Movies) | Container.Content(Sets)]</visible>
					</control>
					<control type="button" id="292">
						<description>GalleryView WideThumb (TVShows)</description>
						<label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
						<onclick condition="String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),3)">Skin.SetString(GalleryViewWideThumbTVShows,1)</onclick>
						<onclick condition="String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),2)">Skin.SetString(GalleryViewWideThumbTVShows,3)</onclick>
						<onclick condition="String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),1)">Skin.SetString(GalleryViewWideThumbTVShows,2)</onclick>
						<onclick condition="String.IsEqual(Skin.String(GalleryViewWideThumbTVShows),3)">Skin.SetString(GalleryViewWideThumbTVShows,1)</onclick>
						<include>TopLeftMenusButton</include>
						<visible>Control.IsVisible(52) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
					</control>
					<control type="button" id="293">
						<description>GalleryView WideThumb (Movies)</description>
						<label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
						<onclick condition="String.IsEqual(Skin.String(GalleryViewWideThumbMovies),3)">Skin.SetString(GalleryViewWideThumbMovies,1)</onclick>
						<onclick condition="String.IsEqual(Skin.String(GalleryViewWideThumbMovies),2)">Skin.SetString(GalleryViewWideThumbMovies,3)</onclick>
						<onclick condition="String.IsEqual(Skin.String(GalleryViewWideThumbMovies),1)">Skin.SetString(GalleryViewWideThumbMovies,2)</onclick>
						<onclick condition="String.IsEqual(Skin.String(GalleryViewWideThumbMovies),3)">Skin.SetString(GalleryViewWideThumbMovies,1)</onclick>
						<include>TopLeftMenusButton</include>
						<visible>Control.IsVisible(52) + [Container.Content(Movies) | Container.Content(Sets)]</visible>
					</control>
					<control type="button" id="285">
						<description>TileView WideThumb (TVShows)</description>
						<label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
						<onclick condition="String.IsEqual(Skin.String(TileViewWideThumbTVShows),3)">Skin.SetString(TileViewWideThumbTVShows,1)</onclick>
						<onclick condition="String.IsEqual(Skin.String(TileViewWideThumbTVShows),2)">Skin.SetString(TileViewWideThumbTVShows,3)</onclick>
						<onclick condition="String.IsEqual(Skin.String(TileViewWideThumbTVShows),1)">Skin.SetString(TileViewWideThumbTVShows,2)</onclick>
						<onclick condition="String.IsEqual(Skin.String(TileViewWideThumbTVShows),3)">Skin.SetString(TileViewWideThumbTVShows,1)</onclick>
						<include>TopLeftMenusButton</include>
						<visible>Control.IsVisible(562) + [Container.Content(TVShows) | Container.Content(Seasons)]</visible>
					</control>
					<control type="button" id="286">
						<description>TileView WideThumb (Movies)</description>
						<label>$LOCALIZE[31217]: $VAR[FanartThumbsOptionsLabels]</label>
						<onclick condition="String.IsEqual(Skin.String(TileViewWideThumbMovies),3)">Skin.SetString(TileViewWideThumbMovies,1)</onclick>
						<onclick condition="String.IsEqual(Skin.String(TileViewWideThumbMovies),2)">Skin.SetString(TileViewWideThumbMovies,3)</onclick>
						<onclick condition="String.IsEqual(Skin.String(TileViewWideThumbMovies),1)">Skin.SetString(TileViewWideThumbMovies,2)</onclick>
						<onclick condition="String.IsEqual(Skin.String(TileViewWideThumbMovies),3)">Skin.SetString(TileViewWideThumbMovies,1)</onclick>
						<include>TopLeftMenusButton</include>
						<visible>Control.IsVisible(562) + Container.Content(Movies)</visible>
					</control>
					<control type="togglebutton" id="294">
						<description>Flashing Cinema Lights</description>
						<label>$LOCALIZE[31124]: $LOCALIZE[16039]</label>
						<altlabel>$LOCALIZE[31124]: $LOCALIZE[16041]</altlabel>
						<include>TopLeftMenusButton</include>
						<onclick>Skin.ToggleSetting(FlashingCinemaLights)</onclick>
						<usealttexture>Skin.HasSetting(FlashingCinemaLights)</usealttexture>
						<visible>Control.IsVisible(55) + $EXP[PostersViewVideos_55]</visible>
					</control>
					<control type="togglebutton" id="289">
						<description>Show Thumbnails Info</description>
						<label>$LOCALIZE[19033]: $LOCALIZE[16039]</label>
						<altlabel>$LOCALIZE[19033]: $LOCALIZE[16041]</altlabel>
						<include>TopLeftMenusButton</include>
						<onclick>Skin.ToggleSetting(ThumbnailShowInfo)</onclick>
						<onclick>Reloadskin</onclick>
						<usealttexture>Skin.HasSetting(ThumbnailShowInfo)</usealttexture>
						<visible>Control.IsVisible(561) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(MusicVideos)]</visible>
					</control>
					<control type="button" id="287">
						<description>BelloGeneric  Aspect Ratio Thumbs</description>
						<label>$LOCALIZE[31085]: $VAR[BelloGenericAspectRatioLabels]</label>
						<onclick condition="String.IsEqual(Skin.String(BelloGenericAspectRatioThumbs),3)">Skin.SetString(BelloGenericAspectRatioThumbs,1)</onclick>
						<onclick condition="String.IsEqual(Skin.String(BelloGenericAspectRatioThumbs),2)">Skin.SetString(BelloGenericAspectRatioThumbs,3)</onclick>
						<onclick condition="String.IsEqual(Skin.String(BelloGenericAspectRatioThumbs),1)">Skin.SetString(BelloGenericAspectRatioThumbs,2)</onclick>
						<onclick condition="String.IsEqual(Skin.String(BelloGenericAspectRatioThumbs),3)">Skin.SetString(BelloGenericAspectRatioThumbs,1)</onclick>
						<include>TopLeftMenusButton</include>
						<visible>Control.IsVisible(660) + $EXP[BelloViewGeneric_660] + $EXP[GenericVideoFilesCondition] + ![Container.Content(Addons) | String.IsEqual(Container.FolderPath,videodb://movies/genres/) | String.IsEqual(Container.FolderPath,videodb://tvshows/genres/) | String.IsEqual(Container.FolderPath,musicdb://genres/) | String.IsEqual(Container.FolderPath,videodb://musicvideos/genres/)]</visible>
					</control>
					<control type="togglebutton" id="295">
						<description>Change Thumbs Size (VideosThumbnails)</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31098]</label>
						<altlabel>$LOCALIZE[31099]</altlabel>
						<onclick>Skin.ToggleSetting(ShowSmallVideoThumbs)</onclick>
						<selected>Skin.HasSetting(ShowSmallVideoThumbs)</selected>
						<visible>Control.IsVisible(560) + $EXP[ThumbnailsViewVideos_560] + !Container.Content(Episodes)</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>Show Logo As Ttile</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31219]: $LOCALIZE[16039]</label>
						<altlabel>$LOCALIZE[31219]: $LOCALIZE[16041]</altlabel>
						<onclick>Skin.ToggleSetting(ShowLogoAsTtile)</onclick>
						<selected>Skin.HasSetting(ShowLogoAsTtile)</selected>
						<visible>Control.IsVisible(59) + [Container.Content(Movies) | Container.Content(TVShows)] + !String.Contains(Container.FolderPath,plugin://plugin.video)</visible>
					</control>
					<control type="togglebutton" id="298">
						<description>Disable Poster Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(Disable3DWallView_PosterGlow)</onclick>
						<selected>Skin.HasSetting(Disable3DWallView_PosterGlow)</selected>
						<visible>Control.IsVisible(53) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows)]</visible>
					</control>
					<control type="togglebutton" id="299">
						<description>Disable Poster Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(DisableWallView_PosterGlow)</onclick>
						<selected>Skin.HasSetting(DisableWallView_PosterGlow)</selected>
						<visible>Control.IsVisible(54) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows)]</visible>
					</control>
					<control type="togglebutton" id="281">
						<description>Disable Poster Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(DisableListWallView_PosterGlow)</onclick>
						<selected>Skin.HasSetting(DisableListWallView_PosterGlow)</selected>
						<visible>Control.IsVisible(58) + [Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows)]</visible>
					</control>
					<control type="togglebutton" id="282">
						<description>Disable Poster Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(DisableVideoListView_PosterGlow)</onclick>
						<selected>Skin.HasSetting(DisableVideoListView_PosterGlow)</selected>
						<visible>Control.IsVisible(50) + [Container.Content(Movies) | Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes) | Container.Content(Sets) | Container.Content(MusicVideos) | Window.IsVisible(VideoPlaylist) | String.IsEqual(Container.FolderPath,addons://sources/video)]</visible>
					</control>
					<control type="togglebutton" id="283">
						<description>Disable Poster Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(DisablePostersView_PosterGlow)</onclick>
						<selected>Skin.HasSetting(DisablePostersView_PosterGlow)</selected>
						<visible>Control.IsVisible(55) + [Container.Content(Movies) | Container.Content(Sets)]</visible>
					</control>
					<control type="togglebutton" id="284">
						<description>Disable Poster2 Glow</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31100]: $LOCALIZE[16041]</label>
						<altlabel>$LOCALIZE[31100]: $LOCALIZE[16039]</altlabel>
						<onclick>Skin.ToggleSetting(DisablePostersView2_PosterGlow)</onclick>
						<selected>Skin.HasSetting(DisablePostersView2_PosterGlow)</selected>
						<visible>Control.IsVisible(64) + [Container.Content(Movies) | Container.Content(Sets)]</visible>
					</control>
					<control type="togglebutton" id="309">
						<description>Autoplay Trailer</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31118]: $LOCALIZE[16039]</label>
						<altlabel>$LOCALIZE[31118]: $LOCALIZE[16041]</altlabel>
						<onclick>Skin.ToggleSetting(EnableAutoPlayTrailer)</onclick>
						<selected>Skin.HasSetting(EnableAutoPlayTrailer)</selected>
						<visible>String.IsEqual(ListItem.DBType,movie) | Container.Content(movies) | String.IsEqual(ListItem.DBType,tvshow) | Container.Content(tvshows)</visible>
					</control>
					<control type="button" id="311">
						<description>Sort by</description>
						<include>TopLeftMenusButton</include>
						<label>$INFO[Control.GetLabel(3)]</label>
						<onclick>Action(right)</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="button" id="310">
						<description>All/Watched/Unwatched Toggle</description>
						<include>TopLeftMenusButton</include>
						<label>$INFO[Control.GetLabel(10)]$INFO[Container.NumItems,: ]</label>
						<onclick>SendClick(10)</onclick>
						<visible>$EXP[MoviesTVShowsCondition] | Container.Content(episodes) | Container.Content(MusicVideos)</visible>
					</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="button" id="96">
						<description>Files</description>
						<label>$LOCALIZE[744]</label>
						<include>TopLeftMenusButton</include>
						<onclick>ActivateWindow(videos,files,return)</onclick>
						<visible>[Library.HasContent(Movies) | Library.HasContent(TVShows) | Library.HasContent(MusicVideos)] + [Container.Content(Movies) | Container.Content(TVShows) | Container.Content(Seasons)| Container.Content(Episodes) | Container.Content(MusicVideos)]</visible>
					</control>
					<control type="button" id="97">
						<description>TVGuide</description>
						<include>TopLeftMenusButton</include>
						<label>31001</label>
						<onclick>RunScript(script.tv.show.next.aired)</onclick>
						<visible>[Container.Content(TVShows) | Container.Content(Seasons)| Container.Content(Episodes)] + [System.HasAddon(script.tv.show.next.aired) + Skin.HasSetting(NextAiredEnabled)]</visible>
					</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>
						<visible>Container.Content(MusicVideos)</visible>
					</control>
					<control type="togglebutton" id="11">
						<description>Unlock Shares</description>
						<label>$LOCALIZE[20336]: $LOCALIZE[16039]</label>
						<altlabel>$LOCALIZE[20336]: $LOCALIZE[16041]</altlabel>
						<include>TopLeftMenusButton</include>
						<onclick>mastermode</onclick>
						<selected>system.ismaster</selected>
						<visible>system.haslocks</visible>
					</control>
					<control type="togglebutton" id="20">
						<description>Update Library</description>
						<label>$LOCALIZE[653]</label>
						<altlabel>$LOCALIZE[13353]</altlabel>
						<usealttexture>Library.IsScanningVideo</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="99">
						<description>Current Playlist</description>
						<label>$LOCALIZE[13350]</label>
						<include>TopLeftMenusButton</include>
						<onclick>$VAR[CurrentPlayList]</onclick>
						<visible>!String.IsEqual(Playlist.Length(video),0)</visible>
					</control>
					<control type="button" id="93">
						<description>Get more</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[21452]</label>
						<onclick>ActivateWindow(addonbrowser,addons://more/video/,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,video)</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="941">
						<description>BelloViewVideoLibrary</description>
						<include>TopLeftMenusButton</include>
						<label>Bello$VAR[ActiveViewBello, (,)]</label>
						<onclick>Container.SetViewMode(66)</onclick>
						<visible>!Skin.HasSetting(BelloViewVideos)</visible>
						<visible>$EXP[BelloViewVideos_66]</visible>
					</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(BelloViewVideos)</visible>
						<visible>$EXP[BelloViewGeneric_660]</visible>
					</control>
					<control type="button" id="943">
						<description>SlideViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31080]$VAR[ActiveViewSlide, (,)]</label>
						<onclick>Container.SetViewMode(51)</onclick>
						<visible>!Skin.HasSetting(SlideViewVideos)</visible>
						<visible>$EXP[SlideViewVideos_51]</visible>
					</control>
					<control type="button" id="944">
						<description>GalleryViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31081]$VAR[ActiveViewGallery, (,)]</label>
						<onclick>Container.SetViewMode(52)</onclick>
						<visible>!Skin.HasSetting(GalleryViewVideos)</visible>
						<visible>$EXP[GalleryViewVideos_52]</visible>
					</control>
					<control type="button" id="948">
						<description>ThumbnailsViewVideosPosters</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(561)</onclick>
						<visible>!Skin.HasSetting(ThumbnailsVideos)</visible>
						<visible>$EXP[ThumbnailsViewPosters_561]</visible>
					</control>
					<control type="button" id="947">
						<description>ThumbnailsVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(560)</onclick>
						<visible>!Skin.HasSetting(ThumbnailsVideos)</visible>
						<visible>$EXP[ThumbnailsViewVideos_560]</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(ThumbnailsVideos)</visible>
						<visible>$EXP[ThumbnailsViewGeneric_56]</visible>
					</control>
					<control type="button" id="942">
						<description>TilesViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31090]$VAR[ActiveViewTiles, (,)]</label>
						<onclick>Container.SetViewMode(562)</onclick>
						<visible>!Skin.HasSetting(TilesViewVideos)</visible>
						<visible>$EXP[TilesViewVideos_562]</visible>
					</control>
					<control type="button" id="949">
						<description>PostersViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31084]$VAR[ActiveViewPosters, (,)]</label>
						<onclick>Container.SetViewMode(55)</onclick>
						<visible>!Skin.HasSetting(PostersViewVideos)</visible>
						<visible>$EXP[PostersViewVideos_55]</visible>
					</control>
					<control type="button" id="950">
						<description>PostersViewVideos2</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31084] 2$VAR[ActiveViewPosters2, (,)]</label>
						<onclick>Container.SetViewMode(64)</onclick>
						<visible>!Skin.HasSetting(PostersViewVideos2)</visible>
						<visible>$EXP[PostersViewVideos2_64]</visible>
					</control>
					<control type="button" id="951">
						<description>BannersViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31086]$VAR[ActiveViewBanners, (,)]</label>
						<onclick>Container.SetViewMode(57)</onclick>
						<visible>!Skin.HasSetting(BannersViewVideos)</visible>
						<visible>$EXP[BannersViewVideos_57]</visible>
					</control>
					<control type="button" id="953">
						<description>3DWallViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31082]$VAR[ActiveView3DWall, (,)]</label>
						<onclick>Container.SetViewMode(53)</onclick>
						<visible>!Skin.HasSetting(3DWallViewVideos)</visible>
						<visible>$EXP[WallViewsCondition]</visible>
					</control>
					<control type="button" id="954">
						<description>WallViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31083]$VAR[ActiveViewWall, (,)]</label>
						<onclick>Container.SetViewMode(54)</onclick>
						<visible>!Skin.HasSetting(WallViewVideos)</visible>
						<visible>$EXP[WallViewsCondition]</visible>
					</control>
					<control type="button" id="955">
						<description>ListWallViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31088]$VAR[ActiveViewListWall, (,)]</label>
						<onclick>Container.SetViewMode(58)</onclick>
						<visible>!Skin.HasSetting(ListWallViewVideos)</visible>
						<visible>$EXP[WallViewsCondition]</visible>
					</control>
					<control type="button" id="956">
						<description>VideoWallViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31087]$VAR[ActiveViewVideoWall, (,)]</label>
						<onclick>Container.SetViewMode(580)</onclick>
						<visible>!Skin.HasSetting(VideoWallViewVideos)</visible>
						<visible>$EXP[WallViewsCondition]</visible>
					</control>
					<control type="button" id="957">
						<description>ShowtimeViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31089]$VAR[ActiveViewShowtime, (,)]</label>
						<onclick>Container.SetViewMode(65)</onclick>
						<visible>!Skin.HasSetting(ShowtimeViewVideos)</visible>
						<visible>$EXP[WallViewsCondition]</visible>
					</control>
					<control type="button" id="958">
						<description>NetflixViewVideos</description>
						<include>TopLeftMenusButton</include>
						<label>Netflix$VAR[ActiveViewNetflix, (,)]</label>
						<onclick>Container.SetViewMode(59)</onclick>
						<visible>!Skin.HasSetting(NetflixViewVideos)</visible>
						<visible>$EXP[NetflixViewVideos_59]</visible>
					</control>
					<control type="button" id="946">
						<description>ThumbnailsAddons</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31085]$VAR[ActiveViewThubnails, (,)]</label>
						<onclick>Container.SetViewMode(560)</onclick>
						<visible>!Skin.HasSetting(ThumbnailsVideos)</visible>
						<visible>$EXP[ThumbnailsViewAddons_560]</visible>
					</control>
					<control type="button" id="960">
						<description>ManageVideoViews</description>
						<include>TopLeftMenusButton</include>
						<label>$LOCALIZE[31156]</label>
						<onclick>SetProperty(ManageButtons,managevideoviews,home)</onclick>
						<onclick>Action(right)</onclick>
						<onclick>ActivateWindow(1118)</onclick>
						<visible>$EXP[MoviesTVShowsCondition] | Container.Content(Episodes)</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>TextViewerHideAnimations</include>
			<include>ShutdownMenuAnimation</include>
			<include>InfoDialogs_ContentInfoAnimation</include>
			<include>VisibleHiddenSlideAnimation</include>
			<visible>!ControlGroup(9000).HasFocus</visible>
			<control type="grouplist">
				<include>CommonTopInfoGroupList</include>
				<include>OpenCloseSlideAnimationTwo</include>
				<!-- Big Labels -->
				<control type="label">
					<include>TopBigLabel</include>
					<label>$VAR[ContentInfoVideos]</label>
				</control>
				<!-- Small Labels -->
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$LOCALIZE[20342]</label>
					<visible>String.IsEqual(Container.FolderPath,videodb://movies/genres/) | String.IsEqual(Container.FolderPath,videodb://movies/years/) | String.IsEqual(Container.FolderPath,videodb://movies/actors/) | String.IsEqual(Container.FolderPath,videodb://movies/directors/) | String.IsEqual(Container.FolderPath,videodb://movies/studios/) | String.IsEqual(Container.FolderPath,videodb://movies/countries/) | String.IsEqual(Container.FolderPath,videodb://movies/tags/)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$LOCALIZE[20343]</label>
					<visible>String.IsEqual(Container.FolderPath,videodb://tvshows/genres/) | String.IsEqual(Container.FolderPath,videodb://tvshows/years/) | String.IsEqual(Container.FolderPath,videodb://tvshows/actors/) | String.IsEqual(Container.FolderPath,videodb://tvshows/studios/)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$LOCALIZE[24001]</label>
					<visible>String.Contains(Container.FolderPath,plugin://plugin.video) | String.IsEqual(Container.FolderPath,addons://sources/video/)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$INFO[Container.FolderName]</label>
					<visible>!String.IsEqual(Container.FolderPath,addons://sources/video/) + ![[Container.Content(Movies) | Container.Content(Sets) | Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)] + !String.Contains(Container.FolderPath,plugin://plugin.video)]</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$INFO[Container.FolderName]</label>
					<visible>[Container.Content(Movies) | Container.Content(Sets)] + !String.Contains(Container.FolderPath,plugin://plugin.video)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$INFO[Container.FolderName]</label>
					<visible>[Container.Content(TVShows) | Container.Content(Seasons)] + !String.Contains(Container.FolderPath,plugin://plugin.video)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$INFO[Container.FolderName]</label>
					<visible>String.Contains(Container.FolderPath,videodb://recentlyaddedepisodes/)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$INFO[ListItem.TVShowTitle]</label>
					<visible>Container.Content(Episodes) + !String.Contains(Container.FolderPath,videodb://recentlyaddedepisodes/)</visible>
				</control>
				<control type="label">
					<include>TopSmallLabel</include>
					<label>$INFO[ListItem.Season,$LOCALIZE[20373] ]</label>
					<visible>Container.Content(Episodes) + !String.IsEmpty(ListItem.Season) + !String.Contains(Container.FolderPath,videodb://recentlyaddedepisodes/) + !String.Contains(Container.FolderPath,plugin://plugin.video)</visible>
				</control>
			</control>
		</control>

		<control type="list" id="9994">
			<description>Sets</description>
			<include>HiddenListContainer</include>
			<content browse="never" sortby="year">$INFO[ListItem.FolderPath]</content>
			<visible>String.IsEqual(ListItem.DBtype,set)</visible>
		</control>

		<control type="button" id="8">
			<description>Search</description>
			<visible>false</visible>
		</control>
		<control type="button" id="10">
			<description>All/Watched/Unwatched Toggle</description>
			<visible>false</visible>
		</control>
		<include>HiddenDefaultButtons</include>
		<include>CommonWeatherAndClock</include>
		<include>JumpToFirstSortLetter</include>

	</controls>
</window>
