<?xml version="1.0" encoding="UTF-8"?>
<window>
	<defaultcontrol always="true">3012</defaultcontrol>
	<onload>Dialog.Close(fullscreeninfo,true)</onload>
	<onload>Dialog.Close(videoosd,true)</onload>
	<include>PropertyIncludes</include>
	<controls>
		<control type="progress" id="3014">
			<include>HiddenObject</include>
		</control>
		<control type="group">
			<bottom>0</bottom>
			<height>194</height>
			<!-- Background -->
			<control type="image">
				<width>100%</width>
				<height>194</height>
				<texture colordiffuse="black">views/player/mask_bottom.png</texture>
			</control>
			<control type="image">
				<bottom>19</bottom>
				<left>19</left>
				<height>156</height>
				<width>278</width>
				<texture>$VAR[UpNextThumb]</texture>
				<aspectratio scalediffuse="false">keep</aspectratio>
				<bordersize>11</bordersize>
				<bordertexture border="11,11,11,11">items/resp_shadow.png</bordertexture>
			</control>
			<!-- Labels -->
			<control type="group">
				<top>26</top>
				<left>299</left>
				<right>20</right>
				<!-- Time -->
				<control type="label">
					<width>auto</width>
					<height>30</height>
					<aligny>center</aligny>
					<font>Med28</font>
					<textcolor>white</textcolor>
					<label>[LIGHT]$LOCALIZE[31012]   [COLOR $VAR[AccentColor]]$VAR[PlayerTimeRemaining][/COLOR][/LIGHT]</label>
				</control>
				<!-- Details -->
				<control type="grouplist">
					<orientation>horizontal</orientation>
					<height>30</height>
					<top>40</top>
					<itemgap>0</itemgap>
					<control type="label">
						<width>auto</width>
						<height>30</height>
						<aligny>center</aligny>
						<font>Reg24</font>
						<textcolor>white</textcolor>
						<label>$INFO[Window.Property(tvshowtitle),, - ]$INFO[Window.Property(season),S,:]$INFO[Window.Property(episode),E, - ]$INFO[Window.Property(title)]   </label>
						<visible>!String.IsEmpty(Window.Property(title))</visible>
					</control>
					<control type="label">
						<width>auto</width>
						<height>30</height>
						<aligny>center</aligny>
						<font>Reg24</font>
						<textcolor>white</textcolor>
						<label>$INFO[Window.Property(year),,   ]</label>
						<visible>!String.IsEmpty(Window.Property(year))</visible>
					</control>
					<control type="label">
						<animation effect="slide" end="-3,0" time="0" condition="true">Conditional</animation>
						<width>auto</width>
						<height>30</height>
						<aligny>center</aligny>
						<label>&#xf4ce;</label>
						<font>Material26</font>
						<textcolor>red</textcolor>
						<visible>!String.IsEmpty(Window.Property(rating)) + !String.StartsWith(Window(home).Property(rating),0)</visible>
					</control>
					<control type="label">
						<width>auto</width>
						<height>30</height>
						<aligny>center</aligny>
						<label>$INFO[Window.Property(rating),,   ]</label>
						<font>Reg24</font>
						<textcolor>white</textcolor>
						<visible>!String.IsEmpty(Window.Property(rating)) + !String.StartsWith(Window(home).Property(rating),0)</visible>
					</control>
					<control type="label">
						<width>auto</width>
						<height>30</height>
						<aligny>center</aligny>
						<label>$INFO[Window.Property(endtime),$LOCALIZE[31037] ,   ]</label>
						<font>Reg24</font>
						<textcolor>white</textcolor>
						<visible>!String.IsEmpty(Window.Property(endtime))</visible>
					</control>
				</control>
				<!-- Buttons -->
				<control type="grouplist">
					<orientation>horizontal</orientation>
					<height>56</height>
					<bottom>28</bottom>
					<itemgap>5</itemgap>
					<control type="button" id="3012">
						<include>LightGreyButton</include>
						<label>$LOCALIZE[31010]</label>
					</control>
					<control type="button" id="3013">
						<include>LightGreyButton</include>
						<label>$LOCALIZE[15067]</label>
					</control>
				</control>
			</control>
		</control>
	</controls>
</window>