<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">9000</defaultcontrol>
	<onload>SetProperty(infobackground,$ESCINFO[ListItem.Art(fanart)],home)</onload>
	<onunload>ClearProperty(infobackground,home)</onunload>
	<controls>
		<control type="group">
			<animation effect="fade" start="0" end="100" time="100">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="100">WindowClose</animation>
			<animation effect="fade" start="100" end="75" time="0" condition="true">Conditional</animation>
			<visible>Window.isActive(fullscreenvideo)</visible>
			<include>ColoredBackgroundImages</include>
		</control>
		<control type="group">
			<centertop>50%</centertop>
			<height>1080</height>
			<centerleft>50%</centerleft>
			<width>1920</width>
			<control type="image">
				<include>OpenClose_Left</include>
				<left>114</left>
				<top>236</top>
				<width>461</width>
				<height>461</height>
				<aspectratio>keep</aspectratio>
				<texture fallback="DefaultTVShows.png">$INFO[ListItem.Icon]</texture>
			</control>
			<control type="group">
				<top>230</top>
				<left>50</left>
				<include>OpenClose_Right</include>
				<control type="button" id="61">
					<left>600</left>
					<top>-18</top>
					<width>1170</width>
					<height>509</height>
					<font></font>
					<onleft>61</onleft>
					<onright>61</onright>
					<ondown>9000</ondown>
					<onup>49</onup>
					<onclick>SetProperty(TextViewer_Header,$LOCALIZE[207],home)</onclick>
					<onclick>SetProperty(TextViewer_Text,$ESCINFO[ListItem.Plot],home)</onclick>
					<onclick>ActivateWindow(1102)</onclick>
				</control>
				<control type="textbox" id="400">
					<left>660</left>
					<top>20</top>
					<width>1050</width>
					<height>425</height>
					<align>justify</align>
					<label>$INFO[ListItem.StartTime] - $INFO[ListItem.EndTime] ($INFO[ListItem.Duration])[CR]$INFO[ListItem.StartDate][CR]$INFO[ListItem.Season, [COLOR grey]S[/COLOR]]$INFO[ListItem.Episode, [COLOR grey]E[/COLOR],: ]$INFO[ListItem.EpisodeName,[B],[/B][CR]]$INFO[ListItem.Genre,[COLOR grey]$LOCALIZE[515]:[/COLOR] ,[CR]]$INFO[ListItem.Writer,[COLOR grey]$LOCALIZE[20417]:[/COLOR] ,[CR]]$INFO[ListItem.Director,[COLOR grey]$LOCALIZE[20339]:[/COLOR] ,[CR]]$INFO[ListItem.Cast,[COLOR grey]$LOCALIZE[206]:[/COLOR] ,[CR]][CR]$INFO[ListItem.Plot]</label>
					<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
				</control>
				<control type="grouplist" id="9000">
					<left>150</left>
					<top>600</top>
					<width>1520</width>
					<height>160</height>
					<itemgap>10</itemgap>
					<align>center</align>
					<orientation>horizontal</orientation>
					<defaultcontrol>5</defaultcontrol>
					<onleft>9000</onleft>
					<onright>9000</onright>
					<onup>49</onup>
					<ondown>49</ondown>
					<include content="InfoDialogButton">
						<param name="id" value="5" />
						<param name="icon" value="icons/infodialogs/launch.png" />
						<param name="label" value="$LOCALIZE[19165]" />
						<param name="visible" value="Window.IsActive(PVRGuideInfo)" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="4" />
						<param name="icon" value="icons/infodialogs/similar.png" />
						<param name="label" value="$LOCALIZE[19003]" />
						<param name="visible" value="Window.IsActive(PVRGuideInfo)" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="8" />
						<param name="icon" value="icons/infodialogs/play_record.png" />
						<param name="label" value="$LOCALIZE[19687]" />
						<param name="visible" value="Window.IsActive(PVRGuideInfo) | Window.IsActive(PVRRecordingInfo)" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="6" />
						<param name="icon" value="icons/infodialogs/record.png" />
						<param name="visible" value="Window.IsActive(PVRGuideInfo)" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="9" />
						<param name="icon" value="icons/infodialogs/timer.png" />
						<param name="label" value="$LOCALIZE[19061]" />
						<param name="visible" value="Window.IsActive(PVRGuideInfo)" />
					</include>
					<include content="InfoDialogButton">
						<param name="id" value="440" />
						<param name="icon" value="icons/infodialogs/youtube.png" />
						<param name="label" value="$LOCALIZE[31114]" />
						<param name="onclick_1" value="Action(close)" />
						<param name="onclick_2" value="RunScript(script.extendedinfo,info=youtubebrowser,id=$INFO[ListItem.Title])" />
						<param name="visible" value="System.hasAddon(script.extendedinfo)" />
					</include>
				</control>
			</control>
			<include content="InfoDialogTopBarInfo">
				<param name="main_label" value="$INFO[ListItem.Title]$INFO[ListItem.Season, ]$INFO[ListItem.Episode,[COLOR grey]x[/COLOR]]" />
				<param name="sub_label" value="$INFO[ListItem.ChannelName]" />
				<param name="posy" value="40" />
			</include>
		</control>
	</controls>
</window>
