<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="PlayerControlCommons">
		<include>VisibleFadeEffect</include>
		<control type="image">
			<posx>0</posx>
			<posy>0</posy>
			<include>ScreenWidth</include>
			<height>80</height>
			<texture border="0,0,0,2">header.png</texture>
		</control>
		<control type="button">
			<description>Home Button</description>
			<posx>22</posx>
			<posy>2</posy>
			<width>150</width>
			<height>75</height>
			<font></font>
			<texturenofocus></texturenofocus>
			<texturefocus></texturefocus>
			<onclick>Dialog.Close(all)</onclick>
			<onclick>ActivateWindow(Home)</onclick>
		</control>
		<control type="image">
			<description>Kodi Logo</description>
			<posx>22</posx>
			<posy>2</posy>
			<width>150</width>
			<height>75</height>
			<texture>kodi_logo.png</texture>
			<include>VisibleFadeEffect</include>
		</control>
		<control type="group">
			<posx>300</posx>
			<posy>10</posy>
			<include>VisibleFadeEffect</include>
			<include>16x9_xPos_Relocation</include>
			<visible>![Window.IsVisible(busydialog) | Window.IsVisible(extendedprogressdialog) | Window.IsVisible(Notification) | Window.IsVisible(volumebar)]</visible>
			<control type="button">
				<description>Volume Button</description>
				<posx>0</posx>
				<posy>10</posy>
				<width>40</width>
				<height>40</height>
				<label></label>
				<texturenofocus>osd_volume.png</texturenofocus>
				<texturefocus colordiffuse="blue">osd_volume.png</texturefocus>
				<onclick>ActivateWindow(1112)</onclick>
			</control>
			<control type="group">
				<posx>64</posx>
				<include>VisibleFadeEffect</include>
				<visible>!Window.IsVisible(1112)</visible>
				<control type="label">
					<posx>0</posx>
					<posy>0</posy>
					<width>180</width>
					<height>32</height>
					<font>font20_title</font>
					<aligny>center</aligny>
					<label>$INFO[Player.Time(hh:mm:ss)]</label>
				</control>
				<control type="label">
					<posx>0</posx>
					<posy>0</posy>
					<width>552</width>
					<height>32</height>
					<font>font20_title</font>
					<align>center</align>
					<aligny>center</aligny>
					<label>$VAR[SeekLabel]</label>
				</control>
				<control type="label">
					<posx>552</posx>
					<posy>0</posy>
					<width>180</width>
					<height>32</height>
					<font>font20_title</font>
					<align>right</align>
					<aligny>center</aligny>
					<label>$INFO[Player.Duration(hh:mm:ss)]</label>
				</control>
				<control type="progress">
					<description>Progressbar</description>
					<posx>0</posx>
					<posy>40</posy>
					<width>552</width>
					<height>12</height>
					<info>Player.Cache</info>
					<midtexture colordiffuse="grey2">white.png</midtexture>
					<texturebg></texturebg>
				</control>
				<control type="progress">
					<description>Progressbar</description>
					<posx>0</posx>
					<posy>40</posy>
					<width>552</width>
					<height>12</height>
					<info>Player.Progress</info>
				</control>
				<control type="slider" id="87">
					<description>Seek Slider</description>
					<posx>0</posx>
					<posy>30</posy>
					<width>552</width>
					<height>32</height>
					<action>seek</action>
					<texturesliderbar></texturesliderbar>
					<textureslidernib></textureslidernib>
					<textureslidernibfocus></textureslidernibfocus>
				</control>
			</control>
		</control>
		<control type="group">
			<posx>70r</posx>
			<posy>0</posy>
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<width>2</width>
				<height>78</height>
				<texture border="2">separator.png</texture>
				<colordiffuse>FF464646</colordiffuse>
			</control>
			<control type="button">
				<description>Close Button</description>
				<posx>4</posx>
				<posy>9</posy>
				<width>60</width>
				<height>60</height>
				<font></font>
				<onclick>Back</onclick>
				<texturefocus>icon_dialog_close.png</texturefocus>
				<texturenofocus>icon_dialog_close.png</texturenofocus>
			</control>
		</control>
		<control type="image">
			<posx>0</posx>
			<posy>80r</posy>
			<include>ScreenWidth</include>
			<height>80</height>
			<texture flipy="true">header.png</texture>
		</control>
		<control type="group">
			<posx>0</posx>
			<posy>230r</posy>
			<animation effect="slide" start="0,-200" end="0,0" time="300" easing="out" tween="quadratic" >Visible</animation>
			<animation effect="slide" start="0,0" end="0,-200" time="300" easing="in" tween="quadratic" >Hidden</animation>
			<control type="image">
				<posx>0</posx>
				<posy>0</posy>
				<include>ScreenWidth</include>
				<height>150</height>
				<texture>side_panel.png</texture>
				<colordiffuse>A0000000</colordiffuse>
			</control>
			<control type="group">
				<control type="image">
					<description>cover image</description>
					<posx>0</posx>
					<posy>0</posy>
					<width>230</width>
					<height>230</height>
					<texture>$VAR[OSDImage]</texture>
					<aspectratio>keep</aspectratio>
					<fadetime>IconCrossfadeTime</fadetime>
				</control>
				<control type="label">
					<posx>250</posx>
					<posy>10</posy>
					<width>750</width>
					<height>25</height>
					<align>left</align>
					<font>font25</font>
					<label>$VAR[OSDLabel1]</label>
				</control>
				<control type="label">
					<posx>280</posx>
					<posy>50</posy>
					<width>720</width>
					<height>30</height>
					<font>font30_title</font>
					<align>left</align>
					<aligny>center</aligny>
					<label>$VAR[OSDLabel2]</label>
				</control>
				<control type="label">
					<posx>250</posx>
					<posy>85</posy>
					<width>750</width>
					<height>25</height>
					<align>left</align>
					<font>font24</font>
					<label>$VAR[OSDLabel3]</label>
				</control>
				<control type="group">
					<posx>275r</posx>
					<posy>30</posy>
					<width>275</width>
					<height>100</height>
					<visible>Window.IsVisible(MusicOSD)</visible>
					<control type="image">
						<description>Rating</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>256</width>
						<height>32</height>
						<texture fallback="rating/0.png">$INFO[MusicPlayer.UserRating,rating/,.png]</texture>
					</control>
					<control type="image">
						<description>Audio Codec Image</description>
						<posx>156</posx>
						<posy>32</posy>
						<width>100</width>
						<height>44</height>
						<texture>$INFO[MusicPlayer.Codec,flagging/audio/,.png]</texture>
					</control>
				</control>
				<control type="group">
					<posx>230r</posx>
					<posy>30</posy>
					<width>250</width>
					<height>100</height>
					<visible>Window.IsVisible(VideoOSD)</visible>
					<control type="image">
						<description>Video Codec Image</description>
						<posx>0</posx>
						<posy>0</posy>
						<width>100</width>
						<height>44</height>
						<texture>$INFO[VideoPlayer.VideoCodec,flagging/video/,.png]</texture>
					</control>
					<control type="image">
						<description>Resolution Image</description>
						<posx>115</posx>
						<posy>0</posy>
						<width>100</width>
						<height>44</height>
						<texture>$INFO[VideoPlayer.VideoResolution,flagging/video/,.png]</texture>
					</control>
					<control type="image">
						<description>Audio Codec Image</description>
						<posx>0</posx>
						<posy>40</posy>
						<width>100</width>
						<height>44</height>
						<texture>$INFO[VideoPlayer.AudioCodec,flagging/audio/,.png]</texture>
					</control>
					<control type="image">
						<description>Audio Codec Image</description>
						<posx>115</posx>
						<posy>40</posy>
						<width>100</width>
						<height>44</height>
						<texture>$INFO[VideoPlayer.AudioChannels,flagging/audio/,.png]</texture>
					</control>
				</control>
				<control type="label">
					<posx>20r</posx>
					<posy>5</posy>
					<width>300</width>
					<height>25</height>
					<align>right</align>
					<aligny>center</aligny>
					<font>font20</font>
					<label>$VAR[OSDLabel4]</label>
				</control>
				<control type="label">
					<posx>20r</posx>
					<posy>122</posy>
					<width>840</width>
					<height>25</height>
					<label>$VAR[OSDLabel5]</label>
					<align>right</align>
					<aligny>center</aligny>
					<font>font20</font>
				</control>
			</control>
		</control>
		<control type="group">
			<posy>80r</posy>
			<control type="grouplist">
				<posx>0</posx>
				<posy>15</posy>
				<width>ScreenWidth</width>
				<height>50</height>
				<align>center</align>
				<orientation>horizontal</orientation>
				<itemgap>30</itemgap>
				<control type="button">
					<width>50</width>
					<height>50</height>
					<texturefocus colordiffuse="blue">osd_previous.png</texturefocus>
					<texturenofocus>osd_previous.png</texturenofocus>
					<onclick>PlayerControl(Previous)</onclick>
				</control>
				<control type="button">
					<width>50</width>
					<height>50</height>
					<texturefocus colordiffuse="blue">osd_rewind.png</texturefocus>
					<texturenofocus>osd_rewind.png</texturenofocus>
					<onclick>PlayerControl(Rewind)</onclick>
				</control>
				<control type="togglebutton">
					<width>50</width>
					<height>50</height>
					<texturefocus colordiffuse="blue">osd_pause.png</texturefocus>
					<texturenofocus>osd_pause.png</texturenofocus>
					<alttexturefocus colordiffuse="blue">osd_play.png</alttexturefocus>
					<alttexturenofocus>osd_play.png</alttexturenofocus>
					<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
					<onclick>PlayerControl(Play)</onclick>
				</control>
				<control type="button">
					<width>50</width>
					<height>50</height>
					<texturefocus colordiffuse="blue">osd_stop.png</texturefocus>
					<texturenofocus>osd_stop.png</texturenofocus>
					<onclick>PlayerControl(Stop)</onclick>
				</control>
				<control type="button">
					<width>50</width>
					<height>50</height>
					<texturefocus colordiffuse="blue">osd_forward.png</texturefocus>
					<texturenofocus>osd_forward.png</texturenofocus>
					<onclick>PlayerControl(Forward)</onclick>
				</control>
				<control type="button">
					<width>50</width>
					<height>50</height>
					<texturefocus colordiffuse="blue">osd_next.png</texturefocus>
					<texturenofocus>osd_next.png</texturenofocus>
					<onclick>PlayerControl(Next)</onclick>
				</control>
				<control type="togglebutton">
					<width>50</width>
					<height>50</height>
					<texturefocus colordiffuse="blue">osd_record.png</texturefocus>
					<texturenofocus>osd_record.png</texturenofocus>
					<alttexturefocus colordiffuse="red">osd_record.png</alttexturefocus>
					<alttexturenofocus colordiffuse="red">osd_record.png</alttexturenofocus>
					<usealttexture>Player.Record</usealttexture>
					<onclick>PlayerControl(Record)</onclick>
					<visible>Player.CanRecord</visible>
				</control>
			</control>
		</control>
		<include>BottomMenu</include>
		<include content="PopupMenu">
			<param name="panel-posy">0</param>
			<param name="panel-height">560</param>
		</include>
	</include>
</includes>
