<?xml version="1.0" encoding="UTF-8"?>
<window id="1115">
	<defaultcontrol always="true">200</defaultcontrol>
	<backgroundcolor>background</backgroundcolor>
	<include>PropertyIncludes</include>
	<controls>
		<!-- background -->
		<include content="Background">
			<param name="forced_visible" value="true"/>
		</include>
		<!-- results -->
		<control type="grouplist" id="10">
			<visible>!Window.IsVisible(virtualkeyboard)</visible>
			<include>Window_OpenClose</include>
			<defaultcontrol>12</defaultcontrol>
			<width>100%</width>
			<height>100%</height>
			<itemgap>-80</itemgap>
			<orientation>vertical</orientation>
			<usecontrolcoords>true</usecontrolcoords>
			<include>ScrollTime</include>
			<pagecontrol>17</pagecontrol>
			<include content="WidgetSpacer">
				<param name="id" value="11"/>
			</include>
			<control type="group">
				<width>1920</width>
				<height>239</height>
				<control type="group">
					<include content="WidgetHeadline">
						<param name="headline">$LOCALIZE[19133] '$VAR[SearchString]'</param>
					</include>
					<control type="grouplist" id="200">
						<top>92</top>
						<left>70</left>
						<height>60</height>
						<orientation>horizontal</orientation>
						<itemgap>5</itemgap>
						<onright>noop</onright>
						<onleft>900</onleft>
						<onup>6666</onup>
						<ondown>200</ondown>
						<control type="button" id="201">
							<height>60</height>
							<texturefocus border="10" colordiffuse="grey_button">items/button.png</texturefocus>
							<textcolor>text_white</textcolor>
							<focusedcolor>text_white</focusedcolor>
							<onup>noop</onup>
							<ondown>noop</ondown>
							<onleft>noop</onleft>
							<onright>noop</onright>
							<label>$LOCALIZE[31052]</label>
							<visible>$EXP[IsSearching]</visible>
						</control>
						<control type="button" id="202">
							<label>$LOCALIZE[31052]</label>
							<height>60</height>
							<onup>noop</onup>
							<ondown>101</ondown>
							<onclick>SetProperty(CustomSearch,1,home)</onclick>
							<onclick>Skin.Reset(CustomSearchTerm)</onclick>
							<onclick>Skin.Reset(CustomSearchEmbyID)</onclick>
							<onclick>Skin.SetString(CustomSearchTerm)</onclick>
							<visible>!$EXP[IsSearching]</visible>
						</control>
					</control>
					<control type="label">
						<top>165</top>
						<left>65</left>
						<width>1000</width>
						<height>87</height>
						<font>Med23</font>
						<align>left</align>
						<aligny>center</aligny>
						<label>$LOCALIZE[284]</label>
						<visible>Integer.IsEqual(Container(10).NumItems,1) + !$EXP[IsSearching]</visible>
					</control>
				</control>
			</control>
			<!-- movies -->
			<include content="PosterWidget">
				<param name="id" value="101"/>
				<param name="onup" value="200"/>
				<param name="ondown" value="102"/>
				<param name="headline" value="$LOCALIZE[342]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[Local.SearchMovies]"/>
			</include>
			<include content="PosterWidget">
				<param name="id" value="102"/>
				<param name="onup" value="101"/>
				<param name="ondown" value="103"/>
				<param name="headline" value="$LOCALIZE[342]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[EmbyCon.SearchMovies]"/>
			</include>
			<!-- tvshows -->
			<include content="WideWidget">
				<param name="id" value="103"/>
				<param name="onup" value="102"/>
				<param name="ondown" value="104"/>
				<param name="headline" value="$LOCALIZE[20343]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[Local.SearchShows]"/>
			</include>
			<include content="WideWidget">
				<param name="id" value="104"/>
				<param name="onup" value="103"/>
				<param name="ondown" value="105"/>
				<param name="headline" value="$LOCALIZE[20343]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[EmbyCon.SearchShows]"/>
			</include>
			<!-- episodes -->
			<include content="WideWidget">
				<param name="id" value="105"/>
				<param name="onup" value="104"/>
				<param name="ondown" value="106"/>
				<param name="headline" value="$LOCALIZE[20360]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="icon" value="$VAR[IconEpisodeThumb]"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[Local.SearchEpisodes]"/>
			</include>
			<include content="WideWidget">
				<param name="id" value="106"/>
				<param name="onup" value="105"/>
				<param name="ondown" value="107"/>
				<param name="headline" value="$LOCALIZE[20360]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="icon" value="$VAR[IconEpisodeThumb]"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[EmbyCon.SearchEpisodes]"/>
			</include>
			<!-- musicvid -->
			<include content="WideWidget">
				<param name="id" value="107"/>
				<param name="onup" value="106"/>
				<param name="ondown" value="108"/>
				<param name="height" value="439"/>
				<param name="headline" value="$LOCALIZE[20389]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[Local.SearchMusicVideos]"/>
			</include>
			<!-- actors -->
			<include content="PosterWidget">
				<param name="id" value="108"/>
				<param name="onup" value="107"/>
				<param name="ondown" value="109"/>
				<param name="headline" value="$LOCALIZE[31233] [CAPITALIZE]$VAR[SearchString][/CAPITALIZE]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[Local.SearchActorMovies]"/>
			</include>
			<include content="PosterWidget">
				<param name="id" value="109"/>
				<param name="onup" value="108"/>
				<param name="ondown" value="110"/>
				<param name="headline" value="$LOCALIZE[31233] [CAPITALIZE]$VAR[SearchString][/CAPITALIZE]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[EmbyCon.SearchActorMovies]"/>
			</include>
			<include content="PosterWidget">
				<param name="id" value="110"/>
				<param name="onup" value="109"/>
				<param name="ondown" value="111"/>
				<param name="headline" value="$LOCALIZE[31234] [CAPITALIZE]$VAR[SearchString][/CAPITALIZE]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[Local.SearchActorShows]"/>
			</include>
			<include content="PosterWidget">
				<param name="id" value="111"/>
				<param name="onup" value="110"/>
				<param name="ondown" value="112"/>
				<param name="headline" value="$LOCALIZE[31234] [CAPITALIZE]$VAR[SearchString][/CAPITALIZE]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[EmbyCon.SearchActorShows]"/>
			</include>
			<include content="WideWidget">
				<param name="id" value="112"/>
				<param name="onup" value="111"/>
				<param name="ondown" value="113"/>
				<param name="headline" value="$LOCALIZE[31236] [CAPITALIZE]$VAR[SearchString][/CAPITALIZE]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="icon" value="$VAR[IconEpisodeThumb]"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[Local.SearchActorEpisodes]"/>
			</include>
			<include content="WideWidget">
				<param name="id" value="113"/>
				<param name="onup" value="112"/>
				<param name="ondown" value="114"/>
				<param name="headline" value="$LOCALIZE[31236] [CAPITALIZE]$VAR[SearchString][/CAPITALIZE]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="icon" value="$VAR[IconEpisodeThumb]"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[EmbyCon.SearchActorEpisodes]"/>
			</include>
			<include content="PosterWidget">
				<param name="id" value="114"/>
				<param name="onup" value="113"/>
				<param name="ondown" value="115"/>
				<param name="headline" value="$LOCALIZE[31235] [CAPITALIZE]$VAR[SearchString][/CAPITALIZE]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[Local.SearchDirectorMovies]"/>
			</include>
			<include content="PosterWidget">
				<param name="id" value="115"/>
				<param name="onup" value="114"/>
				<param name="ondown" value="116"/>
				<param name="height" value="552"/>
				<param name="headline" value="$LOCALIZE[31157] [CAPITALIZE]$VAR[SearchString][/CAPITALIZE]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="layout" value="CastLayout"/>
				<param name="widget_target" value="videos"/>
				<param name="content" value="$VAR[EmbyCon.SearchPerson]"/>
			</include>
			<!-- artists -->
			<include content="SquareWidget">
				<param name="id" value="116"/>
				<param name="onup" value="115"/>
				<param name="ondown" value="117"/>
				<param name="headline" value="$LOCALIZE[133]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="music"/>
				<param name="content" value="$VAR[Local.SearchArtists]"/>
			</include>
			<!-- albums -->
			<include content="SquareWidget">
				<param name="id" value="117"/>
				<param name="onup" value="116"/>
				<param name="ondown" value="118"/>
				<param name="headline" value="$LOCALIZE[132]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="music"/>
				<param name="content" value="$VAR[Local.SearchAlbums]"/>
			</include>
			<include content="SquareWidget">
				<param name="id" value="118"/>
				<param name="onup" value="117"/>
				<param name="ondown" value="119"/>
				<param name="headline" value="$LOCALIZE[132]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="music"/>
				<param name="content" value="$VAR[EmbyCon.SearchAlbums]"/>
			</include>
			<!-- songs -->
			<include content="SquareWidget">
				<param name="id" value="119"/>
				<param name="onup" value="118"/>
				<param name="ondown" value="120"/>
				<param name="headline" value="$LOCALIZE[134]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="music"/>
				<param name="content" value="$VAR[Local.SearchSongs]"/>
			</include>
			<include content="SquareWidget">
				<param name="id" value="120"/>
				<param name="onup" value="119"/>
				<param name="ondown" value="121"/>
				<param name="headline" value="$LOCALIZE[134]$VAR[EmbyConLabel]"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="widget_target" value="music"/>
				<param name="content" value="$VAR[EmbyCon.SearchMusic]"/>
			</include>
			<!-- youtube -->
			<include content="WideWidget">
				<param name="id" value="121"/>
				<param name="onup" value="120"/>
				<param name="ondown" value="122"/>
				<param name="headline" value="YouTube"/>
				<param name="force_visible" value="!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))"/>
				<param name="use_custom_content" value="true"/>
				<param name="use_custom_onclick" value="true"/>
				<param name="onclick" value="PlayMedia($INFO[ListItem.Filenameandpath])"/>
				<param name="widget_target" value="videos"/>
				<param name="limit" value="25"/>
				<param name="ar" value="scale"/>
				<param name="content" value="$VAR[YouTube.Search]"/>
			</include>
		</control>
		<!-- header bar -->
		<include content="HeaderBar">
			<param name="id">10</param>
		</include>
		<!-- busy spinner -->
		<include content="CustomBusySpinner">
			<param name="diffuse" value="false"/>
			<param name="visible" value="[$EXP[IsSearching] | [!String.IsEmpty(Window(home).Property(CustomSearch)) + !String.IsEmpty(Skin.String(CustomSearchTerm))]] + !Window.IsVisible(virtualkeyboard)"/>
		</include>
		<!-- side panel -->
		<include content="SidePanel"/>
	</controls>
</window>
