<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="6">
	<defaultcontrol always="true">50</defaultcontrol>
	<allowoverlay>yes</allowoverlay>
	<views>50,52,53,550,54,55,56,57,58,155,59,52,500,501,513,515,514,516,517,518</views>
	<onload>SetProperty(cfa_ignore_set,True,home)</onload>
	<onload condition="System.HasAddon(script.tv.show.next.aired)">RunScript(script.tv.show.next.aired,backend=True)</onload>
	<onunload>ClearProperty(SkinHelper.ListItemGenres,home)</onunload>
	<onunload>ClearProperty(SkinHelper.ListItemStudios,home)</onunload>
	<onunload>ClearProperty(SkinHelper.ListItemCast,home)</onunload>
	<controls>
		<include condition="!Skin.HasSetting(lights.out)">GlobalBackground</include>
		<control type="group">
			<animation type="Conditional" reversible="true" condition="!Control.IsVisible(56) + !Control.IsVisible(58) + !Control.IsVisible(515) + !Control.IsVisible(517) + !Control.IsVisible(500) + !Control.IsVisible(52) + !Control.IsVisible(53) + !Control.IsVisible(50) + !Control.IsVisible(54) + !Control.IsVisible(518) + [StringCompare(ListItem.Label,..) | Skin.HasSetting(furniture.hidecastwidget)] + !Control.HasFocus(508923)">
				<effect type="slide" end="0,75" time="200" center="auto" tween="quadratic" easing="out" />
			</animation>
			<animation type="Conditional" reversible="true" condition="!Control.IsVisible(56) + !Control.IsVisible(58) + !Control.IsVisible(515) + !Control.IsVisible(517) + !Control.IsVisible(54) + !Control.IsVisible(500) + !Control.IsVisible(53) + !Control.IsVisible(52) + Control.IsVisible(50) + [StringCompare(ListItem.Label,..) |  Skin.HasSetting(furniture.hidecastwidget)] + !Control.HasFocus(508923)">
				<effect type="slide" end="0,15" time="200" center="auto" tween="quadratic" easing="out" />
			</animation>
			<control type="group">
				<include>Furniture_Metabar</include>
				<animation effect="fade" end="0" start="0" time="0" condition="Control.IsVisible(50)">Conditional</animation>
			</control>
			<include>Furniture_Cast</include>
			<include >View_50_List</include>
			<include >View_52_BigList</include>
			<include >View_53_BigListInfo</include>
			<include>View_58_MiniListInfo</include>
			<include>View_56_LowList</include>
			<include >View_54_Banner</include>
			<include>View_55_Wall</include>
			<include>View_57_ExtraInfo</include>
			<include>View_59_BannerPlex</include>
			<include>View_155_Wall_Emby</include>
			<include>View_500_Thumbnails</include>
			<include>View_513_BoxArt</include>
			<include>View_515_Landscape</include>
			<include>View_514_DiscArt</include>
			<include>View_516_ArtAttack</include>
			<include>View_517_Stamps</include>
			<include>View_518_DVFlex</include>
			<!--<include>Furniture_NowPlaying</include>-->
			<include condition="Skin.HasSetting(low.power)">Animation.Common.Killer.Lowpower</include>
		</control>
		<control type="group">
			<include condition="!Skin.HasSetting(low.power)">Animation.Common.Killer</include><include condition="Skin.HasSetting(low.power)">Animation.Common.Killer.Lowpower</include>
			<include>Furniture_NowPlaying</include>
			<include>Furniture_EmbyClock</include>
			<include>Furniture_HeaderEmby</include>
		</control>
		<include>Furniture_Logo</include>
		<include>Furniture_OverlayInfo</include>
		<control type="group">
			<include>Animation.FadeIn</include>
			<include>Animation.FadeOut</include>
			<visible>ControlGroup(9000).HasFocus()</visible>
			<include>GlobalOverlay</include>
		</control>
		<include condition="Skin.HasSetting(fags.out)">CerberosSmoke</include>
		<control type="group">
			<include>Def9000SideBladeLeft</include>
			<control type="grouplist" id="9000">
				<include>Def9000MediaMenuTop</include>
				<control type="label" id="201">
					<height>42</height>
					<textoffsetx>5</textoffsetx>
					<font>settingsheader</font>
					<label>31870</label>
					<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
					<aligny>center</aligny>
				</control>
				<!-- Other Options -->
				<control type="button" id="10">
					<description>Watched Toggle</description>
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>20367</label>
				</control>
				<control type="button" id="9091">
					<description>Global Search</description>
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>137</label>
					<onclick>RunScript(script.globalsearch,tvshows=true&amp;movies=true&amp;episodes=true&amp;actors=true)</onclick>
				</control>
				<control type="edit" id="19">
					<label>587</label>
					<description>Filter (hidden)</description>
					<include>DefContextButtonBlade</include>
					<visible>!Container.CanFilterAdvanced</visible>
				</control>
				<control type="radiobutton" id="98">
					<visible>Container.CanFilterAdvanced</visible>
					<description>Filter</description>
					<include>DefContextButtonBlade</include>
					<label>587</label>
					<align>left</align>
					<onclick>SetFocus(50)</onclick>
					<onclick>Filter</onclick>
					<selected>Container.Filtered</selected>
				</control>
				<control type="radiobutton" id="11">
					<description>Unlock Shares</description>
					<include>DefContextButtonBlade</include>
					<align>left</align>
					<label>20336</label>
					<onclick>xbmc.mastermode</onclick>
					<selected>system.ismaster</selected>
					<visible>system.haslocks</visible>
				</control>
				<control type="label" id="203">
					<height>42</height>
					<textoffsetx>5</textoffsetx>
					<font>settingsheader</font>
					<label>31877</label>
					<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
					<aligny>center</aligny>
				</control>
				<!-- <control type="radiobutton" id="16"> <description>PartyMode</description> <include>DefContextButton</include> <align>left</align> <label>589</label> <visible>Container.Content(MusicVideos)</visible> </control> --><!-- <control type="button" id="9092"><description>Set Custom Widget</description><include>DefContextButtonBlade</include><align>left</align><label>31222</label><onclick>Back</onclick><onclick>ActivateWindow(1106)</onclick></control> --><control type="button" id="9098">
					<description>Video Playlist</description>
					<include>DefContextButtonBlade</include>
					<label>559</label>
					<align>left</align>
					<onclick>ActivateWindow(VideoPlaylist)</onclick>
					<visible>IntegerGreaterThan(Playlist.Length(video),1)</visible>
				</control>
				<control type="button" id="20">
					<description>Update</description>
					<align>left</align>
					<label>653</label>
					<include>DefContextButtonBlade</include>
				</control>
				<control type="button" id="2099">
					<description>Update</description>
					<align>left</align>
					<label>31114</label>
					<include>DefContextButtonBlade</include>
					<onclick>FullScreen</onclick>
					<visible>Player.HasMedia</visible>
				</control>
			</control>
		</control>
		<control type="group">
			<visible>!Window.IsVisible(DialogProgress.xml)</visible>
			<visible>!Window.IsVisible(DialogBusy.xml)</visible>
			<posx>735</posx>
			<posy>486</posy>
			<include>Animation.FadeIn</include>
			<include>Animation.FadeOut</include>
			<control type="multiimage">
				<description>Busy animation</description>
				<posx>30</posx>
				<posy>30</posy>
				<width>48</width>
				<height>48</height>
				<aspectratio>keep</aspectratio>
				<imagepath>$INFO[Skin.String(SkinHelper.SpinnerTexturePath)]</imagepath>
				<timeperimage>100</timeperimage>
				<colordiffuse>$VAR[ColourHighlight]</colordiffuse>
				<fadetime>0</fadetime>
				<visible>!Skin.String(SkinHelper.SpinnerTexturePath,None)</visible>
			</control>
			<control type="label">
				<description>Busy label</description>
				<posx>105</posx>
				<width>720</width>
				<height>108</height>
				<aligny>center</aligny>
				<align>left</align>
				<label>$LOCALIZE[20186]...</label>
				<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			</control>
			<visible>stringcompare(Container.NumItems,0)</visible>
		</control>
	</controls>
</window>
