<?xml version="1.0" encoding="utf-8"?>
<window type="dialog" id="1168">
	<defaultcontrol always="true">500</defaultcontrol>
	<onload>RunScript(script.colorbox,info=blur,id='"$INFO[ListItem.Art(fanart)]"',radius=$VAR[VideoInfoBlurLevel],prefix=YouTubeInfo)</onload>
	<onunload>ClearProperty(YouTubeInfo.ImageColor,home)</onunload>
	<onunload>ClearProperty(YouTubeInfo.ImageFilter,home)</onunload>
	<controls>
		<control type="image">
			<include>Dimensions_Fullscreen</include>
			<animation effect="fade" start="0" end="100" time="2300" tween="cubic" easing="inout">WindowOpen</animation>
			<aspectratio align="center">scale</aspectratio>
			<texture colordiffuse="$INFO[Window(home).Property(YouTubeInfo.ImageColor)]" background="true">$INFO[ListItem.Art(fanart)]</texture>
		</control>
		<control type="image">
			<include>Dimensions_Fullscreen</include>
			<animation effect="fade" start="0" end="100" time="2300" tween="cubic" easing="inout">WindowOpen</animation>
			<aspectratio align="center">scale</aspectratio>
			<texture colordiffuse="$INFO[Window(home).Property(YouTubeInfo.ImageColor)]" background="true" diffuse="diffuse/dv-mask.png">$INFO[Window(home).Property(YouTubeInfo.ImageFilter)]</texture>
		</control>
		<control type="label">
			<width>360</width>
			<left>880</left>
			<bottom>-100</bottom>
			<height>234</height>
			<aligny>bottom</aligny>
			<align>left</align>
			<font>symbolbiggest</font>
			<textcolor>$VAR[EmbyRightColourHighlight]</textcolor>
			<label></label>
			<animation type="WindowOpen" reversible="true">
				<effect type="fade" start="00" end="100" time="2300" tween="quadratic" easing="out" delay="1000" />
				<effect type="slide" start="0,500" end="0,0" time="1000" tween="cubic" easing="inout" delay="1000" />
			</animation>
			<animation type="WindowClose" reversible="true">
				<effect type="fade" start="100" end="00" time="200" tween="quadratic" easing="out" delay="0" />
				<effect type="slide" start="0,0" end="0,500" time="200" tween="cubic" easing="inout" delay="0" />
			</animation>
		</control>
		<include>Furniture_HeaderEmby</include>
		<include>Furniture_EmbyClock</include>
		<control type="group">
			<posy>0</posy>
			<visible>!Window.IsActive(busydialog)</visible>
			<animation type="WindowOpen" reversible="false">
				<effect type="zoom" start="80" end="100" center="960,540" delay="500" tween="back" time="240" />
				<effect type="fade" delay="500" end="100" time="240" />
			</animation>
			<animation type="WindowClose" reversible="false">
				<effect type="zoom" start="100" end="80" center="960,540" easing="in" tween="back" time="240" />
				<effect type="fade" start="100" end="0" time="240" />
			</animation>
			<animation type="Visible" reversible="false">
				<effect type="zoom" start="80" end="100" center="960,540" delay="500" tween="back" time="240" />
				<effect type="fade" delay="500" end="100" time="240" />
			</animation>
			<animation type="Hidden" reversible="false">
				<effect type="zoom" start="100" end="80" center="960,540" easing="in" tween="back" time="240" />
				<effect type="fade" start="100" end="0" time="240" />
			</animation>
			<control type="image">
				<posy>135</posy>
				<width>475</width>
				<height>410</height>
				<animation effect="fade" time="320" delay="300">Visible</animation>
				<texture colordiffuse="$INFO[Window(home).Property(YouTubeInfo.ImageColor)]">buttons/roundedbutton-focus.png</texture>
				<animation effect="slide" end="0,425" time="300" tween="cubic" easing="inout" condition="Container(500).Row(1)">Conditional</animation>
				<animation effect="slide" end="475,0" time="300" tween="cubic" easing="inout" condition="Container(500).Column(3)">Conditional</animation>
				<animation effect="slide" end="475,0" time="300" tween="cubic" easing="inout" condition="Container(500).Column(3) | Container(500).Column(2)">Conditional</animation>
				<animation effect="slide" end="475,0" time="300" tween="cubic" easing="inout" condition="Container(500).Column(3) | Container(500).Column(2) | Container(500).Column(1)">Conditional</animation>
			</control>
			<control type="panel" id="500">
				<posx>0</posx>
				<posy>150</posy>
				<width>1920</width>
				<height>820</height>
				<viewtype label="Wall">icon</viewtype>
				<pagecontrol>72</pagecontrol>
				<preloaditems>2</preloaditems>
				<scrolltime tween="quadratic">300</scrolltime>
				<onleft>9000</onleft>
				<onright>72</onright>
				<onup>500</onup>
				<ondown>500</ondown>
				<orientation>vertical</orientation>
				<itemlayout height="410" width="475">
					<include>YoutubeItemLayout</include>
				</itemlayout>
				<focusedlayout height="410" width="475">
					<include>YoutubeFocusedLayout</include>
				</focusedlayout>
				<content>plugin://script.extendedinfo?info=youtubesearch&amp;&amp;id=$INFO[Window(Home).Property(listcontent)]</content>
			</control>
		</control>
	</controls>
</window>