<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="2003">
	<defaultcontrol always="true">9000</defaultcontrol>
	<onload>RunScript(script.colorbox,info=blur,id='"$VAR[PVRFanart]"',radius=$VAR[VideoInfoBlurLevel],prefix=PVRInfo)</onload>
	<onload>RunScript(script.colorbox,info=blur,id='"$INFO[Window(home).Property(SkinHelper.PVR.Thumb)]"',radius=$VAR[VideoInfoBlurLevel],prefix=PVRThumbInfo)</onload>
	<controls>
		<include>GlobalBackground</include>
		<control type="group">
			<include condition="!Skin.HasSetting(low.power)">Animation.DVInfo</include>
			<include condition="Skin.HasSetting(low.power)">Animation.DVInfo.Lowpower</include>
			<include>Furniture_EmbyClock</include>
			<include>Furniture_HeaderEmby</include>
			<control type="image">
				<include>Dimensions_Fullscreen</include>
				<aspectratio align="center">scale</aspectratio>
				<texture colordiffuse="$INFO[Window(home).Property(PVRInfo.ImageColor)]" background="true" diffuse="diffuse/dv-mask.png">$VAR[PVRFanart]</texture>
				<visible>!Skin.HasSetting(lights.out) + Window.IsVisible(DialogPVRInfo.xml) + !Skin.HasSetting(furniture.info.fanart)</visible>
			</control>
			<control type="group">
				<animation type="Conditional" reversible="true" condition="Window.IsVisible(FileBrowser.xml) | Window.IsVisible(DialogProgress.xml) | Window.IsVisible(DialogYesNo.xml) | Window.IsVisible(DialogOK.xml) | Window.IsVisible(DialogSelect.xml) | Window.IsVisible(DialogContextMenu.xml) | Window.IsVisible(DialogButtonMenu.xml)">
					<effect type="zoom" end="95" start="100" time="200" center="auto" tween="quadratic" easing="in"/>
				</animation>
				<!-- Poster -->
				<control type="group">
					<visible>!Window.IsVisible(script-ExtendedInfo Script-DialogVideoInfo.xml)</visible>
					<visible>!Window.IsVisible(script-ExtendedInfo Script-DialogInfo.xml)</visible>
					<control type="group" description="Poster">
						<left>NewSidePad</left>
						<right>NewSidePad</right>
						<top>TopPad</top>
						<include condition="!Skin.HasSetting(low.power)">Animation.DVInfo</include>
						<include condition="Skin.HasSetting(low.power)">Animation.DVInfo.Lowpower</include>
						<control type="group">
							<left>1654</left>
							<top>759</top>
							<control type="image">
								<width>207</width>
								<height>116</height>
								<texture>$INFO[Window(home).Property(SkinHelper.PVR.Thumb)]</texture>
								<aspectratio align="center" aligny="center">stretch</aspectratio>
								<fadetime>50</fadetime>
							</control>
							<control type="image">
								<left>-217</left>
								<width>207</width>
								<height>116</height>
								<texture>$INFO[Window(home).Property(SkinHelper.PVR.Landscape)]</texture>
								<aspectratio align="center" aligny="center">stretch</aspectratio>
								<fadetime>50</fadetime>
							</control>
							<control type="image">
								<left>-434</left>
								<width>207</width>
								<height>116</height>
								<texture>$INFO[Window(home).Property(SkinHelper.PVR.ChannelLogo)]</texture>
								<aspectratio align="center" aligny="center">stretch</aspectratio>
								<fadetime>50</fadetime>
							</control>
						</control>
						<control type="group">
							<top>-10</top>
							<left>10</left>
							<width>613</width>
							<height>920</height>
							<control type="group">
								<control type="image">
									<left>0</left>
									<width>100%</width>
									<height>100%</height>
									<aspectratio scalediffuse="false">stretch</aspectratio>
									<texture colordiffuse="$VAR[ColorboxPowerModeColor]" background="true">$VAR[FocusedBorderImage]</texture>
								</control>
								<animation type="conditional" condition="true" reversible="false">
									<effect type="zoom" start="100" end="108" time="200" center="auto" tween="quadratic" easing="out"/>
								</animation>
							</control>
							<control type="image">
								<texture>$INFO[Window(home).Property(SkinHelper.PVR.Poster)]</texture>
								<aspectratio scalediffuse="false">stretch</aspectratio>
								<animation type="conditional" condition="true" reversible="false">
									<effect type="rotate" end="1" time="200" center="auto" tween="quadratic" easing="out"/>
								</animation>
								<visible>!IsEmpty(Window(home).Property(SkinHelper.PVR.Poster))</visible>
							</control>
							<control type="group">
								<visible>IsEmpty(Window(home).Property(SkinHelper.PVR.Poster))</visible>
								<control type="image">
									<left>-3</left>
									<width>613</width>
									<height>450</height>
									<aspectratio scalediffuse="false">scale</aspectratio>
									<texture background="true">$INFO[Window(home).Property(SkinHelper.PVR.Thumb)]</texture>
									<animation type="conditional" condition="true" reversible="false">
										<effect type="rotate" end="1" time="200" center="auto" tween="quadratic" easing="out"/>
									</animation>
								</control>
								<control type="image">
									<left>3</left>
									<top>470</top>
									<width>613</width>
									<height>450</height>
									<aspectratio scalediffuse="false">stretch</aspectratio>
									<texture fallback="pvr/background.jpg" background="true">$INFO[Window(home).Property(SkinHelper.PVR.ChannelLogo)]</texture>
									<animation type="conditional" condition="true" reversible="false">
										<effect type="rotate" end="1" time="200" center="auto" tween="quadratic" easing="out"/>
									</animation>
									<visible>!IsEmpty(Window(home).Property(SkinHelper.PVR.ChannelLogo))</visible>
								</control>
								<control type="image">
									<left>3</left>
									<top>470</top>
									<width>613</width>
									<height>450</height>
									<aspectratio scalediffuse="false">stretch</aspectratio>
									<texture fallback="pvr/background.jpg" background="true">$INFO[Window(home).Property(SkinHelper.PVR.Landscape)]</texture>
									<animation type="conditional" condition="true" reversible="false">
										<effect type="rotate" end="1" time="200" center="auto" tween="quadratic" easing="out"/>
									</animation>
									<visible>IsEmpty(Window(home).Property(SkinHelper.PVR.ChannelLogo))</visible>
								</control>
							</control>
							<animation type="conditional" condition="true" reversible="false">
								<effect type="zoom" start="100" end="94" time="200" center="auto" tween="quadratic" easing="out"/>
								<effect type="rotate" end="-1" time="200" center="auto" tween="quadratic" easing="out"/>
							</animation>
						</control>
					</control>
				</control>
				<!-- Main -->
				<control type="group">
					<visible>!Window.IsVisible(script-ExtendedInfo Script-DialogVideoInfo.xml)</visible>
					<visible>!Window.IsVisible(script-ExtendedInfo Script-DialogInfo.xml)</visible>
					<!-- Control Buttons -->
					<control id="9000" type="grouplist">
						<left>653</left>
						<top>901</top>
						<width>1267</width>
						<height>116</height>
						<itemgap>0</itemgap>
						<onleft>9000</onleft>
						<onright>9000</onright>
						<ondown>9000</ondown>
						<orientation>horizontal</orientation>
						<include>DialogVideoInfoAnimation</include>
						<defaultcontrol always="true">5</defaultcontrol>
						<!-- Play Button -->
						<control id="5" type="button">
							<width>116</width>
							<height>116</height>
							<ondown>9500</ondown>
							<onclick>dialog.close(all,true)</onclick>
							<font>symbol</font>
							<label></label>
							<textoffsetx>20</textoffsetx>
							<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
							<focusedcolor>$VAR[EmbyLeftColourHighlight]</focusedcolor>
							<texturefocus colordiffuse="$INFO[Window(home).Property(PVRInfo.ImageColor)]">common/box.png</texturefocus>
							<texturenofocus colordiffuse="$VAR[EmbyLeftColourHighlight]">common/box.png</texturenofocus>
						</control>
						<!-- Record -->
						<control id="66" type="button">
							<width>116</width>
							<height>116</height>
							<ondown>9500</ondown>
							<font>symbol</font>
							<label></label>
							<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
							<textoffsetx>20</textoffsetx>
							<onclick>SendClick(2003,6)</onclick>
							<focusedcolor>$VAR[EmbyMiddleColourHighlight]</focusedcolor>
							<texturefocus colordiffuse="$INFO[Window(home).Property(PVRInfo.ImageColor)]">common/box.png</texturefocus>
							<texturenofocus colordiffuse="$VAR[EmbyMiddleColourHighlight]">common/box.png</texturenofocus>
						</control>
						<!-- Ok/Close Button -->
						<control id="7" type="button">
							<width>116</width>
							<height>116</height>
							<ondown>9500</ondown>
							<onclick condition="Container.Content(tvshows)">RunScript(script.artwork.downloader, mode=gui,mediatype=tvshow, dbid=$INFO[ListItem.DBID])</onclick>
							<onclick condition="Container.Content(movies)">RunScript(script.artwork.downloader, mode=gui,mediatype=movie, dbid=$INFO[ListItem.DBID])</onclick>
							<font>symbol</font>
							<label></label>
							<textoffsetx>20</textoffsetx>
							<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
							<focusedcolor>$VAR[EmbyRightColourHighlight]</focusedcolor>
							<texturefocus colordiffuse="$INFO[Window(home).Property(PVRInfo.ImageColor)]">common/box.png</texturefocus>
							<texturenofocus colordiffuse="$VAR[EmbyRightColourHighlight]">common/box.png</texturenofocus>
						</control>
						<!--Extended Info Button -->
						<control type="button" id="19">
							<width>116</width>
							<height>110</height>
							<ondown>9500</ondown>
							<font>symbolbig</font>
							<label></label>
							<textcolor>$VAR[EmbyLeftColourHighlight]</textcolor>
							<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
							<texturefocus colordiffuse="$INFO[Window(home).Property(PVRInfo.ImageColor)]">-</texturefocus>
							<texturenofocus colordiffuse="$VAR[EmbyLeftColourHighlight]">-</texturenofocus>
							<onclick>RunScript(script.extendedinfo,info=extendedtvinfo,name=$INFO[ListItem.Label])</onclick>
							<animation condition="Control.HasFocus(19)" effect="zoom" end="200" time="100" center="auto">Conditional</animation>
						</control>
					</control>
					<control id="9002" type="grouplist">
						<left>653</left>
						<top>936</top>
						<width>1267</width>
						<height>116</height>
						<itemgap>0</itemgap>
						<onleft>9002</onleft>
						<onright>9002</onright>
						<ondown>9500</ondown>
						<orientation>horizontal</orientation>
						<include>DialogVideoInfoAnimation</include>
						<defaultcontrol always="true">5</defaultcontrol>
						<!-- Play/Browse Button -->
						<control id="5" type="button">
							<width>116</width>
							<height>116</height>
							<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
							<textoffsetx>0</textoffsetx>
							<font>StudioFont</font>
							<label>19165</label>
							<animation condition="Control.HasFocus(5)" effect="fade" end="100" start="0" time="10">Conditional</animation>
							<animation condition="!Control.HasFocus(5)" effect="fade" end="0" start="100" time="10">Conditional</animation>
						</control>
						<control id="66" type="button">
							<width>116</width>
							<height>116</height>
							<textoffsetx>0</textoffsetx>
							<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
							<font>StudioFont</font>
							<label>264</label>
							<animation condition="Control.HasFocus(66)" effect="fade" end="100" start="0" time="10">Conditional</animation>
							<animation condition="!Control.HasFocus(66)" effect="fade" end="0" start="100" time="10">Conditional</animation>
						</control>
						<control id="7" type="button">
							<width>116</width>
							<height>116</height>
							<textoffsetx>0</textoffsetx>
							<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
							<font>StudioFont</font>
							<label>186</label>
							<animation condition="Control.HasFocus(7)" effect="fade" end="100" start="0" time="10">Conditional</animation>
							<animation condition="!Control.HasFocus(7)" effect="fade" end="0" start="100" time="10">Conditional</animation>
						</control>
					</control>
					<!-- Info -->
					<control type="group">
						<left>653</left>
						<right>10</right>
						<bottom>224</bottom>
						<top>TopPad</top>
						<control type="image">
							<top>-150</top>
							<width>800</width>
							<height>210</height>
							<texture>$INFO[Window(home).Property(SkinHelper.PVR.Logo)]</texture>
							<aspectratio align="left" aligny="bottom">keep</aspectratio>
							<fadetime>50</fadetime>
							<visible>!IsEmpty(Window(home).Property(SkinHelper.PVR.Logo))</visible>
						</control>
						<control type="label">
							<left>-8</left>
							<description>Header Label</description>
							<font>EpisodeNumber</font>
							<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
							<height>60</height>
							<label>$INFO[ListItem.Title]</label>
							<visible>IsEmpty(Window(home).Property(SkinHelper.PVR.Logo))</visible>
						</control>
						<control type="grouplist">
							<top>85</top>
							<itemgap>10</itemgap>
							<control type="group">
								<top>30</top>
								<height>36</height>
								<control type="label">
									<height>36</height>
									<font>SmallBold</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<label fallback="19055">$INFO[ListItem.ChannelName]$INFO[ListItem.ChannelNumber, (,)]$VAR[PVRInfoStatus, ,]</label>
								</control>
							</control>
							<control type="group">
								<visible>!IsEmpty(ListItem.EpisodeName)</visible>
								<height>36</height>
								<control type="label">
									<height>36</height>
									<font>SmallBold</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<label>[B]$LOCALIZE[21442][/B]$INFO[ListItem.EpisodeName, ,]</label>
									<aligny>center</aligny>
									<align>left</align>
								</control>
							</control>
							<control type="group">
								<visible>!IsEmpty(ListItem.Season)</visible>
								<height>36</height>
								<control type="label">
									<height>36</height>
									<font>SmallBold</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<label>[B]$LOCALIZE[20373][/B]$INFO[ListItem.Season, ,]</label>
									<aligny>center</aligny>
									<align>left</align>
								</control>
							</control>
							<control type="group">
								<visible>!IsEmpty(ListItem.Episode)</visible>
								<height>36</height>
								<control type="label">
									<height>36</height>
									<font>SmallBold</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<label>[B]$LOCALIZE[20359][/B]$INFO[ListItem.Episode, ,]</label>
									<aligny>center</aligny>
									<align>left</align>
								</control>
							</control>
							<control type="group">
								<height>36</height>
								<control type="label">
									<height>36</height>
									<font>SmallBold</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<label>[B]$LOCALIZE[2050][/B] $INFO[ListItem.Duration,, $LOCALIZE[12391]]</label>
									<aligny>center</aligny>
									<align>left</align>
								</control>
							</control>
							<control type="group">
								<height>36</height>
								<control type="label">
									<height>36</height>
									<font>SmallBold</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<label>[B]$LOCALIZE[19126][/B] $INFO[ListItem.StartDate] - $INFO[ListItem.StartTime]</label>
									<aligny>center</aligny>
									<align>left</align>
								</control>
							</control>
							<control type="group">
								<height>36</height>
								<control type="label">
									<height>36</height>
									<font>SmallBold</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<label>[B]$LOCALIZE[19127][/B] $INFO[ListItem.EndDate] - $INFO[ListItem.EndTime]</label>
									<aligny>center</aligny>
									<align>left</align>
								</control>
							</control>
							<control type="group">
								<height>36</height>
								<control type="label">
									<height>36</height>
									<font>SmallBold</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<label>[B]$LOCALIZE[515][/B] $INFO[ListItem.Genre]</label>
									<aligny>center</aligny>
									<align>left</align>
								</control>
							</control>
							<control type="group">
								<height>24</height>
							</control>
							<control type="group">
								<height>auto</height>
								<width>100%</width>
								<control type="textbox">
									<left>0</left>
									<right>0</right>
									<height>284</height>
									<font>Medium</font>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<scroll>false</scroll>
									<align>justify</align>
									<info>ListItem.Plot</info>
									<aligny>top</aligny>
								</control>
							</control>
						</control>
					</control>
					<!-- Character Art for tv shows -->
					<control type="group">
						<left>1600</left>
						<top>220</top>
						<control type="image">
							<width>300</width>
							<height>300</height>
							<texture>$INFO[Window(home).Property(SkinHelper.PVR.CharacterArt)]</texture>
							<aspectratio align="left" aligny="bottom">keep</aspectratio>
							<fadetime>50</fadetime>
							<visible>!IsEmpty(Window(home).Property(SkinHelper.PVR.CharacterArt))</visible>
						</control>
					</control>
				</control>
			</control>
		</control>
	</controls>
</window>