<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">8</defaultcontrol>
	<onload>SetProperty(infobackground,$ESCINFO[ListItem.Art(fanart)],home)</onload>
	<onunload>ClearProperty(infobackground,home)</onunload>
	<controls>
		<control type="group">
			<centertop>50%</centertop>
			<height>1080</height>
			<centerleft>50%</centerleft>
			<width>1920</width>
			<animation effect="fade" start="100" end="0" time="200" tween="sine" condition="Window.IsVisible(script-script.extendedinfo-DialogVideoInfo.xml) | Window.IsVisible(script-script.extendedinfo-DialogInfo.xml) | Window.IsVisible(script-script.extendedinfo-VideoList.xml)">Conditional</animation>
			<control type="group">
				<top>150</top>
				<left>66</left>
				<include>OpenClose_Left</include>
				<control type="image">
					<top>-16</top>
					<left>-16</left>
					<width>566</width>
					<height>841</height>
					<texture>colors/black.png</texture>
					<bordertexture border="21">overlays/shadow.png</bordertexture>
					<bordersize>20</bordersize>
				</control>
				<control type="image">
					<depth>DepthContentPopout</depth>
					<left>4</left>
					<top>4</top>
					<width>526</width>
					<height>801</height>
					<aspectratio>scale</aspectratio>
					<texture fallback="DefaultVideo.png">$VAR[InfoDialogPosterVar]</texture>
				</control>
				<control type="group">
					<visible>String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,video)</visible>
					<visible>!String.IsEmpty(ListItem.Thumb) + !String.IsEqual(ListItem.Thumb,ListItem.Art(poster))</visible>
					<control type="image">
						<left>4</left>
						<top>4</top>
						<width>526</width>
						<height>801</height>
						<aspectratio>stretch</aspectratio>
						<texture colordiffuse="AAFFFFFF" fallback="DefaultVideo.png">colors/black.png</texture>
					</control>
					<control type="image">
						<left>14</left>
						<top>4</top>
						<width>506</width>
						<height>801</height>
						<aspectratio>keep</aspectratio>
						<texture>$INFO[ListItem.Thumb]</texture>
						<bordertexture border="21">overlays/shadow.png</bordertexture>
						<bordersize>20</bordersize>
					</control>
				</control>
			</control>
			<control type="group">
				<top>154</top>
				<left>70</left>
				<visible>String.IsEqual(ListItem.DBType,musicvideo)</visible>
				<include>OpenClose_Left</include>
				<control type="image">
					<width>526</width>
					<height>801</height>
					<aspectratio>stretch</aspectratio>
					<texture colordiffuse="FF555555">DefaultVideo.png</texture>
				</control>
				<control type="image">
					<left>10</left>
					<width>506</width>
					<height>801</height>
					<aspectratio>keep</aspectratio>
					<texture>$INFO[ListItem.Thumb]</texture>
					<bordertexture border="21">overlays/shadow.png</bordertexture>
					<bordersize>20</bordersize>
				</control>
			</control>
			<control type="group">
				<include>OpenClose_Right</include>
				<left>620</left>
				<top>-30</top>
				<control type="group" id="140">
					<top>468</top>
					<control type="button" id="138">
						<width>754</width>
						<height>418</height>
						<textoffsetx>40</textoffsetx>
						<textoffsety>20</textoffsety>
						<aligny>bottom</aligny>
						<label></label>
						<onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Header,$LOCALIZE[207],home)</onclick>
						<onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Text,$ESCINFO[ListItem.Plot],home)</onclick>
						<onclick condition="!String.IsEmpty(ListItem.Plot)">ActivateWindow(1102)</onclick>
						<onup>50</onup>
						<onleft>138</onleft>
						<onright>138</onright>
						<ondown>5000</ondown>
						<texturenofocus border="21">dialogs/dialog-bg.png</texturenofocus>
						<visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
					</control>
					<control type="image">
						<left>735</left>
						<width>512</width>
						<height>418</height>
						<aligny>bottom</aligny>
						<texture border="21">dialogs/dialog-bg.png</texture>
						<visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
					</control>
					<control type="button" id="139">
						<width>1245</width>
						<height>418</height>
						<textoffsetx>40</textoffsetx>
						<textoffsety>20</textoffsety>
						<aligny>bottom</aligny>
						<label></label>
						<onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Header,$LOCALIZE[207],home)</onclick>
						<onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Text,$ESCINFO[ListItem.Plot],home)</onclick>
						<onclick condition="!String.IsEmpty(ListItem.Plot)">ActivateWindow(1102)</onclick>
						<onup>50</onup>
						<onleft>139</onleft>
						<onright>139</onright>
						<ondown>5000</ondown>
						<texturenofocus border="21">dialogs/dialog-bg.png</texturenofocus>
						<visible>!Integer.IsGreater(Container(4000).NumItems,0)</visible>
					</control>
					<control type="textbox">
						<left>40</left>
						<top>25</top>
						<width>670</width>
						<height>363</height>
						<label fallback="19055">$INFO[ListItem.Plot]</label>
						<autoscroll delay="10000" time="5000" repeat="10000">Skin.HasSetting(AutoScroll)</autoscroll>
						<visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
					</control>
					<control type="textbox">
						<left>40</left>
						<top>25</top>
						<width>1165</width>
						<height>363</height>
						<label fallback="19055">$INFO[ListItem.Plot]</label>
						<autoscroll delay="10000" time="5000" repeat="10000">Skin.HasSetting(AutoScroll)</autoscroll>
						<visible>!Integer.IsGreater(Container(4000).NumItems,0)</visible>
					</control>
				</control>
				<control type="grouplist" id="4000">
					<orientation>vertical</orientation>
					<left>730</left>
					<top>488</top>
					<height>355</height>
					<itemgap>-8</itemgap>
					<ondown>5000</ondown>
					<onup>50</onup>
					<onright>140</onright>
					<onleft>140</onleft>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="147" />
						<param name="label" value="$INFO[ListItem.Director,[COLOR button_focus]$LOCALIZE[20339]: [/COLOR]]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Director)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="148" />
						<param name="label" value="$INFO[ListItem.Writer,[COLOR button_focus]$LOCALIZE[20417]: [/COLOR]]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Writer)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="149" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[563]: [/COLOR]$INFO[ListItem.RatingAndVotes]" />
						<param name="visible" value="!String.IsEmpty(ListItem.RatingAndVotes)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="150" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[515]: [/COLOR]$INFO[ListItem.Genre]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Genre) + String.IsEqual(ListItem.DBType,movie)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="152" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[21875]: [/COLOR]$INFO[ListItem.Country]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Country)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="153" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[29909]: [/COLOR]$INFO[ListItem.Studio]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Studio)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="154" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[20416]: [/COLOR]$INFO[ListItem.Premiered]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Premiered)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="155" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[31048]: [/COLOR]$INFO[ListItem.Season,, $LOCALIZE[36905]]$INFO[ListItem.Episode, (, $LOCALIZE[20453])]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Season) + !String.IsEqual(ListItem.DBType,episode)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="156" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[31017]: [/COLOR]$INFO[ListItem.Mpaa]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Mpaa)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="157" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[20457]: [/COLOR]$INFO[ListItem.Set]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Set)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="157" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[20459]: [/COLOR]$INFO[ListItem.Tag]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Tag)" />
					</include>
					<include content="InfoDialogMetadata">
						<param name="control_id" value="157" />
						<param name="label" value="[COLOR button_focus]$LOCALIZE[126]: [/COLOR]$INFO[ListItem.Status]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Status)" />
					</include>
				</control>
				<control type="group">
					<visible>Integer.IsEqual(Container(50).NumItems,0) + String.IsEmpty(ListItem.Art(tvshow.banner)) + String.IsEmpty(ListItem.Art(banner))</visible>
					<control type="image">
						<left>0</left>
						<top>164</top>
						<width>1245</width>
						<height>328</height>
						<texture border="21">dialogs/dialog-bg.png</texture>
					</control>
					<control type="textbox">
						<left>17</left>
						<top>185</top>
						<width>1210</width>
						<height>283</height>
						<align>center</align>
						<aligny>center</aligny>
						<font>font36_title</font>
						<label>$LOCALIZE[31079]</label>
					</control>
				</control>
				<control type="image">
					<left>77</left>
					<top>185</top>
					<width>1090</width>
					<height>283</height>
					<fadetime>150</fadetime>
					<aspectratio>keep</aspectratio>
					<texture>$VAR[BannerVar]</texture>
					<visible>Integer.IsEqual(Container(50).NumItems,0)</visible>
				</control>
				<control type="panel" id="50">
					<top>158</top>
					<width>1235</width>
					<height>370</height>
					<onleft>50</onleft>
					<onright>50</onright>
					<onup condition="System.hasAddon(script.extendedinfo) + Control.HasFocus(50)">RunScript(script.extendedinfo,info=extendedactorinfo,name=$INFO[Container(50).ListItem.Label])</onup>
					<onup condition="!System.hasAddon(script.extendedinfo)">InstallAddon(script.extendedinfo)</onup>
					<ondown>140</ondown>
					<scrolltime>200</scrolltime>
					<orientation>horizontal</orientation>
					<itemlayout height="317" width="245">
						<control type="group">
							<top>10</top>
							<control type="image">
								<top>0</top>
								<width>264</width>
								<height>317</height>
								<texture>DefaultActorSolid.png</texture>
								<aspectratio aligny="center">scale</aspectratio>
								<bordertexture border="21">overlays/shadow.png</bordertexture>
								<bordersize>20</bordersize>
							</control>
							<control type="image">
								<top>20</top>
								<left>20</left>
								<width>224</width>
								<height>277</height>
								<texture background="true">$INFO[ListItem.Thumb]</texture>
								<aspectratio aligny="center">scale</aspectratio>
							</control>
							<control type="image">
								<left>20</left>
								<width>224</width>
								<height>80</height>
								<bottom>10</bottom>
								<texture>overlays/overlayfade.png</texture>
								<animation effect="fade" start="100" end="80" time="0" condition="true">Conditional</animation>
							</control>
							<control type="label">
								<left>25</left>
								<width>214</width>
								<height>67</height>
								<top>218</top>
								<align>center</align>
								<aligny>center</aligny>
								<font>font12</font>
								<label>$INFO[ListItem.Label]</label>
							</control>
							<control type="label">
								<left>25</left>
								<width>214</width>
								<height>67</height>
								<top>245</top>
								<align>center</align>
								<aligny>center</aligny>
								<font>font12</font>
								<textcolor>grey</textcolor>
								<label>$INFO[ListItem.Label2]</label>
							</control>
						</control>
					</itemlayout>
					<focusedlayout height="317" width="245">
						<control type="group">
							<left>0</left>
							<top>10</top>
							<control type="image">
								<top>0</top>
								<width>264</width>
								<height>317</height>
								<texture>DefaultActorSolid.png</texture>
								<aspectratio aligny="center">scale</aspectratio>
								<bordertexture border="21">overlays/shadow.png</bordertexture>
								<bordersize>20</bordersize>
							</control>
							<control type="image">
								<top>20</top>
								<left>20</left>
								<width>224</width>
								<height>277</height>
								<texture background="true">$INFO[ListItem.Thumb]</texture>
								<aspectratio aligny="center">scale</aspectratio>
							</control>
							<control type="image">
								<left>20</left>
								<width>224</width>
								<height>80</height>
								<bottom>10</bottom>
								<texture>overlays/overlayfade.png</texture>
								<animation effect="fade" start="100" end="80" time="0" condition="true">Conditional</animation>
							</control>
							<control type="label">
								<left>25</left>
								<width>214</width>
								<height>67</height>
								<top>218</top>
								<align>center</align>
								<aligny>center</aligny>
								<font>font12</font>
								<scroll>true</scroll>
								<label>$INFO[ListItem.Label]</label>
							</control>
							<control type="label">
								<left>25</left>
								<width>214</width>
								<height>67</height>
								<top>245</top>
								<align>center</align>
								<aligny>center</aligny>
								<font>font12</font>
								<textcolor>grey</textcolor>
								<scroll>true</scroll>
								<label>$INFO[ListItem.Label2]</label>
							</control>
							<control type="image">
								<left>16</left>
								<top>16</top>
								<width>232</width>
								<height>285</height>
								<texture border="8" colordiffuse="button_focus">buttons/thumbnail_focused.png</texture>
								<visible>Control.HasFocus(50)</visible>
							</control>
						</control>
					</focusedlayout>
				</control>
				<control type="grouplist" id="5000">
					<left>0</left>
					<top>864</top>
					<width>1246</width>
					<height>400</height>
					<onleft>5000</onleft>
					<onright>5000</onright>
					<onup>140</onup>
					<ondown condition="!Integer.IsGreater(Container(5000).Position,4)">SetFocus(50,$INFO[Container(5000).Position])</ondown>
					<ondown condition="Integer.IsGreater(Container(5000).Position,4)">SetFocus(50,4)</ondown>
					<itemgap>-16</itemgap>
					<align>center</align>
					<orientation>horizontal</orientation>
					<scrolltime tween="quadratic">200</scrolltime>
					<include content="InfoDialogButton">
						<param name="id" value="8" />
						<param name="icon" value="icons/infodialogs/play.png" />
						<param name="label" value="$LOCALIZE[208]" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="11" />
						<param name="icon" value="icons/infodialogs/trailer.png" />
						<param name="label" value="$LOCALIZE[20410]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Trailer) + ![String.StartsWith(Container.FolderPath,plugin://) + String.Contains(Container.FolderPath,trailer)]" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="440" />
						<param name="icon" value="icons/infodialogs/trailer_search.png" />
						<param name="label" value="$LOCALIZE[31090]" />
						<param name="onclick_1" value="Action(close)" />
						<param name="onclick_2" value="RunScript(script.extendedinfo,info=youtubebrowser,id=$INFO[ListItem.Title] $INFO[ListItem.Year])" />
						<param name="visible" value="System.hasAddon(script.extendedinfo) + String.IsEqual(ListItem.DBType,movie) + !Control.IsVisible(11)" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="441" />
						<param name="icon" value="icons/infodialogs/cinema.png" />
						<param name="onclick_1" value="Dialog.Close(MovieInformation)" />
						<param name="onclick_2" value="RunScript(script.cinemavision,experience)" />
						<param name="label" value="$LOCALIZE[31003]" />
						<param name="visible" value="System.HasAddon(script.cinemavision) + [String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,tvshow) | String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,episode)]" />
					</include>
					<control type="group" id="400">
						<width>262</width>
						<visible>Control.IsEnabled(7) | !String.IsEmpty(ListItem.UserRating)</visible>
						<control type="button" id="7">
							<include content="VideoInfoButtonsCommon">
								<param name="icon" value="" />
							</include>
							<label>$LOCALIZE[31033]</label>
							<onleft>441</onleft>
							<onright>101</onright>
							<onup>140</onup>
							<enable>String.IsEmpty(Container.PluginName)</enable>
							<ondown condition="Integer.IsEqual(Container(5000).CurrentItem,1)">SetFocus(50,0)</ondown>
							<ondown condition="Integer.IsEqual(Container(5000).CurrentItem,2)">SetFocus(50,1)</ondown>
							<ondown condition="Integer.IsEqual(Container(5000).CurrentItem,3)">SetFocus(50,2)</ondown>
							<ondown condition="Integer.IsEqual(Container(5000).CurrentItem,4)">SetFocus(50,3)</ondown>
							<ondown condition="Integer.IsEqual(Container(5000).CurrentItem,5)">SetFocus(50,4)</ondown>
						</control>
						<control type="label">
							<label>$INFO[ListItem.UserRating]</label>
							<font>font45_title</font>
							<left>0</left>
							<top>24</top>
							<width>262</width>
							<align>center</align>
						</control>
						<control type="image">
							<texture>icons/infodialogs/rating.png</texture>
							<left>107</left>
							<top>30</top>
							<width>48</width>
							<height>48</height>
							<align>center</align>
							<visible>String.IsEmpty(ListItem.UserRating)</visible>
						</control>
					</control>
					<include content="InfoDialogButton">
						<param name="id" value="101" />
						<param name="icon" value="icons/infodialogs/info.png" />
						<param name="label" value="$LOCALIZE[31034]" />
						<param name="onclick_1" value="RunScript(script.extendedinfo,info=openinfodialog)" />
						<param name="visible" value="System.hasAddon(script.extendedinfo) + [String.IsEqual(ListItem.DbType,movie) | String.IsEqual(ListItem.DbType,tvshow) | String.IsEqual(ListItem.DbType,season) | String.IsEqual(ListItem.DbType,episode)]" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="102" />
						<param name="icon" value="icons/infodialogs/image.png" />
						<param name="label" value="$LOCALIZE[31028]" />
						<param name="onclick_1" value="SetProperty(fanart,$ESCINFO[ListItem.Art(fanart)],home)" />
						<param name="onclick_2" value="ActivateWindow(1104)" />
						<param name="visible" value="!String.IsEmpty(ListItem.Art(fanart))" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="13" />
						<param name="icon" value="icons/infodialogs/director.png" />
						<param name="label" value="$LOCALIZE[31123]" />
						<param name="visible" value="!String.IsEmpty(ListItem.Director)" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="10" />
						<param name="icon" value="icons/infodialogs/choose_image.png" />
						<param name="label" value="$LOCALIZE[13511]" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="6" />
						<param name="icon" value="icons/infodialogs/update.png" />
						<param name="label" value="$LOCALIZE[184]" />
						<param name="visible" value="Control.IsEnabled(6)" />
					</include>
				</control>
				<include content="LeftRightArrows">
					<param name="list_id" value="5000" />
					<param name="left_posx" value="-15" />
					<param name="right_posx" value="1240" />
					<param name="posy" value="924" />
					<param name="visible" value="true" />
				</include>
				<include content="LeftRightArrows">
					<param name="list_id" value="50" />
					<param name="left_posx" value="-15" />
					<param name="right_posx" value="1240" />
					<param name="posy" value="320" />
					<param name="visible" value="true" />
				</include>
			</control>
			<control type="label">
				<right>80</right>
				<top>970</top>
				<align>right</align>
				<width>1400</width>
				<height>44</height>
				<font>font20_title</font>
				<textcolor>99FFFFFF</textcolor>
				<shadowcolor>text_shadow</shadowcolor>
				<haspath>true</haspath>
				<label>$INFO[ListItem.FileNameANdPath]</label>
				<visible>Control.HasFocus(6)</visible>
				<animation effect="fade" start="0" end="100" time="300" delay="300">WindowOpen</animation>
				<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
				<animation effect="fade" start="0" end="100" time="300">Visible</animation>
				<animation effect="fade" start="100" end="0" time="200">Hidden</animation>
			</control>
			<include content="InfoDialogTopBarInfo">
				<param name="main_label" value="$VAR[VideoInfoMainLabelVar]" />
				<param name="sub_label" value="$VAR[VideoInfoSubLabelVar]" />
			</include>
		</control>
		<control type="group">
			<animation effect="fade" start="0" end="100" time="300" delay="300">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="200">WindowClose</animation>
			<centerleft>50%</centerleft>
			<width>1920</width>
			<animation effect="fade" start="100" end="0" time="200" tween="sine" condition="Window.IsVisible(script-script.extendedinfo-DialogVideoInfo.xml) | Window.IsVisible(script-script.extendedinfo-DialogInfo.xml) | Window.IsVisible(script-script.extendedinfo-VideoList.xml)">Conditional</animation>
			<bottom>0</bottom>
			<height>70</height>
			<include>MediaFlags</include>
			<control type="group">
				<visible>Control.HasFocus(50)</visible>
				<animation effect="fade" time="200">VisibleChange</animation>
				<top>10</top>
				<left>0</left>
				<control type="image">
					<left>21</left>
					<width>36</width>
					<height>36</height>
					<animation effect="rotate" end="-90" center="36,19" time="0" condition="true">Conditional</animation>
					<texture colordiffuse="grey">frame/menu-nofo.png</texture>
				</control>
				<control type="label">
					<left>74</left>
					<width>500</width>
					<height>44</height>
					<shadowcolor>text_shadow</shadowcolor>
					<label>$LOCALIZE[31125]</label>
				</control>
			</control>
			<control type="group">
				<visible>Control.HasFocus(138)</visible>
				<animation effect="fade" time="200">VisibleChange</animation>
				<top>10</top>
				<left>0</left>
				<control type="image">
					<top>4</top>
					<left>17</left>
					<width>36</width>
					<height>36</height>
					<texture colordiffuse="grey">lists/played-total.png</texture>
				</control>
				<control type="label">
					<left>74</left>
					<width>800</width>
					<height>44</height>
					<shadowcolor>text_shadow</shadowcolor>
					<label>$LOCALIZE[31126]</label>
				</control>
			</control>
		</control>
	</controls>
</window>
