<?xml version="1.0" encoding="UTF-8"?>
<includes>

	<include name="Infoscreen_Menu">
		<definition>
			<control type="grouplist" id="3000">
				<centerleft>50%</centerleft>
				<bottom>60</bottom>
				<width>420</width>
				<height>60</height>
				<onfocus>ClearProperty(Infoscreen_Widget,home)</onfocus>
				<orientation>horizontal</orientation>
				<align>center</align>
				<itemgap>0</itemgap>
				<usecontrolcoords>true</usecontrolcoords>
				<include content="addoninformation_Menu_Content" condition="Window.Is(addoninformation)" />
				<include content="movieinformation_Menu_Content" condition="Window.Is(movieinformation)" />
				<include content="musicinformation_Menu_Content" condition="Window.Is(musicinformation) | Window.Is(songinformation)" />
			</control>
		</definition>
	</include>

	<include name="Infoscreen_Flag_Checkers">
		<include content="Flag_Checker">
			<param name="id" value="6303" />
			<param name="texture" value="$VAR[Studio_Flag]" />
		</include>
		<include content="Flag_Checker">
			<param name="id" value="6304" />
			<param name="texture" value="$VAR[MPAA_Flag]" />
		</include>
		<include content="Flag_Checker" condition="$PARAM[VideoSource_condition]">
			<param name="id" value="6305" />
			<param name="texture" value="$VAR[VideoSource_Flag]" />
		</include>
		<include content="Flag_Checker" condition="$PARAM[VideoCodec_condition]">
			<param name="id" value="6306" />
			<param name="texture" value="$VAR[VideoCodec_Flag]" />
		</include>
		<include content="Flag_Checker" condition="$PARAM[AudioCodec_condition]">
			<param name="id" value="6307" />
			<param name="texture" value="$VAR[AudioCodec_Flag]" />
		</include>
	</include>

	<include name="Infoscreen_Flags_Layout">
		<control type="grouplist">
			<nested />
			<width>100%</width>
			<height>180</height>
			<orientation>horizontal</orientation>
			<align>center</align>
			<itemgap>0</itemgap>
			<include content="Flag_Icon">
				<param name="id" value="6303" />
				<param name="texture" value="$VAR[Studio_Flag]" />
			</include>
			<include content="Flag_Icon">
				<param name="id" value="6304" />
				<param name="texture" value="$VAR[MPAA_Flag]" />
			</include>
			<include content="Flag_Icon" condition="$PARAM[VideoSource_condition]">
				<param name="id" value="6305" />
				<param name="texture" value="$VAR[VideoSource_Flag]" />
			</include>
			<include content="Flag_Icon" condition="$PARAM[VideoCodec_condition]">
				<param name="id" value="6306" />
				<param name="texture" value="$VAR[VideoCodec_Flag]" />
			</include>
			<include content="Flag_Icon" condition="$PARAM[AudioCodec_condition]">
				<param name="id" value="6307" />
				<param name="texture" value="$VAR[AudioCodec_Flag]" />
			</include>
		</control>
	</include>

	<include name="Infoscreen_Stars_Layout">
		<param name="align" />
		<definition>
			<control type="grouplist">
				<top>15</top>
				<centerleft>50%</centerleft>
				<height>30</height>
				<orientation>horizontal</orientation>
				<align>$PARAM[align]</align>
				<control type="image">
					<width>182</width>
					<aspectratio>keep</aspectratio>
					<texture colordiffuse="$VAR[Star_Color]">$VAR[Rating_Label]</texture>
				</control>
			</control>
		</definition>
	</include>

	<include name="Infoscreen_Description_Layout">
		<control type="textbox">
			<top>60</top>
			<height max="206">auto</height>
			<font>Body</font>
			<textcolor>$VAR[Light_Color]</textcolor>
			<label>$INFO[ListItem.AddonDescription]</label>
			<align>left</align>
			<autoscroll delay="5000" time="1500" repeat="2000">true</autoscroll>
		</control>
	</include>

	<include name="Infoscreen_Header">
		<param name="visible" default="true" />
		<param name="left" />
		<param name="right" />
		<param name="align" />
		<param name="VideoSource_condition" default="String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,episode)" />
		<param name="VideoCodec_condition" default="String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,episode)" />
		<param name="AudioCodec_condition" default="String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,episode)" />
		<definition>
			<control type="grouplist">
				<visible>$PARAM[visible]</visible>
				<include content="Visible_Fade_Delayed_Animation" />
				<left>$PARAM[left]</left>
				<right>$PARAM[right]</right>
				<centertop>50%</centertop>
				<height>720</height>
				<orientation>vertical</orientation>
				<align>center</align>
				<usecontrolcoords>true</usecontrolcoords>
				<itemgap>0</itemgap>
				<!-- Title -->
				<control type="textbox">
					<width>100%</width>
					<height max="280">auto</height>
					<align>$PARAM[align]</align>
					<font>Billboard_Title</font>
					<textcolor>$VAR[Light_Color]</textcolor>
					<label>$VAR[Title_Label]</label>
				</control>
				<!-- Details -->
				<control type="textbox">
					<top>0</top>
					<width>100%</width>
					<height max="135">auto</height>
					<font>Info_Infoscreens_Label</font>
					<textcolor>$VAR[Light_Color]</textcolor>
					<label>$VAR[Info_Infoscreens_Label]</label>
					<align>$PARAM[align]</align>
				</control>
				<include content="Infoscreen_Stars_Layout" condition="!Window.Is(addoninformation) + !String.IsEqual(ListItem.DBType,set) + !String.IsEqual(ListItem.DBType,artist)">
					<param name="align" value="$PARAM[align]" />
				</include>
				<include content="Infoscreen_Flags_Layout" condition="Window.Is(movieinformation)">
					<param name="VideoSource_condition" value="$PARAM[VideoSource_condition]" />
					<param name="VideoCodec_condition" value="$PARAM[VideoCodec_condition]" />
					<param name="AudioCodec_condition" value="$PARAM[AudioCodec_condition]" />
				</include>
				<include content="Infoscreen_Description_Layout" condition="Window.Is(addoninformation)" />
			</control>
		</definition>
	</include>

	<include name="Infoscreen_Plot">
		<param name="visible" />
		<param name="left" />
		<param name="right" />
		<param name="align" />
		<param name="font" />
		<definition>
			<control type="group">
				<visible>$PARAM[visible]</visible>
				<include content="Visible_Fade_Delayed_Animation" />
				<include content="Hidden_Components">
					<control type="label" id="6003">
						<label>$VAR[Plot_Label]</label>
					</control>
				</include>
				<control type="textbox" id="4">
					<height>600</height>
					<left>$PARAM[left]</left>
					<right>$PARAM[right]</right>
					<centertop>50%</centertop>
					<align>$PARAM[align]</align>
					<aligny>center</aligny>
					<font>$PARAM[font]</font>
					<label>$VAR[Plot_Label]$INFO[Window(musicinformation).Property(ResetScroll)]</label>
					<textcolor>$VAR[Light_Color]</textcolor>
					<pagecontrol>60</pagecontrol>
					<autoscroll>false</autoscroll>
				</control>
				<control type="scrollbar" id="60">
					<visible allowhiddenfocus="true">Control.HasFocus(60)</visible>
					<include content="Scrollbar_Fade_Animation" />
					<right>27</right>
					<bottom>180</bottom>
					<width>6</width>
					<height>720</height>
					<onup>3000</onup>
					<onleft condition="Window.IsVisible(movieinformation)">8</onleft>
					<onleft condition="!Window.IsVisible(movieinformation)">97</onleft>
					<onright condition="Window.IsVisible(movieinformation) + !String.IsEmpty(ListItem.Trailer)">11</onright>
					<onright condition="Window.IsVisible(movieinformation) + String.IsEmpty(ListItem.Trailer) + !String.IsEqual(ListItem.DBType,set)">7</onright>
					<onright condition="Window.IsVisible(movieinformation) + String.IsEmpty(ListItem.Trailer) + String.IsEqual(ListItem.DBType,set)">6</onright>
					<onright condition="String.IsEqual(ListItem.DBType,album)">98</onright>
					<onright condition="String.IsEqual(ListItem.DBType,song)">7</onright>
					<onright condition="String.IsEqual(ListItem.DBType,artist)">10</onright>
					<onback>3000</onback>
					<showonepage>false</showonepage>
					<orientation>vertical</orientation>
					<texturesliderbackground colordiffuse="$VAR[Scroll_Widget_Background_Color]">views/white_100.png</texturesliderbackground>
					<texturesliderbarfocus colordiffuse="$VAR[Scroll_Widget_Focused_Color]">views/white_100.png</texturesliderbarfocus>
				</control>
			</control>
		</definition>
	</include>

	<include name="Infoscreen_Stars">
		<control type="button" id="4021">
			<visible allowhiddenfocus="true">false</visible>
			<onfocus>IncreaseRating</onfocus>
			<onfocus>SetFocus(7)</onfocus>
		</control>
		<control type="button" id="4022">
			<visible allowhiddenfocus="true">false</visible>
			<onfocus>DecreaseRating</onfocus>
			<onfocus>SetFocus(7)</onfocus>
		</control>
		<control type="grouplist">
			<visible>$PARAM[visible]</visible>
			<include content="Visible_Fade_Delayed_Animation" />
			<animation effect="slide" end="330,0" time="0" condition="Window.Is(songinformation) | String.IsEqual(ListItem.DBType,album)" reversible="false">Conditional</animation>
			<width>364</width>
			<centerleft>50%</centerleft>
			<height>360</height>
			<centertop>50%</centertop>
			<orientation>vertical</orientation>
			<align>center</align>
			<itemgap>$PARAM[itemgap]</itemgap>
			<usecontrolcoords>true</usecontrolcoords>
			<control type="image">
				<animation effect="zoom" center="auto" start="130" end="100" time="360" tween="back" easing="out" condition="!Control.HasFocus(4021)" reversible="false">Conditional</animation>
				<animation effect="slide" end="0,7" time="360" tween="back" easing="out" condition="!Control.HasFocus(4021)" reversible="false">Conditional</animation>
				<width>60</width>
				<centerleft>50%</centerleft>
				<height>60</height>
				<texture colordiffuse="$VAR[Light_Color]">dialogs/icon_arrow_focused.png</texture>
			</control>
			<control type="image">
				<height>$PARAM[starheight]</height>
				<centerleft>50%</centerleft>
				<visible>!ListItem.DBType(season) + !ListItem.DBType(artist)</visible>
				<aspectratio>keep</aspectratio>
				<texture colordiffuse="$VAR[Star_Color]">$VAR[Rating_Label]</texture>
			</control>
			<control type="image">
				<visible>!String.IsEmpty(ListItem.UserRating)</visible>
				<animation effect="rotate" center="auto" end="180" time="0" condition="true" reversible="false">Conditional</animation>
				<animation effect="zoom" center="auto" start="130" end="100" time="360" tween="back" easing="out" condition="!Control.HasFocus(4022)" reversible="false">Conditional</animation>
				<animation effect="slide" end="0,7" time="360" tween="back" easing="out" condition="!Control.HasFocus(4022)" reversible="false">Conditional</animation>
				<width>60</width>
				<centerleft>50%</centerleft>
				<height>60</height>
				<texture colordiffuse="$VAR[Light_Color]">dialogs/icon_arrow_focused.png</texture>
			</control>
			<control type="image">
				<visible>String.IsEmpty(ListItem.UserRating)</visible>
				<width>60</width>
				<centerleft>50%</centerleft>
				<height>60</height>
				<texture colordiffuse="$VAR[Light_Color]">flags/blank.png</texture>
			</control>
		</control>
	</include>

	<include name="Infoscreen_Artwork_Icon">
		<param name="top" />
		<param name="height" />
		<param name="width" />
		<param name="texture" />
		<param name="dropshadow_condition" />
		<definition>
			<control type="group">
				<top>$PARAM[top]</top>
				<height>$PARAM[height]</height>
				<width>$PARAM[width]</width>
				<control type="image">
					<texture background="true">$PARAM[texture]</texture>
					<aspectratio>scale</aspectratio>
				</control>
				<include content="DropShadow" condition="$PARAM[dropshadow_condition]">
					<param name="height" value="100%" />
					<param name="flipx" value="true" />
				</include>
			</control>
		</definition>
	</include>

	<include name="Infoscreen_Artwork_Layout">
		<control type="grouplist">
			<centertop>50%</centertop>
			<centerleft>50%</centerleft>
			<height>594</height>
			<width>1920</width>
			<orientation>horizontal</orientation>
			<align>center</align>
			<usecontrolcoords>true</usecontrolcoords>
			<itemgap>0</itemgap>
			<!-- Position 1 -->
			<include content="Simple_ListIcon" condition="!String.IsEmpty(ListItem.Art(fanart))">
				<param name="width" value="1056" />
				<param name="height" value="594" />
				<param name="texture" value="$INFO[ListItem.Art(fanart)]" />
			</include>
			<!-- Position 2 -->
			<include content="Infoscreen_Artwork_Icon" condition="Window.Is(movieinformation) + !String.IsEmpty(ListItem.Art(poster))">
				<param name="width" value="320" />
				<param name="top" value="57" />
				<param name="height" value="480" />
				<param name="texture" value="$INFO[ListItem.Art(poster)]" />
				<param name="dropshadow_condition" value="!String.IsEmpty(ListItem.Art(fanart))" />
			</include>
			<include content="Infoscreen_Artwork_Icon" condition="!Window.Is(movieinformation) + !String.IsEmpty(ListItem.Art(thumb))">
				<param name="width" value="504" />
				<param name="top" value="45" />
				<param name="height" value="504" />
				<param name="texture" value="$INFO[ListItem.Art(thumb)]" />
				<param name="dropshadow_condition" value="!String.IsEmpty(ListItem.Art(fanart))" />
			</include>
			<!-- Position 3 -->
			<include content="Infoscreen_Artwork_Icon" condition="Window.Is(movieinformation) + !String.IsEmpty(ListItem.Art(keyart))">
				<param name="width" value="260" />
				<param name="top" value="102" />
				<param name="height" value="390" />
				<param name="texture" value="$INFO[ListItem.Art(keyart)]" />
				<param name="dropshadow_condition" value="!String.IsEmpty(ListItem.Art(fanart)) | !String.IsEmpty(ListItem.Art(poster))" />
			</include>
			<!-- Position 4 -->
			<include content="Infoscreen_Artwork_Icon" condition="Window.Is(movieinformation) + !String.IsEmpty(ListItem.Art(square))">
				<param name="width" value="284" />
				<param name="top" value="155" />
				<param name="height" value="284" />
				<param name="texture" value="$INFO[ListItem.Art(square)]" />
				<param name="dropshadow_condition" value="!String.IsEmpty(ListItem.Art(fanart)) | !String.IsEmpty(ListItem.Art(poster)) | !String.IsEmpty(ListItem.Art(keyart))" />
			</include>
		</control>
	</include>

	<include name="Infoscreen_Artwork">
		<control type="group">
			<visible>$PARAM[visible]</visible>
			<visible>![$EXP[TransparentDialog_IsVisible] + [Window.Is(movieinformation) | String.IsEqual(ListItem.DBType,artist)]] + ![$EXP[PanelDialog_IsVisible] + [String.IsEqual(ListItem.DBtype,album) | Window.Is(songinformation)]]</visible>
			<include content="Visible_Fade_Delayed_Animation" />
			<include content="Transparent_Dialog_Panel" />
			<include content="Simple_ListIcon" condition="String.IsEqual(ListItem.DBType,episode) | [String.IsEmpty(ListItem.Art(fanart)) + String.IsEmpty(ListItem.Art(poster))]">
				<param name="left" value="420" />
				<param name="top" value="235" />
				<param name="width" value="1080" />
				<param name="height" value="610" />
			</include>
			<include content="Infoscreen_Artwork_Layout" condition="!String.IsEqual(ListItem.DBType,episode) + ![String.IsEmpty(ListItem.Art(fanart)) + String.IsEmpty(ListItem.Art(poster))]" />
		</control>
	</include>

	<include name="Fullscreen_Info">
		<param name="color" default="$VAR[Light_Color]" />
		<param name="show_logo" default="![String.IsEmpty(VideoPlayer.Art(clearlogo-billboard)) + String.IsEmpty(VideoPlayer.Art(clearlogo-aligned)) + String.IsEmpty(VideoPlayer.Art(clearlogo))]" />
		<param name="plot_label" default="$VAR[Plot_Label]" />
		<param name="align" default="center" />
		<definition>
			<include content="Hidden_Components">
				<control type="label" id="6003">
					<label>$PARAM[plot_label]</label>
				</control>
			</include>
			<control type="grouplist">
				<visible>!$EXP[TransparentDialog_IsVisible] + !Window.IsVisible(playerprocessinfo)</visible>
				<include content="Visible_Fade_Delayed_Animation" />
				<nested />
				<width>1560</width>
				<centerleft>50%</centerleft>
				<height>100%</height>
				<orientation>vertical</orientation>
				<align>center</align>
				<itemgap>0</itemgap>
				<usecontrolcoords>true</usecontrolcoords>
				<include content="Common_Details_Logo" condition="$PARAM[show_logo]">
					<param name="align" value="center" />
					<centerleft>50%</centerleft>
				</include>
				<include content="Common_Details_Textbox" condition="!$PARAM[show_logo]">
					<param name="font" value="Billboard_Title" />
					<param name="color" value="$PARAM[color]" />
					<param name="label" value="$VAR[Title_Label]" />
					<param name="align" value="$PARAM[align]" />
				</include>
				<include content="Common_Details_Info">
					<param name="maxheight" value="35" />
					<param name="font" value="Billboard_Info" />
					<param name="color" value="$PARAM[color]" />
					<param name="label" value="$VAR[Info_Label_FullscreenVideo]" />
					<param name="align" value="$PARAM[align]" />
				</include>
				<include content="Common_Details_Textbox">
					<param name="visible" value="!String.IsEmpty(Control.GetLabel(6003))" />
					<param name="maxheight" value="103" />
					<param name="gap" value="60" />
					<param name="font" value="Body" />
					<param name="color" value="$PARAM[color]" />
					<param name="label" value="$PARAM[plot_label]" />
					<param name="scroll" value="true" />
					<param name="align" value="$PARAM[align]" />
				</include>
				<include content="Infoscreen_Flags_Layout">
					<param name="VideoSource_condition" value="true" />
					<param name="VideoCodec_condition" value="true" />
					<param name="AudioCodec_condition" value="true" />
					<top>90</top>
				</include>
			</control>
			<include content="Infoscreen_Flag_Checkers">
				<param name="VideoSource_condition" value="true" />
				<param name="VideoCodec_condition" value="true" />
				<param name="AudioCodec_condition" value="true" />
			</include>
		</definition>
	</include>

</includes>