<?xml version="1.0" encoding="utf-8"?>
<window type="dialog" id="142">
	<onload condition="[VideoPlayer.Content(movies) | VideoPlayer.Content(episodes)]">SetFocus(64)</onload>
	<controls>
		<control type="group">
			<animation effect="slide" start="0,-100" end="0,0" time="200">WindowOpen</animation>
			<visible>!Window.IsActive(videoosd) + !VideoPlayer.Content(episodes) + !VideoPlayer.Content(movies) + !VideoPlayer.Content(LiveTV)</visible>
			<top>0</top>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>122</height>
				<texture border="1,1,1,40">topbar.png</texture>
			</control>
			<control type="grouplist">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>90</height>
				<align>center</align>
				<itemgap>0</itemgap>
				<orientation>horizontal</orientation>
				<control type="image">
					<width>320</width>
					<height>88</height>
					<include>MediaFlagVars</include>
					<texture background="true">$INFO[Player.Art(thumb)]</texture>
					<visible>VideoPlayer.Content(livetv)</visible>
				</control>
				<control type="image">
					<colordiffuse>$VAR[StudioFlagColorVar]</colordiffuse>
					<width>260</width>
					<include>MediaFlagVars</include>
					<bordersize>2</bordersize>
					<texture fallback="flags/studios/default-studio.png">$VAR[StudioFlagPathVar]$INFO[VideoPlayer.Studio,,.png]</texture>
				</control>
				<control type="image">
					<width>320</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture fallback="flags/mpaa/NR.png">$VAR[VideoRatingFlagVar]</texture>
					<visible>!VideoPlayer.Content(livetv)</visible>
				</control>
				<control type="image">
					<width>320</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$INFO[VideoPlayer.VideoResolution,flags/resolution/,.png]</texture>
				</control>
				<control type="image">
					<width>320</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$INFO[VideoPlayer.AudioCodec,flags/audio/,.png]</texture>
				</control>
				<control type="image">
					<width>320</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$INFO[VideoPlayer.AudioChannels,flags/channels/,.png]</texture>
					<visible>VideoPlayer.Content(livetv)</visible>
				</control>
				<control type="image">
					<width>320</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$VAR[VideoSourceFlagVar,flags/video/,.png]</texture>
				</control>
				<control type="image">
					<width>320</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$INFO[VideoPlayer.VideoAspect,flags/aspectratio/,.png]</texture>
				</control>
			</control>
		</control>
		<control type="group">
			<visible>VideoPlayer.Content(movies) | VideoPlayer.Content(episodes)</visible>
			<animation effect="slide" end="0,0" start="0,-540" time="200" tween="quadratic" easing="out">WindowOpen</animation>
			<animation effect="slide" start="0,0" end="0,-540" time="200" tween="quadratic" easing="out">WindowClose</animation>
			<control type="image">
				<left>0</left>
				<top>0</top>
				<width>FullScreenWidth</width>
				<height>540</height>
				<texture border="1,1,1,40">topbar.png</texture>
			</control>
			<control type="group">
				<visible>VideoPlayer.Content(movies)</visible>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>338</width>
					<height>508</height>
					<aspectratio align="left">keep</aspectratio>
					<texture background="true">$INFO[Player.Art(poster)]</texture>
					<fadetime>400</fadetime>
					<bordertexture border="1,1,2,1">thumbs/panel_border3.png</bordertexture>
					<bordersize>1,1,2,1</bordersize>
				</control>
				<control type="grouplist">
					<left>340</left>
					<top>0</top>
					<width>1580</width>
					<height>508</height>
					<control type="button">
						<label>$INFO[Player.Title]</label>
						<width>760</width>
						<font>font30_title</font>
						<height>60</height>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(Player.Title)</visible>
					</control>
					<control type="button">
						<label>[COLOR labelheader]$LOCALIZE[202]:[/COLOR][CR]$INFO[VideoPlayer.Tagline]</label>
						<width>760</width>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(VideoPlayer.Tagline)</visible>
					</control>
					<control type="button">
						<label>[COLOR labelheader]$LOCALIZE[20339]:[/COLOR][CR]$INFO[VideoPlayer.Director]</label>
						<width>760</width>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(VideoPlayer.Director)</visible>
					</control>
					<control type="button">
						<label>[COLOR labelheader]$LOCALIZE[515]:[/COLOR][CR]$INFO[VideoPlayer.Genre]</label>
						<width>760</width>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(VideoPlayer.Genre)</visible>
					</control>
					<control type="group">
						<control type="button">
							<label>[COLOR labelheader]$LOCALIZE[563]:[/COLOR][CR]$INFO[VideoPlayer.RatingAndVotes]$INFO[VideoPlayer.Top250, / $LOCALIZE[13409] #]</label>
							<width>570</width>
							<include>ShowCaseInfoPanelButtonsValues</include>
							<visible>!IsEmpty(VideoPlayer.RatingAndVotes)</visible>
						</control>
						<control type="image">
							<left>569</left>
							<height>89</height>
							<width>2</width>
							<texture border="1">separator3.png</texture>
						</control>
						<control type="button">
							<label>[COLOR labelheader]$LOCALIZE[345]:[/COLOR][CR]$INFO[VideoPlayer.Year]</label>
							<left>570</left>
							<width>190</width>
							<include>ShowCaseInfoPanelButtonsValues</include>
							<visible>!IsEmpty(VideoPlayer.Year)</visible>
						</control>
					</control>
				</control>
			</control>
			<control type="group">
				<visible>VideoPlayer.Content(episodes)</visible>
				<control type="image">
					<left>0</left>
					<top>0</top>
					<width>338</width>
					<height>508</height>
					<aspectratio align="left">keep</aspectratio>
					<texture background="true">$INFO[Player.Art(tvshow.poster)]</texture>
					<fadetime>400</fadetime>
					<bordertexture border="1,1,2,1">thumbs/panel_border3.png</bordertexture>
					<bordersize>1,1,2,1</bordersize>
				</control>
				<control type="grouplist">
					<left>340</left>
					<top>0</top>
					<width>1580</width>
					<height>508</height>
					<control type="button">
						<label>$INFO[Player.Title]</label>
						<width>760</width>
						<font>font30_title</font>
						<height>60</height>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(Player.Title)</visible>
					</control>
					<control type="button">
						<label>[COLOR labelheader]$LOCALIZE[20364]:[/COLOR][CR]$INFO[VideoPlayer.TvShowTitle]</label>
						<width>760</width>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(VideoPlayer.TvShowTitle)</visible>
					</control>
					<control type="button">
						<label>[COLOR labelheader]$LOCALIZE[20352]:[/COLOR][CR]$INFO[VideoPlayer.Season,$LOCALIZE[20373] ,], $INFO[VideoPlayer.Episode,$LOCALIZE[20452] , , ]</label>
						<width>760</width>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(VideoPlayer.Episode)</visible>
					</control>
					<control type="button">
						<label>[COLOR labelheader]$LOCALIZE[563]:[/COLOR][CR]$INFO[VideoPlayer.RatingAndVotes]</label>
						<width>760</width>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(VideoPlayer.RatingAndVotes)</visible>
					</control>
					<control type="button">
						<label>[COLOR labelheader]$LOCALIZE[20416]:[/COLOR][CR]$INFO[VideoPlayer.Premiered]</label>
						<width>1580</width>
						<include>ShowCaseInfoPanelButtonsValues</include>
						<visible>!IsEmpty(VideoPlayer.Premiered)</visible>
					</control>
				</control>
			</control>
			<control type="image">
				<left>1100</left>
				<width>2</width>
				<height>420</height>
				<texture border="1">separator3.png</texture>
			</control>
			<control type="image">
				<left>340</left>
				<top>360</top>
				<width>1580</width>
				<height>60</height>
				<texture border="1">separator2.png</texture>
			</control>
			<control type="grouplist">
				<left>338</left>
				<top>420</top>
				<width>FullScreenWidth</width>
				<height>90</height>
				<align>left</align>
				<itemgap>0</itemgap>
				<orientation>horizontal</orientation>
				<control type="image">
					<colordiffuse>$VAR[StudioFlagColorVar]</colordiffuse>
					<width>260</width>
					<include>MediaFlagVars</include>
					<bordersize>2</bordersize>
					<texture fallback="flags/studios/default-studio.png">$VAR[StudioFlagPathVar]$INFO[VideoPlayer.Studio,,.png]</texture>
				</control>
				<control type="image">
					<width>260</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture fallback="flags/mpaa/NR.png">$VAR[VideoRatingFlagVar]</texture>
				</control>
				<control type="image">
					<width>260</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$INFO[VideoPlayer.VideoResolution,flags/resolution/,.png]</texture>
				</control>
				<control type="image">
					<width>260</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$INFO[VideoPlayer.AudioCodec,flags/audio/,.png]</texture>
				</control>
				<control type="image">
					<width>260</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$VAR[VideoSourceFlagVar,flags/video/,.png]</texture>
				</control>
				<control type="image">
					<width>260</width>
					<colordiffuse>grey2</colordiffuse>
					<include>MediaFlagVars</include>
					<texture>$INFO[VideoPlayer.VideoAspect,flags/aspectratio/,.png]</texture>
				</control>
			</control>
			<control type="textbox" id="170">
				<label>$INFO[VideoPlayer.CastAndRole]</label>
				<left>1115</left>
				<top>12</top>
				<width>775</width>
				<height>405</height>
				<font>font15_textbox</font>
				<pagecontrol>62</pagecontrol>
				<include>SettingsFadeEffect</include>
				<include>ShowCaseInfoPanelButtonsValues</include>
				<visible>Skin.HasSetting(Video.Plot.Cast)</visible>
				<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(Enable.AutoScroll) + !Control.HasFocus(64)</autoscroll>
			</control>
			<control type="textbox" id="171">
				<label>$INFO[VideoPlayer.Plot]</label>
				<left>1115</left>
				<top>12</top>
				<width>775</width>
				<height>405</height>
				<font>font15_textbox</font>
				<pagecontrol>63</pagecontrol>
				<include>SettingsFadeEffect</include>
				<include>ShowCaseInfoPanelButtonsValues</include>
				<visible>!Skin.HasSetting(Video.Plot.Cast)</visible>
				<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(Enable.AutoScroll) + !Control.HasFocus(64)</autoscroll>
			</control>
			<control type="scrollbar" id="62">
				<left>1900</left>
				<top>12</top>
				<width>14</width>
				<height>405</height>
				<texturesliderbackground>-</texturesliderbackground>
				<texturesliderbar border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
				<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
				<showonepage>false</showonepage>
				<visible>Skin.HasSetting(Video.Plot.Cast)</visible>
				<orientation>vertical</orientation>
			</control>
			<control type="scrollbar" id="63">
				<left>1900</left>
				<top>12</top>
				<width>14</width>
				<height>405</height>
				<texturesliderbackground>-</texturesliderbackground>
				<texturesliderbar border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
				<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
				<showonepage>false</showonepage>
				<orientation>vertical</orientation>
				<visible>!Skin.HasSetting(Video.Plot.Cast)</visible>
			</control>
			<control type="button" id="64">
				<onup condition="Skin.HasSetting(Video.Plot.Cast)">PageUp(62)</onup>
				<ondown condition="Skin.HasSetting(Video.Plot.Cast)">PageDown(62)</ondown>
				<onup condition="!Skin.HasSetting(Video.Plot.Cast)">PageUp(63)</onup>
				<ondown condition="!Skin.HasSetting(Video.Plot.Cast)">PageDown(63)</ondown>
				<include>HiddenObject</include>
				<onclick>Skin.ToggleSetting(Video.Plot.Cast)</onclick>
			</control>
		</control>
		<!-- New DialogInfo for LiveTV -->
		<control type="group" id="9006">
			<top>90</top>
			<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
			<animation effect="fade" start="100" end="0" time="400">WindowClose</animation>
			<visible>VideoPlayer.Content(LiveTV) + !Window.IsActive(infodialog) + !Control.IsVisible(9001) + !Control.IsVisible(9002)</visible>
			<control type="image">
				<left>260</left>
				<width>1400</width>
				<height>600</height>
				<texture border="40">dialogs/default/bg.png</texture>
				<animation effect="fade" end="95" condition="true">Conditional</animation>
			</control>
			<control type="group">
				<left>300</left>
				<top>20</top>
				<width>1320</width>
				<height>780</height>
				<control type="label">
					<!-- Channel name -->
					<top>0</top>
					<width>1050</width>
					<height>50</height>
					<label>$INFO[VideoPlayer.ChannelName]</label>
					<font>font16</font>
					<textcolor>themecolor</textcolor>
				</control>
				<control type="label">
					<!-- Current EPG -->
					<top>50</top>
					<width>1320</width>
					<height>50</height>
					<label>$INFO[VideoPlayer.Title]</label>
					<font>font48</font>
					<scroll>true</scroll>
				</control>
				<control type="image">
					<!-- pvr line -->
					<top>110</top>
					<width>1320</width>
					<height>2</height>
					<texture>new_pvr/osd_line_white.png</texture>
					<colordiffuse>themecolor</colordiffuse>
				</control>
				<control type="label">
					<top>120</top>
					<width>1000</width>
					<height>30</height>
					<label>$LOCALIZE[515]: $INFO[VideoPlayer.Genre]</label>
					<font>font13</font>
					<textcolor>grey</textcolor>
				</control>
				<control type="textbox">
					<left>4</left>
					<top>160</top>
					<width>1000</width>
					<height>400</height>
					<label>$INFO[VideoPlayer.Plot]</label>
					<font>font15_textbox</font>
					<autoscroll delay="6000" time="3000" repeat="6000">true</autoscroll>
					<visible>[SubString(ListItem.PlotOutline,"http://",Left) | SubString(ListItem.PlotOutline,"https://",Left)]</visible>
				</control>
				<control type="textbox">
					<left>4</left>
					<top>160</top>
					<width>1320</width>
					<height>400</height>
					<label>$INFO[VideoPlayer.PlotOutline] $INFO[VideoPlayer.Plot]</label>
					<font>font15_textbox</font>
					<autoscroll delay="6000" time="3000" repeat="6000">true</autoscroll>
					<visible>![SubString(ListItem.PlotOutline,"http://",Left) | SubString(ListItem.PlotOutline,"https://",Left)]</visible>
				</control>
				<control type="image">
					<!-- Logo background -->
					<left>1050</left>
					<top>-20</top>
					<width>250</width>
					<height>200</height>
					<texture>pvr/bg_channel_icon.png</texture>
					<align>center</align>
					<visible>false</visible>
				</control>
				<control type="image">
					<!-- Show\Movie poster -->
					<left>1050</left>
					<top>160</top>
					<width>250</width>
					<height>440</height>
					<align>center</align>
					<aspectratio>keep</aspectratio>
					<texture>$INFO[VideoPlayer.PlotOutline]</texture>
					<visible>[SubString(ListItem.PlotOutline,"http://",Left) | SubString(ListItem.PlotOutline,"https://",Left)]</visible>
				</control>
			</control>
		</control>
	</controls>
</window>