<?xml version="1.0" encoding="utf-8"?>
<window>
	<defaultcontrol></defaultcontrol>
	<onload>ClearProperty(DoNotUnpause,home)</onload>
	<onload>SetProperty(ShowOSD,true,home)</onload>
	<onload>AlarmClock(ShowOSD,ClearProperty(ShowOSD,home),00:02,silent)</onload>
	<include>PropertyIncludes</include>
	<controls>
		<control type="list" id="2000">
			<include>HiddenObject</include>
			<content limit="1">$VAR[PlayerFullInfo]</content>
		</control>
		<include content="DiffuseMask">
			<param name="visible">Player.Caching | !String.IsEmpty(PVR.ChannelNumberInput)</param>
			<param name="colordiffuse" value="AA000000"/>
			<param name="id" value="99"/>
		</include>1
		<!-- busy spinner -->
		<control type="group" id="99">
			<visible>Player.Caching + !Window.IsVisible(busydialog)</visible>
			<include content="BusySpinner">
				<param name="id" value="99"/>
				<param name="colordiffuse" value="white"/>
			</include>
		</control>
		<!-- numeric Input -->
		<control type="label" id="99">
			<top>0</top>
			<bottom>0</bottom>
			<left>0</left>
			<right>0</right>
			<font>Bold70</font>
			<shadowcolor>text_shadow</shadowcolor>
			<label>$INFO[PVR.ChannelNumberInput,$LOCALIZE[19029] ]</label>
			<align>center</align>
			<aligny>center</aligny>
		</control>
		<!-- OSD -->
		<control type="group" id="99">
			<visible>!Player.HasGame</visible>
			<visible>[Window.IsVisible(videoosd) | [Player.Paused + !Skin.HasSetting(HidePauseOSD)] | Window.IsVisible(seekbar) | Player.ShowTime | !String.IsEmpty(Window(home).Property(ShowOSD))]</visible>
			<animation effect="fade" start="0" end="100" time="0">Visible</animation>
			<animation effect="fade" start="100" end="0" time="200" delay="1500">Hidden</animation>
			<animation effect="fade" start="100" end="0" time="0" condition="Window.IsVisible(playerprocessinfo) | Window.IsVisible(pvrosdchannels) | Window.IsVisible(Teletext) | Window.IsVisible(sliderdialog) | Window.IsVisible(shutdownmenu) | Window.IsVisible(videobookmarks) | !String.IsEmpty(Window(home).Property(service.upnext.dialog)) | [$EXP[HideVideoOSD] + !$EXP[PlayerSeek] + !Window.IsVisible(videoosd)]">Conditional</animation>
			<!-- top -->
			<include>PlayerTopBar</include>
			<!-- bottom -->
			<control type="image" id="99">
				<bottom>0</bottom>
				<width>100%</width>
				<height>470</height>
				<texture colordiffuse="black" flipy="true">views/player/mask_top.png</texture>
			</control>
			<!-- icon -->
			<control type="group" id="99">
				<bottom>20</bottom>
				<control type="image" id="99">
					<bottom>0</bottom>
					<left>19</left>
					<width>200</width>
					<texture background="true">$VAR[PlayerIcon]</texture>
					<aspectratio scalediffuse="false" aligny="bottom">keep</aspectratio>
					<bordersize>11</bordersize>
					<bordertexture border="11,11,11,11">items/resp_shadow.png</bordertexture>
					<visible>
						[!String.IsEmpty(Player.Art(poster)) + !String.StartsWith(Window(home).Property(Player.Art(poster).ar),1)]
						| [!String.IsEmpty(Player.Art(tvshow.poster)) + !String.StartsWith(Window(home).Property(Player.Art(tvshow.poster).ar),1)]
					</visible>
				</control>
				<control type="image" id="99">
					<animation effect="slide" time="0" start="0,0" end="0,-30" condition="Window.IsVisible(videoosd)">Conditional</animation>
					<bottom>0</bottom>
					<left>19</left>
					<width>200</width>
					<height>144</height>
					<texture background="true">$VAR[PlayerIcon]</texture>
					<aspectratio scalediffuse="false" aligny="center">keep</aspectratio>
					<bordersize>11</bordersize>
					<visible>![
						[!String.IsEmpty(Player.Art(poster)) + !String.StartsWith(Window(home).Property(Player.Art(poster).ar),1)]
						| [!String.IsEmpty(Player.Art(tvshow.poster)) + !String.StartsWith(Window(home).Property(Player.Art(tvshow.poster).ar),1)]
						]
					</visible>
				</control>
			</control>
			<!-- osd -->
			<control type="group" id="99">
				<animation effect="slide" time="0" start="0,0" end="0,60" condition="!Window.IsVisible(videoosd)">Conditional</animation>
				<!-- progress bars -->
				<control type="group" id="99">
					<height>50</height>
					<left>230</left>
					<right>30</right>
					<bottom>75</bottom>
					<control type="label" id="99">
						<width>100</width>
						<height>50</height>
						<aligny>center</aligny>
						<align>left</align>
						<font>Reg24</font>
						<textcolor>white</textcolor>
						<label>$VAR[PlayerTimeFull]</label>
						<visible>!String.IsEmpty(Player.Time)</visible>
					</control>
					<control type="label" id="99">
						<width>100</width>
						<right>0</right>
						<height>50</height>
						<align>right</align>
						<aligny>center</aligny>
						<font>Reg24</font>
						<textcolor>white</textcolor>
						<label>$VAR[PlayerDurationFull]</label>
					</control>
					<control type="grouplist" id="99">
						<top>-50</top>
						<right>0</right>
						<width>500</width>
						<height>50</height>
						<align>right</align>
						<orientation>horizontal</orientation>
						<itemgap>25</itemgap>
						<control type="label" id="99">
							<height>50</height>
							<width>auto</width>
							<aligny>center</aligny>
							<font>Material34</font>
							<textcolor>white</textcolor>
							<label>$VAR[PlaylistRepeatLabel]</label>
							<visible>Playlist.IsRepeat | Playlist.IsRepeatOne</visible>
						</control>
						<control type="label" id="99">
							<height>50</height>
							<width>auto</width>
							<aligny>center</aligny>
							<font>Material34</font>
							<textcolor>white</textcolor>
							<label>&#xf49d;</label>
							<visible>Playlist.IsRandom</visible>
						</control>
						<control type="label" id="99">
							<width>auto</width>
							<height>50</height>
							<aligny>center</aligny>
							<font>Reg24</font>
							<textcolor>white</textcolor>
							<label>$VAR[PlayerFinishTime,$LOCALIZE[31037] ]</label>
						</control>
						<control type="label" id="99">
							<width>auto</width>
							<height>50</height>
							<aligny>center</aligny>
							<font>Reg24</font>
							<textcolor>white</textcolor>
							<label>$LOCALIZE[31038]$INFO[PVR.TimeshiftOffset, (-,)]</label>
							<visible>Pvr.IsTimeShift</visible>
						</control>
					</control>
					<!-- Cache bar -->
					<control type="progress" id="99">
						<include>PlayerProgressDimension</include>
						<info>Player.ProgressCache</info>
						<texturebg colordiffuse="grey">common/white.jpg</texturebg>
						<midtexture colordiffuse="white">common/white.jpg</midtexture>
						<visible>!VideoPlayer.HasEpg</visible>
					</control>
					<!-- Video progress bar -->
					<control type="progress" id="99">
						<include>PlayerProgressDimension</include>
						<info>Player.Progress</info>
						<texturebg colordiffuse="00ffffff">common/white.jpg</texturebg>
						<midtexture colordiffuse="$VAR[PlayerAccentColor]">common/white.jpg</midtexture>
						<visible>!VideoPlayer.HasEpg</visible>
					</control>
					<!-- LiveTV + timeshift progress bar -->
					<control type="progress" id="99">
						<include>PlayerProgressDimension</include>
						<info>PVR.EpgEventProgress</info>
						<texturebg colordiffuse="grey">common/white.jpg</texturebg>
						<midtexture colordiffuse="$VAR[PlayerAccentColor]">common/white.jpg</midtexture>
						<visible>VideoPlayer.HasEpg</visible>
					</control>
				</control>
				<!-- label section -->
				<control type="group" id="99">
					<left>230</left>
					<right>30</right>
					<control type="group" id="99">
						<height>31</height>
						<bottom>189</bottom>
						<control type="grouplist" id="99">
							<orientation>horizontal</orientation>
							<height>31</height>
							<itemgap>0</itemgap>
							<control type="label" id="99">
								<include>NoTextures</include>
								<width>auto</width>
								<height>30</height>
								<aligny>center</aligny>
								<align>left</align>
								<font>Reg24</font>
								<textcolor>white</textcolor>
								<label>$LOCALIZE[31255]</label>
								<visible>$EXP[PlayingCinemaMode]</visible>
							</control>
							<control type="label" id="99">
								<include>NoTextures</include>
								<width>auto</width>
								<height>30</height>
								<aligny>center</aligny>
								<align>left</align>
								<font>Reg24</font>
								<textcolor>white</textcolor>
								<label>$VAR[PlayerEpisodeName,,   ]$INFO[VideoPlayer.Genre,,   ]</label>
								<visible>VideoPlayer.Content(livetv) | String.StartsWith(Player.Filenameandpath,pvr://)</visible>
							</control>
							<control type="label" id="99">
								<include>NoTextures</include>
								<width>auto</width>
								<height>30</height>
								<aligny>center</aligny>
								<align>left</align>
								<font>Reg24</font>
								<textcolor>white</textcolor>
								<label>$VAR[PlayerEpisodeName,, - ]$INFO[VideoPlayer.Title,,   ]</label>
								<visible>!String.IsEmpty(VideoPlayer.TvShowTitle)</visible>
							</control>
							<control type="label" id="99">
								<include>NoTextures</include>
								<width>auto</width>
								<height>30</height>
								<aligny>center</aligny>
								<align>right</align>
								<font>Reg24</font>
								<textcolor>white</textcolor>
								<label>$INFO[VideoPlayer.ChannelNumberLabel,$LOCALIZE[19029] ,   ]</label>
								<scroll>true</scroll>
							</control>
							<control type="label" id="99">
								<width>auto</width>
								<height>30</height>
								<aligny>center</aligny>
								<label>$INFO[VideoPlayer.Year]   </label>
								<font>Reg24</font>
								<textcolor>white</textcolor>
								<visible>!String.IsEmpty(VideoPlayer.Year) + !VideoPlayer.Content(livetv)</visible>
								<visible>!$EXP[PlayingCinemaMode]</visible>
							</control>
							<control type="label" id="99">
								<include>NoTextures</include>
								<width>auto</width>
								<height>30</height>
								<aligny>center</aligny>
								<align>right</align>
								<font>Reg24</font>
								<textcolor>white</textcolor>
								<label>$VAR[PlayerResolution,,   ]</label>
								<visible>!Player.ShowInfo</visible>
								<visible>VideoPlayer.Content(livetv) | String.StartsWith(Player.Filenameandpath,pvr://) | VideoPlayer.Content(files)</visible>
								<visible>!$EXP[PlayingCinemaMode]</visible>
							</control>
							<control type="button" id="99">
								<animation effect="slide" end="0,2" time="0" condition="true">Conditional</animation>
								<width min="24">auto</width>
								<height>24</height>
								<font>MpaaFont</font>
								<label>$INFO[VideoPlayer.Mpaa]</label>
								<textoffsetx>7</textoffsetx>
								<align>center</align>
								<textcolor>white</textcolor>
								<disabledcolor>white</disabledcolor>
								<texturefocus border="10" colordiffuse="white">icons/rating/mpaa.png</texturefocus>
								<texturenofocus border="10" colordiffuse="white">icons/rating/mpaa.png</texturenofocus>
								<enable>false</enable>
								<visible>!String.IsEmpty(VideoPlayer.Mpaa)</visible>
								<visible>!$EXP[PlayingCinemaMode]</visible>
							</control>
							<control type="label" id="99">
								<width>20</width>
								<height>24</height>
								<label/>
								<visible>!String.IsEmpty(VideoPlayer.Mpaa)</visible>
								<visible>!$EXP[PlayingCinemaMode]</visible>
							</control>
							<control type="label" id="99">
								<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(VideoPlayer.Rating)</visible>
								<visible>!$EXP[PlayingCinemaMode]</visible>
							</control>
							<control type="label" id="99">
								<width>auto</width>
								<height>30</height>
								<aligny>center</aligny>
								<label>$INFO[VideoPlayer.Rating]   </label>
								<font>Reg24</font>
								<textcolor>white</textcolor>
								<visible>!String.IsEmpty(VideoPlayer.Rating)</visible>
								<visible>!$EXP[PlayingCinemaMode]</visible>
							</control>
							<control type="image" id="99">
								<animation effect="slide" end="-4,4" time="0" condition="true">Conditional</animation>
								<width>24</width>
								<height>20</height>
								<texture>$VAR[RottenIcon]</texture>
								<aspectratio>keep</aspectratio>
								<visible>!$EXP[PlayingCinemaMode]</visible>
							</control>
							<control type="label" id="99">
								<width>auto</width>
								<height>30</height>
								<aligny>center</aligny>
								<label>$VAR[RottenRating,,   ]</label>
								<font>Reg24</font>
								<textcolor>white</textcolor>
								<visible>!$EXP[PlayingCinemaMode]</visible>
							</control>
						</control>
					</control>
					<control type="label" id="99">
						<height>50</height>
						<bottom>130</bottom>
						<left>0</left>
						<right>500</right>
						<aligny>center</aligny>
						<font>Med40</font>
						<textcolor>white</textcolor>
						<label>$VAR[PlayerFullLabel]</label>
						<visible>Pvr.IsTimeShift</visible>
					</control>
					<control type="label" id="99">
						<height>50</height>
						<bottom>130</bottom>
						<left>0</left>
						<right>400</right>
						<aligny>center</aligny>
						<font>Med40</font>
						<textcolor>white</textcolor>
						<label>$VAR[PlayerFullLabel]</label>
						<visible>Player.IsRandom | Playlist.IsRepeat | Playlist.IsRepeatOne</visible>
					</control>
					<control type="label" id="99">
						<height>50</height>
						<bottom>130</bottom>
						<left>0</left>
						<right>300</right>
						<aligny>center</aligny>
						<font>Med40</font>
						<textcolor>white</textcolor>
						<label>$VAR[PlayerFullLabel]</label>
						<visible>![Pvr.IsTimeShift | Player.IsRandom | Playlist.IsRepeat | Playlist.IsRepeatOne]</visible>
					</control>
				</control>
			</control>
		</control>
	</controls>
</window>
