<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1122">

<!-- Search functionality adapted from sualfred's embuary and jurialmunkey's arctic.zephyr.2 -->
    <onload condition="String.IsEmpty(Skin.String(CustomSearchTerm))">Action(Close)</onload>
	<onunload>ClearProperty(DoVideoSearch,Home)</onunload>
	<onunload>ClearProperty(DoMusicSearch,Home)</onunload>
	<defaultcontrol always="true">10</defaultcontrol>

	<controls>

		<!-- background -->
        <include>DefaultBackground</include>
		<include>OpenClose</include>

        <control type="image">
		    <posx>0</posx>
		    <posy>0</posy>
		    <include>Dimensions_Fullscreen</include>
		    <aspectratio>scale</aspectratio>
		    <texture background="true">$INFO[Container.ListItem.Art(fanart)]</texture>
		    <visible>Control.HasFocus(101) |
                     Control.HasFocus(102) |
                     Control.HasFocus(103) | Control.HasFocus(104) | Control.HasFocus(105) |
                     Control.HasFocus(106) | Control.HasFocus(107) | Control.HasFocus(108) |
                     Control.HasFocus(109) | Control.HasFocus(110) | Control.HasFocus(111) |
                     Control.HasFocus(112) | Control.HasFocus(113) | Control.HasFocus(114) |
                     Control.HasFocus(115) | Control.HasFocus(116) | Control.HasFocus(117) |
                     Control.HasFocus(118) | Control.HasFocus(119) | Control.HasFocus(120) |
                     Control.HasFocus(121) | Control.HasFocus(122) | Control.HasFocus(123) |
                     Control.HasFocus(124) | Control.HasFocus(125) | Control.HasFocus(126) |
					 Control.HasFocus(127) | Control.HasFocus(128) | Control.HasFocus(129) |
					 Control.HasFocus(130)</visible>
		    <fadetime>600</fadetime>
		    <animation effect="fade" time="600">Visible</animation>
		    <animation effect="fade" time="600">Hidden</animation>
		</control>

        <include>BackgroundOverlaySearch</include>

		<!-- results -->
		<control type="grouplist" id="10">
            <left>0</left>
            <top>60</top>
            <height>788</height>
            <scrolltime tween="quadratic">400</scrolltime>
			<itemgap>-44</itemgap>
			<orientation>vertical</orientation>
			<usecontrolcoords>true</usecontrolcoords>
			<control type="group" id="99"></control>
            <!-- Movies by Title -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesTitle) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="101"/>
				<param name="labelid" value="1011"/>
                <param name="headline" value="$INFO[Container(101).NumItems,$LOCALIZE[342] (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22title%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- TV Shows by Title -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchTVShows) + !Skin.HasSetting(DisableSearchTVShowsTitle) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="102"/>
				<param name="labelid" value="1021"/>
                <param name="headline" value="$INFO[Container(102).NumItems,$LOCALIZE[20343] (,)]"/>
				<param name="content" value="videodb://tvshows/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22title%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D"/>
			</include>
            <!-- Episodes by Title -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchEpisodes) + !Skin.HasSetting(DisableSearchEpisodesTitle) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="103"/>
				<param name="labelid" value="1031"/>
                <param name="headline" value="$INFO[Container(103).NumItems,$LOCALIZE[20360] (,)]"/>
				<param name="content" value="videodb://tvshows/titles/-1/-1/-1/-1/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22title%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22episodes%22%7D"/>
			</include>
            <!-- Movies by Genre -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesGenre) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="104"/>
				<param name="labelid" value="1041"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32029] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(104).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22genre%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- TV Shows by Genre -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchTVShows) + !Skin.HasSetting(DisableSearchTVShowsGenre) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="105"/>
				<param name="labelid" value="1051"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32030] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(105).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22genre%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D"/>
			</include>
            <!-- Episodes by Genre -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchEpisodes) + !Skin.HasSetting(DisableSearchEpisodesGenre) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="106"/>
				<param name="labelid" value="1061"/>
                <param name="headline" value="$INFO[Container(106).NumItems,$LOCALIZE[32117] (,)]"/>
				<param name="content" value="videodb://tvshows/titles/-1/-1/-1/-1/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22genre%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22episodes%22%7D"/>
			</include>
            <!-- Movies by Year -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesYear) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="107"/>
				<param name="labelid" value="1071"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32033] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(107).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22year%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- TV Shows by Year -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchTVShows) + !Skin.HasSetting(DisableSearchTVShowsYear) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="108"/>
				<param name="labelid" value="1081"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32034] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(108).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22year%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D"/>
			</include>
            <!-- Movies from Studio -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesStudio) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="109"/>
				<param name="labelid" value="1091"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32031] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(109).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22studio%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- TV Shows from Studio -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchTVShows) + !Skin.HasSetting(DisableSearchTVShowsStudio) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="110"/>
				<param name="labelid" value="1101"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32032] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(110).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22studio%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D"/>
			</include>
            <!-- Episodes from Studio -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchEpisodes) + !Skin.HasSetting(DisableSearchEpisodesStudio) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="111"/>
				<param name="labelid" value="1111"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32116] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(111).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/-1/-1/-1/-1/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22studio%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22episodes%22%7D"/>
			</include>
            <!-- Movies from Country -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesCountry) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="112"/>
				<param name="labelid" value="1121"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32035] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(112).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22country%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- Movies with Actor -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesActor) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="113"/>
				<param name="labelid" value="1131"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32025] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(113).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22actor%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- TV Shows with Actor -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchTVShows) + !Skin.HasSetting(DisableSearchTVShowsActor) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="114"/>
				<param name="labelid" value="1141"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32027] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(114).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22actor%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D"/>
			</include>
            <!-- Episodes with Actor -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchEpisodes) + !Skin.HasSetting(DisableSearchEpisodesActor) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="115"/>
				<param name="labelid" value="1151"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32096] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(115).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/-1/-1/-1/-1/?xsp=%7b%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22actor%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%22$INFO[Skin.String(CustomSearchTerm)]%22%5d%7d%5d%7d%2c%22type%22%3a%22episodes%22%7d"/>
			</include>
            <!-- Movies by Director -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesDirector) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="116"/>
				<param name="labelid" value="1161"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32026] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(116).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22director%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- TV Shows by Director -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchTVShows) + !Skin.HasSetting(DisableSearchTVShowsDirector) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="117"/>
				<param name="labelid" value="1171"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32028] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(117).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22director%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D"/>
			</include>
            <!-- Episodes by Director -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchEpisodes) + !Skin.HasSetting(DisableSearchEpisodesDirector) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="118"/>
				<param name="labelid" value="1181"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32119] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(118).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/-1/-1/-1/-1/?xsp=%7b%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22director%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%22$INFO[Skin.String(CustomSearchTerm)]%22%5d%7d%5d%7d%2c%22type%22%3a%22episodes%22%7d"/>
			</include>
            <!-- Movies by Writer -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesWriter) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="119"/>
				<param name="labelid" value="1191"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32114] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(119).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22writers%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- Episodes by Writer -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchEpisodes) + !Skin.HasSetting(DisableSearchEpisodesWriter) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="120"/>
				<param name="labelid" value="1201"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32118] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(120).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/-1/-1/-1/-1/?xsp=%7b%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22writers%22%2c%22operator%22%3a%22is%22%2c%22value%22%3a%5b%22$INFO[Skin.String(CustomSearchTerm)]%22%5d%7d%5d%7d%2c%22type%22%3a%22episodes%22%7d"/>
			</include>

			<!-- Movies with Plot containing -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesPlot) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="121"/>
				<param name="labelid" value="1211"/>
                <param name="headline" value="$LOCALIZE[32380] &quot;$INFO[Skin.String(CustomSearchTerm),[CAPITALIZE],[/CAPITALIZE]]&quot;$INFO[Container(121).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22plot%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>
            <!-- TV Shows with Plot containing -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchTVShows) + !Skin.HasSetting(DisableSearchTVShowsPlot) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="122"/>
				<param name="labelid" value="1221"/>
                <param name="headline" value="$LOCALIZE[32381] &quot;$INFO[Skin.String(CustomSearchTerm),[CAPITALIZE],[/CAPITALIZE]]&quot;$INFO[Container(122).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22plot%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22tvshows%22%7D"/>
			</include>
            <!-- Episodes with Plot containing -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchEpisodes) + !Skin.HasSetting(DisableSearchEpisodesPlot) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="123"/>
				<param name="labelid" value="1231"/>
                <param name="headline" value="$LOCALIZE[32382] &quot;$INFO[Skin.String(CustomSearchTerm),[CAPITALIZE],[/CAPITALIZE]]&quot;$INFO[Container(123).NumItems, (,)]"/>
				<param name="content" value="videodb://tvshows/titles/-1/-1/-1/-1/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22plot%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22episodes%22%7D"/>
			</include>

			<!-- Movies with Tag -->
			<include content="SearchPosterList" condition="!Skin.HasSetting(DisableSearchMovies) + !Skin.HasSetting(DisableSearchMoviesTags) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="124"/>
				<param name="labelid" value="1241"/>
                <param name="headline" value="$LOCALIZE[32451] &quot;$INFO[Skin.String(CustomSearchTerm),[CAPITALIZE],[/CAPITALIZE]]&quot;$INFO[Container(124).NumItems, (,)]"/>
				<param name="content" value="videodb://movies/titles/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22sorttitle%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22tag%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D"/>
			</include>

            <!-- Artist by Name -->
			<include content="SearchSquareList" condition="!Skin.HasSetting(DisableSearchArtists) + String.IsEmpty(Window(Home).Property(DoVideoSearch))">
				<param name="id" value="125"/>
				<param name="labelid" value="1251"/>
                <param name="headline" value="$INFO[Container(125).NumItems,$LOCALIZE[133] (,)]"/>
				<param name="content" value="musicdb://artists/?xsp=%7B%22order%22%3A%7B%22direction%22%3A%22ascending%22%2C%22ignorefolders%22%3A0%2C%22method%22%3A%22artist%22%7D%2C%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22artist%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(CustomSearchTerm)]%22%5D%7D%5D%7D%2C%22type%22%3A%22artists%22%7D"/>
			</include>
            <!-- Album by Title -->
			<include content="SearchSquareList" condition="!Skin.HasSetting(DisableSearchAlbums) + String.IsEmpty(Window(Home).Property(DoVideoSearch))">
				<param name="id" value="126"/>
				<param name="labelid" value="1261"/>
                <param name="headline" value="$INFO[Container(126).NumItems,$LOCALIZE[132] (,)]"/>
				<param name="content" value="musicdb://albums/?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22album%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22album%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22$INFO[Skin.String(CustomSearchTerm)]%22%5d%7d%5d%7d%2c%22type%22%3a%22albums%22%7d"/>
			</include>
            <!-- Song by Ttile -->
			<include content="SearchSquareList" condition="!Skin.HasSetting(DisableSearchSongs) + String.IsEmpty(Window(Home).Property(DoVideoSearch))">
				<param name="id" value="127"/>
				<param name="labelid" value="1271"/>
                <param name="headline" value="$INFO[Container(127).NumItems,$LOCALIZE[134] (,)]"/>
				<param name="content" value="musicdb://songs/?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22artist%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22title%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22$INFO[Skin.String(CustomSearchTerm)]%22%5d%7d%5d%7d%2c%22type%22%3a%22songs%22%7d"/>
			</include>
            <!-- Music Videos by Title -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchMusicVideos) + !Skin.HasSetting(DisableSearchMusicVideosTitle) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="128"/>
				<param name="labelid" value="1281"/>
                <param name="contenttype" value="videos"/>
                <param name="headline" value="$INFO[Container(128).NumItems,$LOCALIZE[20389] (,)]"/>
				<param name="content" value="videodb://musicvideos/titles/?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22sorttitle%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22title%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22$INFO[Skin.String(CustomSearchTerm)]%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d"/>
			</include>
            <!-- Music Videos by Artist -->
			<include content="SearchWideList" condition="!Skin.HasSetting(DisableSearchMusicVideos) + !Skin.HasSetting(DisableSearchMusicVideosArtist) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="129"/>
				<param name="labelid" value="1291"/>
                <param name="contenttype" value="videos"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32036] &quot;[CAPITALIZE],[/CAPITALIZE]&quot;]$INFO[Container(129).NumItems, (,)]"/>
				<param name="content" value="videodb://musicvideos/titles/?xsp=%7b%22order%22%3a%7b%22direction%22%3a%22ascending%22%2c%22ignorefolders%22%3a0%2c%22method%22%3a%22sorttitle%22%7d%2c%22rules%22%3a%7b%22and%22%3a%5b%7b%22field%22%3a%22artist%22%2c%22operator%22%3a%22contains%22%2c%22value%22%3a%5b%22$INFO[Skin.String(CustomSearchTerm)]%22%5d%7d%5d%7d%2c%22type%22%3a%22musicvideos%22%7d"/>
			</include>
            <!-- YouTube by Title -->
			<include content="SearchWideList" condition="System.AddonIsEnabled(plugin.video.youtube) + !Skin.HasSetting(DisableSearchYouTube) + !Skin.HasSetting(OnlyLocalSearches) + String.IsEmpty(Window(Home).Property(DoMusicSearch))">
				<param name="id" value="130"/>
				<param name="labelid" value="1301"/>
                <param name="contenttype" value="videos"/>
                <param name="headline" value="$INFO[Skin.String(CustomSearchTerm),$LOCALIZE[32037] [CAPITALIZE],[/CAPITALIZE]]$INFO[Container(130).NumItems, (,)]"/>
				<param name="content" value="plugin://plugin.video.youtube/kodion/search/query/?q=$INFO[Skin.String(CustomSearchTerm)]&amp;search_type=videos"/>
			</include>
		</control>

		<!-- header bar -->
        <include>Time</include>

        <control type="image" description="Footer Dim BG">
            <posx>0</posx>
            <posy>873</posy>
            <width>1920</width>
            <height>207</height>
            <texture>img/GradientNew.png</texture>
            <colordiffuse>dfcebe9e</colordiffuse>
        </control>
        <control type="image" description="Footer">
            <posx>0</posx>
            <posy>873</posy>
            <width>1920</width>
            <height>207</height>
            <texture>OSD/FS_OSDBackground.png</texture>
            <colordiffuse>dfcebe9e</colordiffuse>
        </control>

        <control type="group" description="Media Info Lite">
		    <include>ContentFade</include>
			<posy>937</posy>
			<posx>390</posx>
			<width>1140</width>
		    <control type="label" description="Title shadow">
		        <left>4</left>
		        <top>4</top>
		        <width>1140</width>
		        <height>50</height>
		        <align>center</align>
		        <textcolor>Black</textcolor>
		        <shadowcolor></shadowcolor>
		        <font>InfoTitle</font>
		        <scroll>false</scroll>
				<label>$VAR[panelheading]</label>
			</control>
			<control type="label" description="Title Label">
			    <width>1140</width>
			    <height>50</height>
			    <align>center</align>
			    <textcolor>$VAR[HighlightColor]</textcolor>
			    <shadowcolor></shadowcolor>
			    <font>InfoTitle</font>
			    <scroll>false</scroll>
			    <label>$VAR[panelheading]</label>
			</control>
			<control type="label" description="Details">
			    <posy>59</posy>
			    <width>1140</width>
			    <height>50</height>
			    <align>center</align>
			    <shadowcolor>Black</shadowcolor>
			    <label>$VAR[ContainerPanelSubHeading]</label>
			</control>
		</control>
		<control type="group">
		    <visible>!Skin.HasSetting(coloredflags)</visible>
			<include>ContentFade</include>
			<control type="grouplist" description="Left Flags">
			    <left>20</left>
			    <top>1010</top>
			    <width>520</width>
			    <height>80</height>
			    <itemgap>20</itemgap>
			    <orientation>horizontal</orientation>
			    <align>left</align>
			    <include content="MediaFlagItems">
				    <param name="showvideobadge">true</param>
				    <param name="showaudiobadge">false</param>
				    <param name="showratingbadge">false</param>
				    <param name="diffuse">$VAR[LabelTextColor]</param>
			    </include>
		    </control>
		    <control type="grouplist" description="Right Flags">
			    <left>1600</left>
			    <top>1010</top>
			    <width>300</width>
			    <height>80</height>
			    <itemgap>20</itemgap>
			    <orientation>horizontal</orientation>
			    <align>right</align>
			    <include content="MediaFlagItems">
				    <param name="showvideobadge">false</param>
				    <param name="showaudiobadge">true</param>
				    <param name="showratingbadge">true</param>
				    <param name="diffuse">$VAR[LabelTextColor]</param>
			    </include>
		    </control>
		</control>
		<control type="group">
		    <visible>Skin.HasSetting(coloredflags)</visible>
			<include>ContentFade</include>
			<control type="grouplist" description="Left Flags">
			    <left>0</left>
			    <top>1010</top>
			    <width>520</width>
			    <height>80</height>
			    <itemgap>20</itemgap>
			    <orientation>horizontal</orientation>
			    <align>left</align>
			    <include content="MediaFlagItems">
				    <param name="showvideobadge">true</param>
				    <param name="showaudiobadge">false</param>
				    <param name="showratingbadge">false</param>
				    <param name="diffuse">$VAR[LabelTextColor]</param>
			    </include>
		    </control>
		    <control type="grouplist" description="Right Flags">
			    <left>1600</left>
			    <top>1010</top>
			    <width>300</width>
			    <height>80</height>
			    <itemgap>20</itemgap>
			    <orientation>horizontal</orientation>
			    <align>right</align>
			    <include content="MediaFlagItems">
				    <param name="showvideobadge">false</param>
				    <param name="showaudiobadge">true</param>
				    <param name="showratingbadge">true</param>
				    <param name="diffuse">$VAR[LabelTextColor]</param>
			    </include>
		    </control>
		</control>

        <control type="group">
			<visible>!Control.IsVisible(101) + !Control.IsVisible(102) + !Control.IsVisible(103) + !Control.IsVisible(104) + !Control.IsVisible(105) + !Control.IsVisible(106) + !Control.IsVisible(107) +
			         !Control.IsVisible(108) + !Control.IsVisible(109) + !Control.IsVisible(110) + !Control.IsVisible(111) + !Control.IsVisible(112) + !Control.IsVisible(113) + !Control.IsVisible(114) +
					 !Control.IsVisible(115) + !Control.IsVisible(116) + !Control.IsVisible(117) + !Control.IsVisible(118) + !Control.IsVisible(119) + !Control.IsVisible(120) + !Control.IsVisible(121) +
					 !Control.IsVisible(122) + !Control.IsVisible(123) + !Control.IsVisible(124) + !Control.IsVisible(125) + !Control.IsVisible(126) + !Control.IsVisible(127) + !Control.IsVisible(128) +
					 !Control.IsVisible(129) + !Control.IsVisible(130)</visible>
			<width>100%</width>
			<height>420</height>
			<control type="label">
                <top>60</top>
		        <left>65</left>
		        <width>auto</width>
                <height>30</height>
                <font>font16</font>
     		    <align>left</align>
			    <aligny>center</aligny>
			    <label>$LOCALIZE[19055]</label>
			    <textcolor>$VAR[HighlightColor]</textcolor>
			</control>
		</control>

	</controls>
</window>
