<?xml version="1.0" encoding="utf-8"?>
<window>
	<controls>
		<control type="group">
			<animation effect="slide" start="0,-120" end="0,0" time="200">WindowOpen</animation>
			<animation effect="slide" start="0,-120" end="0,0" time="200">VisibleChange</animation>
			<animation effect="slide" start="0,0" end="0,-120" time="200">WindowClose</animation>
			<visible>!Window.IsActive(videoosd)</visible>
			<top>0</top>
			<control type="image">
				<top>-16</top>
				<left>-16</left>
				<width>1952</width>
				<height>138</height>
				<texture border="16">dialog_context.png</texture>
				<colordiffuse>dialog</colordiffuse>
			</control>
			<control type="grouplist">
				<left>0</left>
				<top>15</top>
				<width>FullscreenWidth</width>
				<height>90</height>
				<align>center</align>
				<aligny>center</aligny>
				<itemgap>30</itemgap>
				<orientation>horizontal</orientation>
				<control type="image" id="800011">
					<colordiffuse>TitleTextColor</colordiffuse>
					<width>200</width>
					<height>90</height>
					<aspectratio>keep</aspectratio>
					<bordersize>2</bordersize>
					<texture>resource://resource.images.studios.white/$INFO[VideoPlayer.Studio,,.png]</texture>
					<visible>!String.IsEmpty(Control.GetLabel(800011))</visible>
				</control>
				<control type="label">
					<height>90</height>
					<width>200</width>
					<align>center</align>
					<label>$INFO[VideoPlayer.Studio]</label>
					<font>font10</font>
					<wrapmultiline>true</wrapmultiline>
					<visible>String.IsEmpty(Control.GetLabel(800011))</visible>
				</control>

				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>flags/videoresolution/3d.png</texture>
					<visible>VideoPlayer.IsStereoscopic</visible>
				</control>

				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>$VAR[VideoPlayerSourceFlagVar,flags/source/,.png]</texture>
					<visible>!String.IsEmpty(VideoPlayerSourceFlagVar)</visible>
				</control>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>$INFO[VideoPlayer.VideoResolution,flags/videoresolution/,.png]</texture>
					<visible>!String.IsEmpty(VideoPlayer.VideoResolution)</visible>
				</control>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>$INFO[VideoPlayer.VideoCodec,flags/videocodec/,.png]</texture>
					<visible>!String.IsEmpty(VideoPlayer.VideoCodec)</visible>
				</control>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>$INFO[VideoPlayer.VideoAspect,flags/aspectratio/,.png]</texture>
					<visible>!String.IsEmpty(VideoPlayer.VideoAspect)</visible>
				</control>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>$INFO[VideoPlayer.AudioCodec,flags/audiocodec/,.png]</texture>
					<visible>!String.IsEmpty(VideoPlayer.AudioCodec)</visible>
				</control>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>$INFO[VideoPlayer.AudioChannels,flags/audiochannel/,.png]</texture>
					<visible>!String.IsEmpty(VideoPlayer.AudioChannels)</visible>
				</control>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>flags/cc.png</texture>
					<visible>!String.IsEmpty(VideoPlayer.SubtitleLanguage)</visible>
				</control>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<texture>resource://resource.images.studios.white/$INFO[VideoPlayer.Studio,,.png]</texture>
					<visible>!String.IsEmpty(VideoPlayer.Studio)</visible>
				</control>
				<control type="image">
					<aspectratio>keep</aspectratio>
					<colordiffuse>TitleTextColor</colordiffuse>
					<height>90</height>
					<width>200</width>
					<!-- <texture fallback="flags/mpaa/NR.png">$VAR[RatingFlagVar]</texture> -->
					<texture>$VAR[RatingFlagVar]</texture>
 					<visible>!String.IsEmpty(Control.GetLabel(6661))</visible>
				</control>
				<control type="label" id="6661">
    				<description>Dummy label to control the visibility of rating flags</description>
    				<label>$VAR[RatingFlagVar]</label>
    				<visible>false</visible>
				</control>

			</control>
		</control>
		<control type="group">
			<animation effect="slide" start="0,400" end="0,0" time="200">WindowOpen</animation>
			<animation effect="slide" start="0,400" end="0,0" time="200">VisibleChange</animation>
			<animation effect="slide" start="0,0" end="0,400" time="200">WindowClose</animation>
			<top>680</top>
			<visible>![VideoPlayer.Content(livetv) | VideoPlayer.Content(musicvideos)]</visible>
			<visible>!Window.IsActive(videoosd)</visible>
			<control type="image">
				<top>-14</top>
				<left>-16</left>
				<width>1952</width>
				<height>432</height>
				<texture border="16">dialog_context.png</texture>
				<colordiffuse>dialog</colordiffuse>
			</control>
			<control type="image">
				<left>30</left>
				<top>30</top>
				<width>227</width>
				<height>340</height>
				<aspectratio aligny="center" align="center" scalediffuse="false">scale</aspectratio>
				<texture background="true" diffuse="diffuse/fullscreeninfo.png">$VAR[PlayerArtworkVar]</texture>
			</control>
			<control type="grouplist">
				<left>290</left>
				<top>15</top>
				<control type="label">
					<width>1350</width>
					<height>70</height>
					<font>font36</font>
					<aligny>top</aligny>
					<label>$VAR[PlayerTitleLabelVar]</label>
					<visible>!VideoPlayer.Content(episodes)</visible>
					<scroll>false</scroll>
				</control>
				<control type="label">
					<width>1350</width>
					<height>70</height>
					<font>font36</font>
					<aligny>top</aligny>
					<label>$INFO[VideoPlayer.Season,,X]$INFO[VideoPlayer.Episode,,. ]$VAR[PlayerTitleLabelVar]</label>
					<visible>VideoPlayer.Content(episodes)</visible>
					<scroll>false</scroll>
				</control>
				<control type="label">
					<width>1600</width>
					<height>65</height>
					<font>font16</font>
					<color>AltTextColor</color>
					<label>$INFO[VideoPlayer.Year]$INFO[VideoPlayer.Genre, • ]</label>
					<visible>VideoPlayer.Content(movies) | VideoPlayer.Content(musicvideos)</visible>
				</control>
				<control type="label">
					<width>1600</width>
					<height>65</height>
					<font>font16</font>
					<color>TitleTextColor</color>
					<label>$INFO[VideoPlayer.TVShowTitle]</label>
					<visible>VideoPlayer.Content(episodes)</visible>
				</control>
				<control type="textbox">
					<width>1600</width>
					<height>160</height>
					<font>font14_textbox</font>
					<aligny>top</aligny>
					<include>AutoscrollDefault</include>
					<color>NormalTextColor</color>
					<label>[COLOR=TitleTextColor]$INFO[VideoPlayer.Tagline,, ][/COLOR]$INFO[VideoPlayer.Plot]</label>
				</control>
			</control>
			<control type="progress">
				<left>287</left>
				<top>334</top>
				<width>1605</width>
				<height>37</height>
				<info>Player.ProgressCache</info>
				<midtexture colordiffuse="44ffffff" border="5">osd/midtexture.png</midtexture>
			</control>
			<control type="progress">
				<left>287</left>
				<top>334</top>
				<width>1605</width>
				<height>37</height>
				<info>Player.Progress</info>
			</control>
			<control type="label">
				<top>334</top>
				<left>302</left>
				<width>900</width>
				<height>35</height>
				<font>font12</font>
				<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
			</control>
			<control type="label">
				<top>334</top>
				<left>975</left>
				<width>900</width>
				<height>35</height>
				<font>font12</font>
				<align>right</align>
				<label>$INFO[Player.TimeRemaining]$INFO[Player.Duration, / ]</label>
			</control>
			<control type="label">
				<top>334</top>
				<left>287</left>
				<width>1605</width>
				<height>35</height>
				<font>font12</font>
				<align>center</align>
				<label>$VAR[SeekLabelVar]</label>
			</control>
		</control>
		<control type="group">
			<animation effect="slide" start="0,300" end="0,0" time="200">WindowOpen</animation>
			<animation effect="slide" start="0,300" end="0,0" time="200">VisibleChange</animation>
			<animation effect="slide" start="0,0" end="0,300" time="200">WindowClose</animation>
			<top>780</top>
			<visible>VideoPlayer.Content(livetv) | VideoPlayer.Content(musicvideos)</visible>
			<visible>!Window.IsActive(videoosd)</visible>
			<control type="image">
				<top>-16</top>
				<left>-16</left>
				<width>1952</width>
				<height>332</height>
				<texture border="16">dialog_context.png</texture>
				<colordiffuse>dialog</colordiffuse>
			</control>
			<control type="image">
				<left>30</left>
				<top>30</top>
				<width>240</width>
				<height>240</height>
				<aspectratio aligny="center" align="center" scalediffuse="false">keep</aspectratio>
				<texture background="true" diffuse="diffuse/fullscreeninfo-square.png">$INFO[Player.Art(thumb)]</texture>
			</control>
			<control type="label">
				<left>300</left>
				<top>25</top>
				<width>1585</width>
				<height>40</height>
				<scroll>false</scroll>
				<font>font16</font>
				<label>$INFO[VideoPlayer.Artist,, - ]$INFO[VideoPlayer.Title]</label>
			</control>
			<control type="group">
				<visible>VideoPlayer.Content(livetv)</visible>
				<control type="label">
					<left>300</left>
					<top>72</top>
					<width>1585</width>
					<height>40</height>
					<font>font13</font>
					<textcolor>NormalTextColor</textcolor>
					<label>$INFO[VideoPlayer.ChannelNumberLabel,, ]$INFO[VideoPlayer.ChannelName]</label>
				</control>
				<control type="label">
					<label>$INFO[VideoPlayer.Plot]</label>
					<left>300</left>
					<top>120</top>
					<width>1585</width>
					<height>40</height>
					<font>font14</font>
					<scroll>true</scroll>
				</control>
				<control type="label">
					<left>300</left>
					<top>170</top>
					<width>1585</width>
					<height>40</height>
					<font>font14</font>
					<label>[COLOR=LabelTextColor]$LOCALIZE[19031]: [/COLOR]$INFO[VideoPlayer.NextTitle] $INFO[VideoPlayer.NextStartTime,(, - ]$INFO[VideoPlayer.NextEndTime,,)]</label>
					<scroll>true</scroll>
				</control>
			</control>
			<control type="group">
				<visible>VideoPlayer.Content(musicvideos)</visible>
				<left>300</left>
				<control type="textbox">
					<top>90</top>
					<width>1600</width>
					<height>108</height>
					<font>font14_textbox</font>
					<aligny>top</aligny>
					<include>AutoscrollDefault</include>
					<label>$INFO[VideoPlayer.Plot]</label>
				</control>
			</control>
			<control type="progress">
				<left>300</left>
				<top>233</top>
				<width>1587</width>
				<height>37</height>
				<info>Player.ProgressCache</info>
				<midtexture colordiffuse="44ffffff" border="5">osd/midtexture.png</midtexture>
			</control>
			<control type="progress">
				<left>300</left>
				<top>233</top>
				<width>1587</width>
				<height>37</height>
				<info>Player.Progress</info>
			</control>
			<control type="label">
				<top>233</top>
				<left>315</left>
				<width>900</width>
				<height>35</height>
				<font>font12</font>
				<label>$INFO[Player.Time]$INFO[Player.Duration, / ]</label>
			</control>
			<control type="label">
				<top>233</top>
				<left>975</left>
				<width>900</width>
				<height>35</height>
				<font>font12</font>
				<align>right</align>
				<label>$INFO[Player.TimeRemaining]$INFO[Player.Duration, / ]</label>
			</control>
			<control type="label">
				<top>233</top>
				<left>300</left>
				<width>1587</width>
				<height>35</height>
				<font>font12</font>
				<align>center</align>
				<label>$VAR[SeekLabelVar]</label>
			</control>
		</control>
	</controls>
</window>