<?xml version="1.0" encoding="UTF-8"?>
<includes>
	<include name="OSDFocusStop">
		<defaultcontrol always="true">15</defaultcontrol>
	</include>
	<include name="OSDFocusPause">
		<defaultcontrol always="true">14</defaultcontrol>
	</include>
	<include name="AlternateOSDInfoContent">
		<right>210</right>
		<control type="label" description="Title">
			<width>1000</width>
			<top>0</top>
			<height>40</height>
			<font>SmallBold</font>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerTitle]</label>
		</control>


		<control type="label" description="Next Title">
			<width>980</width>
			<top>210</top>
			<height>23</height>
			<font>MiniBoldProgress</font>
			<align>left</align>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerLiveTVNextTitle]</label>
			<visible>VideoPlayer.Content(LiveTV)</visible>
		</control>
		<!--
		<control type="label" description="Genre">
			<left>50%</left>
			<width>50%</width>
			<top>168</top>
			<height>30</height>
			<font>Small</font>
			<align>center</align>
			<aligny>center</aligny>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerAdditionalInfo]</label>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
		</control>
		-->
		<control type="textbox" description="Plot">
			<width>99%</width>
			<top>110</top>
			<bottom>70</bottom>
			<font>SmallBold</font>
			<align>justify</align>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerPlotBox]</label>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
		</control>
		<control type="textbox" description="Plot">
			<width>99%</width>
			<top>110</top>
			<bottom>110</bottom>
			<font>SmallBold</font>
			<align>justify</align>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerPlotBox]</label>
			<visible>VideoPlayer.Content(LiveTV)</visible>
		</control>
	</include>
	<include name="OSDInfoContent">
		<right>NewSidePad</right>
		<top>NewSidePad</top>
		<control type="label" id="43122">
			<label>$VAR[PlayerPlotBox]</label>
			<visible>false</visible>
		</control>
		<control type="label" description="Title">
			<width>1000</width>
			<top>0</top>
			<height>40</height>
			<font>SmallBold</font>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerTitle]</label>
		</control>
		<control type="label" description="Show">
			<width>50%</width>
			<top>110</top>
			<height>50</height>
			<font>MediumLarge</font>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<scroll>true</scroll>
			<label>$VAR[PlayerBigTitle]</label>
			<visible>!IsEmpty(Control.GetLabel(43122))</visible>
		</control>
		<control type="label" description="Show">
			<width>100%</width>
			<top>110</top>
			<height>50</height>
			<font>MediumLarge</font>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<scroll>true</scroll>
			<label>$VAR[PlayerBigTitle]</label>
			<visible>IsEmpty(Control.GetLabel(43122))</visible>
		</control>
		<control type="progress" description="cache">
			<description>Progress Bar</description>
			<width>50%</width>
			<top>164</top>
			<height>25</height>
			<info>Player.ProgressCache</info>
			<visible>true</visible>
						<texturebg colordiffuse="$VAR[NowPlayingBackgroundColourHighlight]">osd/progress-bg.png</texturebg>
						<lefttexture colordiffuse="$VAR[NowPlayingProgressColourHighlight]">osd/progress-end.png</lefttexture>
						<midtexture colordiffuse="$VAR[NowPlayingProgressColourHighlight]">osd/progress-end.png</midtexture>
						<righttexture colordiffuse="$VAR[BackingColourHighlight]">osd/progress-end.png</righttexture>
			<visible>!IsEmpty(Control.GetLabel(43122))</visible>
		</control>
		<control type="progress" description="cache">
			<description>Progress Bar</description>
			<width>100%</width>
			<top>164</top>
			<height>25</height>
			<info>Player.ProgressCache</info>
			<visible>true</visible>
						<texturebg colordiffuse="$VAR[NowPlayingBackgroundColourHighlight]">osd/progress-bg.png</texturebg>
						<lefttexture colordiffuse="$VAR[NowPlayingProgressColourHighlight]">osd/progress-end.png</lefttexture>
						<midtexture colordiffuse="$VAR[NowPlayingProgressColourHighlight]">osd/progress-end.png</midtexture>
						<righttexture colordiffuse="$VAR[BackingColourHighlight]">osd/progress-end.png</righttexture>
			<visible>IsEmpty(Control.GetLabel(43122))</visible>
		</control>
		<control type="progress" id="23">
			<description>Progress Bar</description>
			<width>50%</width>
			<top>164</top>
			<height>25</height>
						<texturebg colordiffuse="$VAR[NowPlayingBackgroundColourHighlight]">osd/progress-bg.png</texturebg>
						<lefttexture colordiffuse="$VAR[NowPlayingProgressColourHighlight]">osd/progress-end.png</lefttexture>
						<midtexture colordiffuse="$VAR[NowPlayingProgressColourHighlight]">osd/progress-end.png</midtexture>
						<righttexture colordiffuse="$VAR[BackingColourHighlight]">osd/progress-end.png</righttexture>
			<info>Player.Progress</info>
			<visible>!IsEmpty(Control.GetLabel(43122))</visible>
		</control>
		<control type="progress" id="23">
			<description>Progress Bar</description>
			<width>100%</width>
			<top>164</top>
			<height>25</height>
						<texturebg colordiffuse="$VAR[NowPlayingBackgroundColourHighlight]">osd/progress-bg.png</texturebg>
						<lefttexture colordiffuse="$VAR[NowPlayingProgressColourHighlight]">osd/progress-end.png</lefttexture>
						<midtexture colordiffuse="$VAR[NowPlayingProgressColourHighlight]">osd/progress-end.png</midtexture>
						<righttexture colordiffuse="$VAR[BackingColourHighlight]">osd/progress-end.png</righttexture>
			<info>Player.Progress</info>
			<visible>IsEmpty(Control.GetLabel(43122))</visible>
		</control>
		<control type="label" description="Elapsed Time">
			<width>400</width>
			<top>164</top>
                        <height>23</height>
                        <font>MiniBoldProgress</font>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label> $VAR[PlayerStatus]</label>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
		</control>
		<control type="label" description="Total Time">
			<right>50%</right>
			<align>right</align>
			<width>400</width>
			<top>164</top>
                        <height>23</height>
                        <font>MiniBoldProgress</font>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$INFO[Player.Time] / $INFO[Player.Duration] </label>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
			<visible>!IsEmpty(Control.GetLabel(43122))</visible>
		</control>
		<control type="label" description="Total Time">
			<right>10</right>
			<align>right</align>
			<width>400</width>
			<top>164</top>
                        <height>23</height>
                        <font>MiniBoldProgress</font>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$INFO[Player.Time] / $INFO[Player.Duration]</label>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
			<visible>IsEmpty(Control.GetLabel(43122))</visible>
		</control>
		<control type="label" description="Next Title">
	                    <left>10</left>
			<width>980</width>
			<top>164</top>
                        <height>23</height>
                        <font>MiniBoldProgress</font>
			<align>left</align>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerLiveTVNextTitle]</label>
			<visible>VideoPlayer.Content(LiveTV)</visible>
		</control>
		<!--
		<control type="label" description="Genre">
			<left>50%</left>
			<width>50%</width>
			<top>168</top>
			<height>30</height>
			<font>Small</font>
			<align>center</align>
			<aligny>center</aligny>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerAdditionalInfo]</label>
			<visible>!VideoPlayer.Content(LiveTV)</visible>
		</control>
		-->
		<control type="textbox" description="Plot">
			<left>52%</left>
			<width>48%</width>
			<top>110</top>
			<bottom>10</bottom>
			<font>SmallBold</font>
			<align>justify</align>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<label>$VAR[PlayerPlotBox]</label>
		</control>
	</include>
	<include name="DefOSDButtons">
		<aligny>center</aligny>
		<align>center</align>
		<height>48</height>
		<font>symbolback</font>
		<disabledcolor>$VAR[DisabledColour]</disabledcolor>
		<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
		<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
		<texturefocus>noop</texturefocus>
		<width>100</width>
	</include>
	<include name="DefOSDButtonsMusic">
		<aligny>center</aligny>
		<align>center</align>
		<height>48</height>
		<font>symbolback</font>
		<disabledcolor>$VAR[DisabledColour]</disabledcolor>
		<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
		<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
		<texturefocus>noop</texturefocus>
		<width>120</width>
	</include>
	<include name="DefOSDUpDown">
		<onup condition="IsEmpty(Window(home).Property(osdshowinfo)) + !Window.IsVisible(MusicOSD.xml)">SetProperty(osdshowinfo,1,home)</onup>
		<onup condition="!IsEmpty(Window(home).Property(osdshowinfo)) + !Window.IsVisible(MusicOSD.xml)">ClearProperty(osdshowinfo,home)</onup>
		<ondown condition="IsEmpty(Window(home).Property(osdshowinfo)) + !Window.IsVisible(MusicOSD.xml)">SetProperty(osdshowinfo,1,home)</ondown>
		<ondown condition="!IsEmpty(Window(home).Property(osdshowinfo)) + !Window.IsVisible(MusicOSD.xml)">ClearProperty(osdshowinfo,home)</ondown>
		<onup condition="Window.IsVisible(MusicOSD.xml)">3</onup>
		<ondown condition="Window.IsVisible(MusicOSD.xml)">3</ondown>
	</include>
	<include name="OSDVideosRight">
		<control type="button" id="5">
			<description>3D Mode</description>
			<align>right</align>
			<label></label>
			<onclick>StereoMode</onclick>
			<include>DefOSDButtons</include>
			<enable>VideoPlayer.IsStereoscopic</enable>
			<disabledcolor>$VAR[DisabledColour]</disabledcolor>
		</control>
		<control type="button" id="6">
			<description>BookMarks</description>
			<align>right</align>
			<include>DefOSDButtons</include>
			<label></label>
			<onclick>ActivateWindow(125)</onclick>
		</control>
	</include>
	<include name="OSDPVRRight">
		<control type="button" id="4">
			<description>CHANNELS</description>
			<align>right</align>
			<label></label>
			<include>DefOSDButtons</include>
			<onclick>ActivateWindow(pvrosdchannels)</onclick>
		</control>
		<control type="button" id="5">
			<description>EPG</description>
			<align>right</align>
			<label></label>
			<onclick>ActivateWindow(pvrosdguide)</onclick>
			<include>DefOSDButtons</include>
		</control>
		<control type="button" id="6">
			<description>TIMELINE</description>
			<align>right</align>
			<include>DefOSDButtons</include>
			<label></label>
			<onclick>close</onclick>
			<onclick>ActivateWindow(tvguide,,return)</onclick>
		</control>
	</include>
	<include name="OSDDVDMenu">
		<control type="button" id="4">
			<description>DVD Menu</description>
			<label></label>
			<align>right</align>
			<include>DefOSDButtons</include>
			<onclick>PlayerControl(ShowVideoMenu)</onclick>
			<enable>VideoPlayer.HasMenu</enable>
			<disabledcolor>$VAR[DisabledColour]</disabledcolor>
		</control>
	</include>
	<include name="OSDExtraInfoTV">
		<control type="button" id="4">
			<description>Info</description>
			<label></label>
			<align>right</align>
			<include>DefOSDButtons</include>
			<onclick>Close</onclick>
			<onclick>RunScript(script.extendedinfo,info=extendedtvinfo,name=$INFO[VideoPlayer.TvShowTitle])</onclick>
			<disabledcolor>$VAR[DisabledColour]</disabledcolor>
		</control>
	</include>
	<include name="OSDExtraInfoMOVIES">
		<control type="button" id="4">
			<description>Info</description>
			<label></label>
			<align>right</align>
			<include>DefOSDButtons</include>
			<onclick>Close</onclick>
			<onclick>RunScript(script.extendedinfo,info=extendedinfo,name=$INFO[VideoPlayer.Title])</onclick>
			<disabledcolor>$VAR[DisabledColour]</disabledcolor>
		</control>
	</include>
	<include name="OSDVideoControlsFlip">
		<control type="togglebutton" id="9003">
			<description>Record</description>
			<width>128</width>
			<height>52</height>
			<font>symbolosd</font>
			<label></label>
			<altlabel></altlabel>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<include>DefOSDUpDown</include>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<usealttexture>Player.Recording</usealttexture>
			<alttexturefocus>-</alttexturefocus>
			<alttexturenofocus>-</alttexturenofocus>
			<onclick>PlayerControl(Record)</onclick>
			<enable>Player.CanRecord</enable>
			<visible>VideoPlayer.Content(LiveTV)</visible>
			<animation effect="fade" start="100" end="33" time="100" condition="!Player.CanRecord">Conditional</animation>
		</control>
		<control type="button" id="12">
			<description>Skip Back</description>
			<width>128</width>
			<height>52</height>
			<font>symbolosd</font>
			<label></label>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<include>DefOSDUpDown</include>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>PlayerControl(Previous)</onclick>
		</control>
		<control type="button" id="13">
			<description>Rewind</description>
			<width>128</width>
			<height>52</height>
			<font>symbolosd</font>
			<label></label>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<include>DefOSDUpDown</include>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>PlayerControl(Rewind)</onclick>
			<enable>Player.SeekEnabled</enable>
			<animation effect="fade" start="100" end="33" time="100" condition="!Player.SeekEnabled">Conditional</animation>
		</control>
		<control type="togglebutton" id="14">
			<description>Play/Pause</description>
			<width>128</width>
			<height>52</height>
			<font>symbolosd</font>
			<label></label>
			<altlabel></altlabel>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<include>DefOSDUpDown</include>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
			<alttexturefocus>-</alttexturefocus>
			<alttexturenofocus>-</alttexturenofocus>
			<onclick>PlayerControl(Play)</onclick>
			<enable>Player.PauseEnabled</enable>
			<animation effect="fade" start="100" end="33" time="100" condition="!Player.PauseEnabled">Conditional</animation>
		</control>
		<control type="button" id="15">
			<description>Stop</description>
			<width>128</width>
			<height>52</height>
			<font>symbolosd</font>
			<label></label>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<include>DefOSDUpDown</include>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>PlayerControl(Stop)</onclick>
		</control>
		<control type="button" id="16">
			<description>Fast Forward</description>
			<width>128</width>
			<height>52</height>
			<font>symbolosd</font>
			<label></label>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<include>DefOSDUpDown</include>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>PlayerControl(Forward)</onclick>
			<enable>Player.SeekEnabled</enable>
			<animation effect="fade" start="100" end="33" time="100" condition="!Player.SeekEnabled">Conditional</animation>
		</control>
		<control type="button" id="17">
			<description>Next</description>
			<width>128</width>
			<height>52</height>
			<font>symbolosd</font>
			<label></label>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<include>DefOSDUpDown</include>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>PlayerControl(Next)</onclick>
		</control>
		<control type="button" id="9002">
			<width>128</width>
			<height>52</height>
			<font>symbolosd</font>
			<label></label>
			<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
			<focusedcolor>$VAR[ColourHighlight]</focusedcolor>
			<include>DefOSDUpDown</include>
			<texturefocus>-</texturefocus>
			<texturenofocus>-</texturenofocus>
			<onclick>EjectTray()</onclick>
			<visible>System.HasMediadvd</visible>
		</control>
	</include>
	<include name="Furniture_OSDClock">
		<control type="group">
			<visible>Window.IsVisible(DialogVideoInfo.xml) | Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.ShowInfo | Window.IsVisible(fullscreeninfo) | Window.IsVisible(videoosd)</visible>
			<visible>![Window.IsVisible(DialogKaiToast.xml) + !Window.IsVisible(DialogVideoInfo.xml)]</visible>
			<visible>!Window.IsVisible(DialogExtendedInfo.xml)</visible>
			<visible>![Window.IsVisible(DialogVolumeBar.xml) + !Window.IsVisible(DialogVideoInfo.xml)]</visible>
			<right>NewSidePad</right>
			<top>NewSidePad</top>
			<width>360</width>
			<height>80</height>
			<include>Animation.FadeIn.Slide</include>
			<include>Animation.FadeOut</include>
			<control type="image">
				<colordiffuse>$VAR[EmbyRightColourHighlight]</colordiffuse>
				<animation effect="fade" start="100" end="90" condition="[!Window.IsVisible(fullscreenvideo) + !Window.IsVisible(visualisation)]">Conditional</animation>
				<texture>common/box.png</texture>
			</control>
			<control type="image">
				<bottom>30</bottom>
				<colordiffuse>$VAR[EmbyLeftColourHighlight]</colordiffuse>
				<animation effect="fade" start="100" end="90" condition="[!Window.IsVisible(fullscreenvideo) + !Window.IsVisible(visualisation)]">Conditional</animation>
				<texture>common/white.png</texture>
			</control>
			<control type="group">
				<control type="label">
					<left>20</left>
					<centertop>30%</centertop>
					<width>48</width>
					<height>48</height>
					<aspectratio aligny="center">keep</aspectratio>
					<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
					<font>symbol</font>
					<label></label>
				</control>
				<control type="label">
					<top>-15</top>
					<right>185</right>
					<left>20</left>
					<height>100%</height>
					<align>center</align>
					<aligny>center</aligny>
					<font>Small</font>
					<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
					<label>$INFO[System.Time(hh:mm)]</label>
				</control>
				<control type="label">
					<left>235</left>
					<centertop>30%</centertop>
					<width>48</width>
					<height>48</height>
					<aspectratio aligny="center">keep</aspectratio>
					<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
					<font>symbol</font>
					<label></label>
				</control>
				<control type="label">
					<top>-15</top>
					<right>-45</right>
					<left>220</left>
					<height>100%</height>
					<align>center</align>
					<aligny>center</aligny>
					<font>Small</font>
					<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
					<label>$INFO[Player.FinishTime(hh:mm)]</label>
				</control>
				<control type="label">
					<left>60</left>
					<right>2</right>
					<height>20</height>
					<bottom>9</bottom>
					<align>left</align>
					<aligny>bottom</aligny>
					<font>Minute</font>
					<textcolor>black</textcolor>
					<label>[COLOR=$VAR[ColourHighlight]]$INFO[Weather.Temperature][/COLOR] $INFO[Weather.Conditions]</label>
				</control>
				<control type="image">
					<left>16</left>
					<bottom>-10</bottom>
					<width>48</width>
					<height>48</height>
					<fadetime>350</fadetime>
					<aspectratio aligny="bottom" align="left">keep</aspectratio>
					<texture colordiffuse="$VAR[EmbyMenuColourHighlight]">$INFO[Weather.FanartCode,weather/small/,.png]</texture>
				</control>
			</control>
		</control>
	</include>
</includes>