<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="115">
    <defaultcontrol always="true">901</defaultcontrol>
    <visible>Window.IsActive(fullscreenvideo) + !Window.IsActive(script.pseudotv.TVOverlay.xml) + !Window.IsActive(script.pseudotv.live.TVOverlay.xml)</visible>
    <visible>Window.IsActive(fullscreenvideo) + !Window.IsActive(script.pseudotv.TVOverlay.xml) + !Window.IsActive(script.pseudotv.live.TVOverlay.xml)</visible>
    <visible>Window.IsActive(fullscreenvideo) + !Window.IsActive(script.pseudotv.TVOverlay.xml) + !Window.IsActive(script.pseudotv.live.TVOverlay.xml)</visible>
    <allowoverlay>no</allowoverlay>
    <visible>[VideoPlayer.IsFullscreen] + [Window.IsVisible(videoosd) | Window.IsVisible(fullscreeninfo) | Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.ShowInfo | !IsEmpty(Window(home).Property(osdshowinfo))]</visible>
    <zorder>0</zorder>
    <controls>
		<control type="image">
			<left>10</left>
			<top>10</top>
			<width>250</width>
			<height>97</height>
			<texture>$VAR[PlayerClearLogo]</texture>
			<aspectratio align="left" aligny="top">keep</aspectratio>
			<include>Animation.FadeIn</include>
			<include>Animation.FadeOut</include>
			<visible>Skin.HasSetting(ShowClearLogoOSD)</visible>
		</control>
        <control type="group">
            <visible>!Skin.HasSetting(ShowAlternateOSD)</visible>
            <animation effect="slide" start="0" end="0,-74" time="150" condition="Window.IsVisible(videoosd)">Conditional</animation>
            <control type="group">
                <animation effect="slide" start="0" end="0,-270" time="150" condition="Window.IsVisible(fullscreeninfo) | Player.ShowInfo | !IsEmpty(Window(home).Property(osdshowinfo)) | [Player.Paused + Skin.HasSetting(osd.showinfoonpause)]">Conditional</animation>
                <animation effect="slide" start="0" end="0,23" time="150" condition="!Window.IsVisible(fullscreeninfo) + !Player.Seeking + !Player.DisplayAfterSeek + !Player.Paused + !Player.Forwarding + !Player.Rewinding + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))">Conditional</animation>
                <animation effect="slide" start="0,110" end="0" time="150">Visible</animation>
                <animation effect="slide" start="0,110" end="0" time="150">WindowOpen</animation>
                <right>0</right>
                <left>0</left>
				<control id="518995" type="wraplist">
						<bottom>10</bottom>
						<width>1920</width>
						<height>190</height>
						<onup>50</onup>
						<ondown>50</ondown>
						<onleft>7000</onleft>
						<onright>noop</onright>
						<onback>50</onback>
						<preloaditems>8</preloaditems>
						<focusposition>7</focusposition>
						<autoscroll time="3000">!Control.HasFocus(518995)</autoscroll>
						<viewtype label="osdcast2">list</viewtype>
						<orientation>horizontal</orientation>
						<scrolltime easing="inout" tween="sine">300</scrolltime>
						<itemlayout height="177" width="128">
							<control type="group">
								<animation effect="zoom" end="85" start="100" time="200" center="auto" condition="Control.HasFocus(518995)">Conditional</animation>
								<control type="label">
									<left>0</left>
									<top>0</top>
									<right>0</right>
									<bottom>0</bottom>
									<height>177</height>
									<aligny>center</aligny>
									<align>center</align>
									<font>symbolbiggest</font>
									<label></label>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<fadetime>300</fadetime>
								</control>
								<control type="image">
									<left>0</left>
									<top>0</top>
									<right>0</right>
									<bottom>0</bottom>
									<aspectratio align="center" aligny="top">scale</aspectratio>
									<texture background="true">$VAR[PosterImage]</texture>
								</control>
								<control type="image">
									<left>0</left>
									<top>0</top>
									<right>0</right>
									<bottom>0</bottom>
									<texture colordiffuse="$VAR[DisabledColour]">common/white.png</texture>
									<animation effect="fade" end="45" start="45" time="0" condition="true">Conditional</animation>
								</control>
							</control>
						</itemlayout>
						<focusedlayout height="177" width="128">
							<control type="group">
								<control type="button">
									<texturefocus>-</texturefocus>
									<texturenofocus>-</texturenofocus>
									<onfocus>SetProperty(OSD_Cast_String,$INFO[ListItem.Label]$INFO[ListItem.Label2, $LOCALIZE[20347] ],home)</onfocus>
								</control>
								<control type="label">
									<left>0</left>
									<top>0</top>
									<right>0</right>
									<bottom>0</bottom>
									<height>177</height>
									<aligny>center</aligny>
									<align>center</align>
									<font>symbolbiggest</font>
									<label></label>
									<textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
									<fadetime>300</fadetime>
								</control>
								<control type="image">
									<left>0</left>
									<top>0</top>
									<right>0</right>
									<bottom>0</bottom>
									<aspectratio align="center" aligny="top">scale</aspectratio>
									<texture background="true">$VAR[PosterImage]</texture>
								</control>
							</control>
						</focusedlayout>
					<content target="video">$VAR[DefOSDCast]</content>
				</control>
                <control type="image">
                    <left>0</left>
                    <bottom>190</bottom>
                    <right>0</right>
                    <height>51</height>
                    <texture colordiffuse="$VAR[BottomBarColour]">common/white.png</texture>
                    <visible>IntegerGreaterThan(Container(518995).NumItems,0)</visible>
                </control>
                <control type="image">
                    <right>0</right>
                    <bottom>25</bottom>
                    <width>900</width>
                    <height>481</height>
                    <texture>$VAR[PlayerClearart]</texture>
                    <aspectratio align="right" aligny="bottom">keep</aspectratio>
                    <include>Animation.FadeIn</include>
                    <include>Animation.FadeOut</include>
                    <visible>Skin.HasSetting(ShowClearArtOSD)</visible>
                </control>
                <control type="label">
                    <bottom>191</bottom>
                    <width>1920</width>
                    <align>center</align>
                    <height>51</height>
                    <font>MediumBold</font>
                    <textcolor>$VAR[ColourSelected]</textcolor>
                    <scroll>true</scroll>
                    <label>$INFO[Container(518995).ListItem.Label]$INFO[Container(518995).ListItem.Label2, $LOCALIZE[20347] ]</label>
                    <visible>IntegerGreaterThan(Container(518995).NumItems,0)</visible>
                </control>
                <control type="image">
                    <top>25r</top>
                    <width>100%</width>
                    <height>374</height>
                    <colordiffuse>$VAR[EmbyMenuColourHighlight]</colordiffuse>
                   <!-- <animation effect="fade" start="100" end="96" condition="true">Conditional</animation> -->
                    <texture>common/box.png</texture>
                    <visible>!VideoPlayer.Content(LiveTV)</visible>
					<include>Animation.SlideUp</include>
                </control>

                <control type="image">
                    <top>25r</top>
                    <width>100%</width>
                    <height>374</height>
                    <colordiffuse>$VAR[PVRBackgroundColour]</colordiffuse>
                   <!-- <animation effect="fade" start="100" end="96" condition="true">Conditional</animation> -->
                    <texture>common/box.png</texture>
                    <visible>VideoPlayer.Content(LiveTV)</visible>
                    <include>Animation.SlideUp</include>
                </control>

            </control>
            <control type="group">
                <top>300r</top>
                <bottom>0</bottom>
                <width>100%</width>
                <visible>Window.IsVisible(fullscreeninfo) | Player.ShowInfo | !IsEmpty(Window(home).Property(osdshowinfo)) | [Player.Paused + Skin.HasSetting(osd.showinfoonpause)]</visible>
                <animation effect="fade" start="0" end="100" delay="150" time="150">Visible</animation>
                <animation effect="fade" start="0" end="100" delay="150" time="150">WindowOpen</animation>
                <control type="group">
                    <left>NewSidePad</left>
                    <right>NewSidePad</right>
                    <top>20</top>
                    <bottom>20</bottom>
                    <control type="image">
                        <top>-139</top>
                        <left>0</left>
                        <width>290</width>
                        <height>421</height>
                        <aspectratio scalediffuse="false">stretch</aspectratio>
                        <texture background="true" colordiffuse="$VAR[BorderHighlightColour]">$VAR[FocusedBorderImage]</texture>
                        <animation effect="zoom" end="108" time="0" center="auto">Focus</animation>
                        <visible>!VideoPlayer.Content(LiveTV)</visible>
                        <visible>!IsEmpty(Player.Art(tvshow.poster)) | !IsEmpty(Player.Art(poster))</visible>
                    </control>
                    <control type="image">
                        <top>-139</top>
                        <left>0</left>
                        <width>290</width>
                        <height>421</height>
                        <texture>$VAR[PlayerPoster]</texture>
                        <visible>!IsEmpty(Player.Art(tvshow.poster)) | !IsEmpty(Player.Art(poster))</visible>
                        <animation type="Conditional" reversible="false" condition="true">
                            <effect type="zoom" start="100" end="92" time="0" center="auto" tween="quadratic" easing="out"/>
                            <effect type="rotate" end="1" time="200" center="auto" tween="quadratic" easing="out"/>
                        </animation>
                    </control>

                    <control type="image">
                        <left>NewSidePad</left>
                        <width>280</width>
                        <height>280</height>
                        <aspectratio align="center" aligny="center">keep</aspectratio>
                        <texture>$INFO[Player.Art(thumb)]</texture>
                        <animation type="Conditional" reversible="false" condition="true">
                            <effect type="zoom" start="100" end="92" time="0" center="auto" tween="quadratic" easing="out"/>
                            <effect type="rotate" end="1" time="200" center="auto" tween="quadratic" easing="out"/>
                        </animation>
                        <visible>VideoPlayer.Content(LiveTV) + !IsEmpty(Player.Art(thumb))</visible>
                    </control>
                    <control type="image">
                        <left>NewSidePad</left>
                        <width>280</width>
                        <height>280</height>
                        <aspectratio align="center" aligny="center">keep</aspectratio>
                        <texture>http://localhost:52307/getpvrthumb&amp;title=$INFO[VideoPlayer.Title]&amp;channel=$INFO[VideoPlayer.ChannelName]&amp;type=landscape,fanart,thumb</texture>
                        <animation type="Conditional" reversible="false" condition="true">
                            <effect type="zoom" start="100" end="92" time="0" center="auto" tween="quadratic" easing="out"/>
                            <effect type="rotate" end="1" time="200" center="auto" tween="quadratic" easing="out"/>
                        </animation>
                        <visible>VideoPlayer.Content(LiveTV)</visible>
                    </control>
                    <control type="image">
                        <top>-139</top>
                        <left>0</left>
                        <width>290</width>
                        <height>421</height>
                        <texture>http://localhost:52307/getpvrthumb&amp;title=$INFO[VideoPlayer.Title]&amp;channel=$INFO[VideoPlayer.ChannelName]&amp;type=poster</texture>
                        <animation type="Conditional" reversible="false" condition="true">
                            <effect type="zoom" start="100" end="92" time="0" center="auto" tween="quadratic" easing="out"/>
                            <effect type="rotate" end="1" time="200" center="auto" tween="quadratic" easing="out"/>
                        </animation>
                        <aspectratio align="center" aligny="center">keep</aspectratio>
                        <visible>VideoPlayer.Content(LiveTV)</visible>
                    </control>
                    <control type="group">
                        <top>-10</top>
                        <visible>[!IsEmpty(Player.Art(tvshow.poster)) | !IsEmpty(Player.Art(poster))] |[VideoPlayer.Content(LiveTV) + !IsEmpty(Player.Art(thumb))]</visible>
                        <!-- Clock -->
                        <left>-14</left>
                        <include>Furniture_EmbyClock</include>
                    </control>
                    <control type="group">
                        <top>-10</top>
                        <left>300</left>
                        <visible>[!IsEmpty(Player.Art(tvshow.poster)) | !IsEmpty(Player.Art(poster))] |[VideoPlayer.Content(LiveTV) + !IsEmpty(Player.Art(thumb))]</visible>
                        <include>Furniture_OSDEmby</include>
                        <!-- Clock -->
                        <include>OSDInfoContent</include>
                    </control>
                    <control type="group">
                        <top>-10</top>
                        <left>-10</left>
                        <visible>IsEmpty(Player.Art(tvshow.poster)) + IsEmpty(Player.Art(poster)) + [!VideoPlayer.Content(LiveTV) | IsEmpty(Player.Art(thumb))]</visible>
                        <include>Furniture_OSDEmby</include>
                        <!-- Clock -->
                        <include>Furniture_EmbyClock</include>
                        <include>OSDInfoContent</include>
                    </control>
                </control>
            </control>
            <control type="group">
                <visible>!Player.Paused | !Skin.HasSetting(osd.showinfoonpause)</visible>
                <visible>!Window.IsVisible(fullscreeninfo) + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                <visible>Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding</visible>
                <animation effect="fade" start="0" end="100" delay="150" time="150">Visible</animation>
                <animation effect="fade" start="0" end="100" delay="150" time="150">WindowOpen</animation>
                <top>110r</top>
                <bottom>0</bottom>
                <width>100%</width>
                <control type="group">
                    <bottom>0</bottom>
                    <control type="progress" description="cachelevel">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <height>25</height>
                        <info>Player.CacheLevel</info>
						<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>Player.Seeking</visible>
                    </control>
                    <control type="progress" description="cache">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <height>25</height>
                        <info>Player.ProgressCache</info>
                        <reveal>true</reveal>
						<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>
                    </control>
                    <control type="progress" id="23">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <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>!Player.Seeking</visible>
                    </control>
                    <control type="progress" id="401">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <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>
                        <visible>Player.Seeking</visible>
                    </control>
                    <control type="label" description="Finishes Time">
	                    <left>0</left>
                        <width>400</width>
                        <bottom>2</bottom>
                        <height>23</height>
                        <font>MiniBoldProgress</font>
                        <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                        <label> $VAR[PlayerStatus]</label>
                    </control>
                    <control type="label" description="Duration Total Time">
						<right>0</right>
                        <align>right</align>
                        <width>400</width>
                        <bottom>2</bottom>
                        <height>23</height>
                        <font>MiniBoldProgress</font>
                        <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                        <label>$INFO[Player.Time]$INFO[Player.Duration, / ,] </label>
                    </control>
                </control>
            </control>
            <control type="group">
                <visible>PVR.IsTimeshift</visible>
                <visible>false</visible>
                <animation effect="fade" start="0" end="100" delay="150" time="150">Visible</animation>
                <animation effect="fade" start="0" end="100" delay="150" time="150">WindowOpen</animation>
                <top>180r</top>
                <bottom>0</bottom>
                <width>100%</width>
                <control type="group">
                    <left>SidePad</left>
                    <right>SidePad</right>
                    <top>20</top>
                    <bottom>20</bottom>
                    <control type="progress" description="cachelevel">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <height>25</height>
                        <info>Player.CacheLevel</info>
						<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>Player.Seeking</visible>
                    </control>
                    <control type="progress" description="cache">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <height>25</height>
                        <info>PVR.TimeshiftCur</info>
                        <reveal>true</reveal>
						<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>
                    </control>
                    <control type="progress" id="23">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <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>PVR.TimeshiftProgress</info>
                    </control>
                    <control type="label" description="Finishes Time">
	                    <left>0</left>
                        <width>400</width>
                        <bottom>2</bottom>
                        <height>23</height>
                        <font>MiniBoldProgress</font>
                        <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                        <label> $INFO[PVR.TimeshiftEnd]</label>
                    </control>
                    <control type="label" description="Duration Total Time">
						<right>0</right>
                        <align>right</align>
                        <width>400</width>
                        <bottom>2</bottom>
                        <height>23</height>
                        <font>MiniBoldProgress</font>
                        <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                        <label>$INFO[PVR.TimeshiftStart] </label>
                    </control>
                </control>
            </control>
        </control>

        <control type="group">
            <visible>Skin.HasSetting(ShowAlternateOSD)</visible>
            <control type="group">
                <animation effect="slide" start="0" end="0,-350" time="150" condition="Window.IsVisible(fullscreeninfo) | Player.ShowInfo | !IsEmpty(Window(home).Property(osdshowinfo)) | [Player.Paused + Skin.HasSetting(osd.showinfoonpause)]">Conditional</animation>
                <animation effect="slide" start="0" end="0,-50" time="150" condition="!Window.IsVisible(fullscreeninfo) + !Player.Seeking + !Player.DisplayAfterSeek + !Player.Paused + !Player.Forwarding + !Player.Rewinding + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))">Conditional</animation>

                <animation effect="slide" start="0,110" end="0" time="150">Visible</animation>
                <animation effect="slide" start="0,110" end="0" time="150">WindowOpen</animation>
                <right>110</right>
                <left>110</left>
                <bottom>60</bottom>
                <control id="5189954" type="wraplist">
                    <visible>Window.IsVisible(fullscreeninfo) | Player.ShowInfo | !IsEmpty(Window(home).Property(osdshowinfo)) | [Player.Paused + Skin.HasSetting(osd.showinfoonpause)]</visible>
                    <bottom>10</bottom>
                    <width>100%</width>
                    <height>190</height>
                    <onup>50</onup>
                    <ondown>50</ondown>
                    <onleft>7000</onleft>
                    <onright>noop</onright>
                    <onback>50</onback>
                    <preloaditems>8</preloaditems>
                    <focusposition>7</focusposition>
                    <autoscroll time="3000">!Control.HasFocus(518995)</autoscroll>
                    <viewtype label="osdcast2">list</viewtype>
                    <orientation>horizontal</orientation>
                    <scrolltime easing="inout" tween="sine">300</scrolltime>
                    <itemlayout height="177" width="113.8">
                        <control type="group">
                            <animation effect="zoom" end="85" start="100" time="200" center="auto" condition="Control.HasFocus(518995)">Conditional</animation>
                            <control type="label">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <height>177</height>
                                <aligny>center</aligny>
                                <align>center</align>
                                <font>symbolbiggest</font>
                                <label></label>
                                <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                                <fadetime>300</fadetime>
                            </control>
                            <control type="image">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <aspectratio align="center" aligny="top">scale</aspectratio>
                                <texture background="true">$VAR[PosterImage]</texture>
                            </control>
                            <control type="image">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <texture colordiffuse="$VAR[DisabledColour]">common/white.png</texture>
                                <animation effect="fade" end="45" start="45" time="0" condition="true">Conditional</animation>
                            </control>
                        </control>
                    </itemlayout>
                    <focusedlayout height="177" width="113.8">
                        <control type="group">
                            <control type="button">
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onfocus>SetProperty(OSD_Cast_String,$INFO[ListItem.Label]$INFO[ListItem.Label2, $LOCALIZE[20347] ],home)</onfocus>
                            </control>
                            <control type="label">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <height>177</height>
                                <aligny>center</aligny>
                                <align>center</align>
                                <font>symbolbiggest</font>
                                <label></label>
                                <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                                <fadetime>300</fadetime>
                            </control>
                            <control type="image">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <aspectratio align="center" aligny="top">scale</aspectratio>
                                <texture background="true">$VAR[PosterImage]</texture>
                            </control>
                        </control>
                    </focusedlayout>
                    <content target="video">$VAR[DefOSDCast]</content>
                </control>
                <control id="5189954" type="wraplist">
                    <visible>!Window.IsVisible(fullscreeninfo) +  !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                    <bottom>40</bottom>
                    <width>100%</width>
                    <height>160</height>
                    <onup>50</onup>
                    <ondown>50</ondown>
                    <onleft>7000</onleft>
                    <onright>noop</onright>
                    <onback>50</onback>
                    <preloaditems>8</preloaditems>
                    <focusposition>8</focusposition>
                    <autoscroll time="3000">!Control.HasFocus(518995)</autoscroll>
                    <viewtype label="osdcast2">list</viewtype>
                    <orientation>horizontal</orientation>
                    <scrolltime easing="inout" tween="sine">300</scrolltime>
                    <itemlayout height="150" width="100">
                        <control type="group">
                            <animation effect="zoom" end="85" start="100" time="200" center="auto" condition="Control.HasFocus(518995)">Conditional</animation>
                            <control type="label">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <height>150</height>
                                <aligny>center</aligny>
                                <align>center</align>
                                <font>symbolbiggest</font>
                                <label></label>
                                <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                                <fadetime>300</fadetime>
                            </control>
                            <control type="image">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <aspectratio align="center" aligny="top">scale</aspectratio>
                                <texture background="true">$VAR[PosterImage]</texture>
                            </control>
                            <control type="image">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <texture colordiffuse="$VAR[DisabledColour]">common/white.png</texture>
                                <animation effect="fade" end="45" start="45" time="0" condition="true">Conditional</animation>
                            </control>
                        </control>
                    </itemlayout>
                    <focusedlayout height="150" width="100">
                        <control type="group">
                            <control type="button">
                                <texturefocus>-</texturefocus>
                                <texturenofocus>-</texturenofocus>
                                <onfocus>SetProperty(OSD_Cast_String,$INFO[ListItem.Label]$INFO[ListItem.Label2, $LOCALIZE[20347] ],home)</onfocus>
                            </control>
                            <control type="label">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <height>147</height>
                                <aligny>center</aligny>
                                <align>center</align>
                                <font>symbolbiggest</font>
                                <label></label>
                                <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                                <fadetime>300</fadetime>
                            </control>
                            <control type="image">
                                <left>0</left>
                                <top>0</top>
                                <right>0</right>
                                <bottom>0</bottom>
                                <aspectratio align="center" aligny="top">scale</aspectratio>
                                <texture background="true">$VAR[PosterImage]</texture>
                            </control>
                        </control>
                    </focusedlayout>
                    <content target="video">$VAR[DefOSDCast]</content>
                </control>
                <control type="image">
                    <left>0</left>
                    <bottom>190</bottom>
                    <right>0</right>
                    <height>51</height>
                    <texture colordiffuse="$VAR[BottomBarColour]">common/white.png</texture>
                    <visible>IntegerGreaterThan(Container(5189954).NumItems,0)</visible>
                </control>
                <control type="image">
                    <right>0</right>
                    <bottom>240</bottom>
                    <width>700</width>
                    <height>381</height>
                    <texture>$VAR[PlayerClearart]</texture>
                    <aspectratio align="right" aligny="bottom">keep</aspectratio>
                    <include>Animation.FadeIn</include>
                    <include>Animation.FadeOut</include>
                    <visible>Skin.HasSetting(ShowClearArtOSD)</visible>
                </control>
                <control type="label">
                    <bottom>191</bottom>
                    <width>100%</width>
                    <align>center</align>
                    <height>51</height>
                    <font>MediumBold</font>
                    <textcolor>$VAR[ColourSelected]</textcolor>
                    <scroll>true</scroll>
                    <label>$INFO[Container(5189954).ListItem.Label]$INFO[Container(5189954).ListItem.Label2, $LOCALIZE[20347] ]</label>
                    <visible>IntegerGreaterThan(Container(5189954).NumItems,0)</visible>
                </control>

                <control type="image">
                    <top>25r</top>
                    <width>100%</width>
                    <height>374</height>
                    <colordiffuse>$VAR[EmbyMenuColourHighlight]</colordiffuse>
                    <!-- <animation effect="fade" start="100" end="96" condition="true">Conditional</animation> -->
                    <texture>common/box.png</texture>
                    <visible>Window.IsVisible(fullscreeninfo) | Player.ShowInfo | !IsEmpty(Window(home).Property(osdshowinfo)) | [Player.Paused + Skin.HasSetting(osd.showinfoonpause)]</visible>
                    <include>Animation.SlideUp</include>
                </control>
                <control type="image">
                    <top>25r</top>
                    <width>100%</width>
                    <height>70</height>
                    <texture colordiffuse="$VAR[OSDBarColour]">common/white.png</texture>
                    <visible>Window.IsVisible(fullscreeninfo) | Player.ShowInfo | !IsEmpty(Window(home).Property(osdshowinfo)) | [Player.Paused + Skin.HasSetting(osd.showinfoonpause)]</visible>
                    <include>Animation.SlideUp</include>
                </control>

                <control type="image">
                    <top>25r</top>
                    <width>100%</width>
                    <height>74</height>
                    <colordiffuse>$VAR[EmbyMenuColourHighlight]</colordiffuse>
                    <!-- <animation effect="fade" start="100" end="96" condition="true">Conditional</animation> -->
                    <texture>common/box.png</texture>
                    <visible>!Window.IsVisible(fullscreeninfo) + !Player.Seeking + !Player.DisplayAfterSeek + !Player.Paused + !Player.Forwarding + !Player.Rewinding + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                    <include>Animation.SlideUp</include>
                </control>

                <control type="image">
                    <top>65r</top>
                    <width>100%</width>
                    <height>40</height>
                    <texture colordiffuse="$VAR[OSDBarColour]">common/white.png</texture>
                    <visible>!Window.IsVisible(fullscreeninfo) +  !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                    <include>Animation.SlideUp</include>
                </control>
                <control type="label" description="Show">
                    <top>65r</top>
                    <width>100%</width>
                    <height>35</height>
                    <font>MediumSmallBold</font>
                    <textcolor>$VAR[ColourSelected]</textcolor>
                    <scroll>true</scroll>
                    <align>center</align>
                    <label>$VAR[PlayerBigTitle]</label>
                    <visible>!Window.IsVisible(fullscreeninfo) + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>

                </control>

                <control type="progress" description="cache">
                    <description>Progress Bar</description>
                    <right>0</right>
                    <width>1700</width>
                    <bottom>-67</bottom>
                    <height>20</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>!Window.IsVisible(fullscreeninfo) + !Player.Seeking + !Player.DisplayAfterSeek + !Player.Paused + !Player.Forwarding + !Player.Rewinding + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                    <include>Animation.SlideUp</include>

                </control>
                <control type="progress" id="23">
                    <description>Progress Bar</description>
                    <right>0</right>
                    <width>1700</width>
                    <bottom>-67</bottom>
                    <height>20</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>
                    <visible>!Window.IsVisible(fullscreeninfo) + !Player.Seeking + !Player.DisplayAfterSeek + !Player.Paused + !Player.Forwarding + !Player.Rewinding + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                    <include>Animation.SlideUp</include>

                    <info>Player.Progress</info>
                </control>
                <control type="label" description="Elapsed Time">
                    <right>0</right>
                    <width>1700</width>
                    <bottom>-67</bottom>
                    <align>left</align>
                    <height>18</height>
                    <font>MinuteBoldProgress</font>
                    <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                    <label> $VAR[PlayerStatus]</label>
                    <visible>!Window.IsVisible(fullscreeninfo) + !Player.Seeking + !Player.DisplayAfterSeek + !Player.Paused + !Player.Forwarding + !Player.Rewinding + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                    <include>Animation.SlideUp</include>

                </control>
                <control type="label" description="Total Time">
                    <right>0</right>
                    <bottom>-67</bottom>
                    <align>right</align>
                    <width>400</width>
                    <height>18</height>
                    <font>MinuteBoldProgress</font>
                    <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                    <label>$INFO[Player.Time] / $INFO[Player.Duration]</label>
                    <visible>!Window.IsVisible(fullscreeninfo) + !Player.Seeking + !Player.DisplayAfterSeek + !Player.Paused + !Player.Forwarding + !Player.Rewinding + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                    <include>Animation.SlideUp</include>

                </control>

            </control>
            <control type="group">
                <top>300r</top>
                <right>110</right>
                <left>110</left>
                <bottom>0</bottom>
                <width>100%</width>
                <visible>Window.IsVisible(fullscreeninfo) | Player.ShowInfo | !IsEmpty(Window(home).Property(osdshowinfo)) | [Player.Paused + Skin.HasSetting(osd.showinfoonpause)]</visible>
                <animation effect="fade" start="0" end="100" delay="150" time="150">Visible</animation>
                <animation effect="fade" start="0" end="100" delay="150" time="150">WindowOpen</animation>
                <control type="group">
                    <left>NewSidePad</left>
                    <right>NewSidePad</right>
                    <top>20</top>
                    <bottom>20</bottom>
                    <control type="image">
                        <top>-83</top>
                        <left>-8</left>
                        <width>203</width>
                        <height>300</height>
                        <texture>$VAR[PlayerPoster]</texture>
                        <visible>!IsEmpty(Player.Art(tvshow.poster)) | !IsEmpty(Player.Art(poster))</visible>
                        <aspectratio align="left" aligny="center">stretch</aspectratio>
                    </control>

                    <control type="image">
                        <left>0</left>
                        <top>-73</top>
                        <width>200</width>
                        <height>150</height>
                        <aspectratio align="center" aligny="center">keep</aspectratio>
                        <texture>$INFO[Player.Art(thumb)]</texture>
                        <animation type="Conditional" reversible="false" condition="true">
                            <effect type="zoom" start="100" end="92" time="0" center="auto" tween="quadratic" easing="out"/>
                        </animation>
                        <visible>VideoPlayer.Content(LiveTV) + !IsEmpty(Player.Art(thumb))</visible>
                    </control>
                    <control type="image">
                        <left>0</left>
                        <top>-73</top>
                        <width>200</width>
                        <height>150</height>
                        <aspectratio align="center" aligny="center">keep</aspectratio>
                        <texture>$INFO[Window(home).Property(SkinHelper.PVR.ChannelLogo)]</texture>
                        <animation type="Conditional" reversible="false" condition="true">
                            <effect type="zoom" start="100" end="92" time="0" center="auto" tween="quadratic" easing="out"/>
                        </animation>
                        <visible>VideoPlayer.Content(LiveTV) + IsEmpty(Player.Art(thumb))</visible>
                    </control>

                    <control type="image">
                        <left>0</left>
                        <top>80</top>
                        <width>200</width>
                        <height>150</height>
                        <aspectratio align="center" aligny="center">keep</aspectratio>
                        <texture>http://localhost:52307/getpvrthumb&amp;title=$INFO[VideoPlayer.Title]&amp;channel=$INFO[VideoPlayer.ChannelName]&amp;type=fanart,thumb</texture>
                        <animation type="Conditional" reversible="false" condition="true">
                            <effect type="zoom" start="100" end="92" time="0" center="auto" tween="quadratic" easing="out"/>
                        </animation>
                        <visible>VideoPlayer.Content(LiveTV)</visible>
                    </control>
                    <control type="image">
                        <top>-83</top>
                        <left>-8</left>
                        <width>203</width>
                        <height>300</height>
                        <texture>http://localhost:52307/getpvrthumb&amp;title=$INFO[VideoPlayer.Title]&amp;channel=$INFO[VideoPlayer.ChannelName]&amp;type=poster</texture>
                        <aspectratio align="left" aligny="center">stretch</aspectratio>
                        <visible>VideoPlayer.Content(LiveTV)</visible>
                    </control>

                    <control type="label" description="Show">
                        <right>210</right>

                        <top>-140</top>
                        <height>40</height>
                        <font>MediumBold</font>
                        <textcolor>$VAR[ColourSelected]</textcolor>
                        <scroll>true</scroll>
                        <align>center</align>
                        <label>$VAR[PlayerBigTitle]</label>
                    </control>
                    <control type="progress" description="cache">
                        <description>Progress Bar</description>
                        <right>210</right>
                        <width>1700</width>
                        <top>219</top>
                        <height>20</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>
                    </control>
                    <control type="progress" id="23">
                        <description>Progress Bar</description>
                        <right>210</right>
                        <width>1700</width>

                        <top>219</top>
                        <height>20</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>
                    </control>
                    <control type="label" description="Elapsed Time">
                        <right>210</right>
                        <width>1700</width>
                        <align>left</align>
                        <top>219</top>
                        <height>18</height>
                        <font>MinuteBoldProgress</font>
                        <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                        <label> $VAR[PlayerStatus]</label>
                    </control>
                    <control type="label" description="Total Time">
                        <right>210</right>
                        <align>right</align>
                        <width>400</width>
                        <top>219</top>
                        <height>18</height>
                        <font>MinuteBoldProgress</font>
                        <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                        <label>$INFO[Player.Time] / $INFO[Player.Duration]</label>
                    </control>
                    <control type="group">
                        <top>-80</top>
                        <!-- Clock -->
                        <left>-230</left>
                        <include>Furniture_EmbyClock</include>
                    </control>
                    <control type="group">
                        <top>-70</top>
                        <left>210</left>
                        <visible>[!IsEmpty(Player.Art(tvshow.poster)) | !IsEmpty(Player.Art(poster))] |[VideoPlayer.Content(LiveTV) + !IsEmpty(Player.Art(thumb))]</visible>
                        <include>Furniture_OSDEmby</include>
                        <include>AlternateOSDInfoContent</include>
                    </control>
                    <control type="group">
                        <top>-70</top>
                        <visible>IsEmpty(Player.Art(tvshow.poster)) + IsEmpty(Player.Art(poster)) + [!VideoPlayer.Content(LiveTV) | IsEmpty(Player.Art(thumb))]</visible>
                        <include>Furniture_OSDEmby</include>
                        <include>AlternateOSDInfoContent</include>
                    </control>
                </control>
            </control>
            <control type="group">
                <visible>!Player.Paused | !Skin.HasSetting(osd.showinfoonpause)</visible>
                <visible>!Window.IsVisible(fullscreeninfo) + !Player.ShowInfo + IsEmpty(Window(home).Property(osdshowinfo))</visible>
                <visible>Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding</visible>
                <animation effect="fade" start="0" end="100" delay="150" time="150">Visible</animation>
                <animation effect="fade" start="0" end="100" delay="150" time="150">WindowOpen</animation>
                <top>110r</top>
                <right>210</right>
                <width>1700</width>
                <left>110</left>
                <bottom>65</bottom>
                <control type="group">
                    <bottom>0</bottom>
                    <control type="progress" description="cachelevel">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <height>20</height>
                        <info>Player.CacheLevel</info>
                        <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>Player.Seeking</visible>
                    </control>
                    <control type="progress" description="cache">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <height>20</height>
                        <info>Player.ProgressCache</info>
                        <reveal>true</reveal>
                        <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>
                    </control>
                    <control type="progress" id="23">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <height>20</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>!Player.Seeking</visible>
                    </control>
                    <control type="progress" id="401">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>0</bottom>
                        <height>20</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>
                        <visible>Player.Seeking</visible>
                    </control>
                    <control type="label" description="Finishes Time">
                        <left>0</left>
                        <width>400</width>
                        <bottom>2</bottom>
                        <height>18</height>
                        <font>MinuteBoldProgress</font>
                        <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                        <label> $VAR[PlayerStatus]</label>
                    </control>
                    <control type="label" description="Duration Total Time">
                        <right>0</right>
                        <align>right</align>
                        <width>400</width>
                        <bottom>2</bottom>
                        <height>18</height>
                        <font>MinuteBoldProgress</font>
                        <textcolor>$VAR[EmbyMenuTextColourHighlight]</textcolor>
                        <label>$INFO[Player.Time]$INFO[Player.Duration, / ,] </label>
                    </control>
                </control>
            </control>
        </control>
    </controls>
</window>