<?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="group">
            <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,-190" 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,110" 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>
                <control type="image">
                    <right>0</right>
                    <bottom>110</bottom>
                    <width>500</width>
                    <height>281</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>
                    <animation effect="slide" start="0" end="-70,0" condition="IsEmpty(Player.Art(clearart)) + IsEmpty(Player.Art(tvshow.clearart))">Conditional</animation>
                </control>
                <control type="image">
                    <top>110r</top>
                    <width>100%</width>
                    <height>374</height>
                    <texture>common/white.png</texture>
                    <colordiffuse>$VAR[OSDPanel]</colordiffuse>
                    <animation effect="fade" start="100" end="90" condition="Skin.HasSetting(osd.usetheme)">Conditional</animation>
                    <include>Animation.FadeOut</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>SidePad</left>
                    <right>SidePad</right>
                    <top>20</top>
                    <bottom>20</bottom>
                    <control type="image">
                        <width>173</width>
                        <height>260</height>
                        <texture>$VAR[PlayerPoster]</texture>
                        <visible>!IsEmpty(Player.Art(tvshow.poster)) | !IsEmpty(Player.Art(poster))</visible>
                    </control>
                    
                    <control type="image">
                        <width>260</width>
                        <height>260</height>
                        <aspectratio>keep</aspectratio>
                        <texture>$INFO[Player.Art(thumb)]</texture>
                        <visible>VideoPlayer.Content(LiveTV) + !IsEmpty(Player.Art(thumb))</visible>
                    </control>
                    
                    <control type="group">
                        <left>290</left>
                        <visible>VideoPlayer.Content(LiveTV) + !IsEmpty(Player.Art(thumb))</visible>
                        <include>OSDInfoContent</include>
                    </control>
                    
                    <control type="group">
                        <left>203</left>
                        <visible>!IsEmpty(Player.Art(tvshow.poster)) | !IsEmpty(Player.Art(poster))</visible>
                        <include>OSDInfoContent</include>
                    </control>
                    
                    <control type="group">
                        <left>0</left>
                        <visible>IsEmpty(Player.Art(tvshow.poster)) + IsEmpty(Player.Art(poster)) + [!VideoPlayer.Content(LiveTV) | IsEmpty(Player.Art(thumb))]</visible>
                        <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">
                    <left>SidePad</left>
                    <right>SidePad</right>
                    <top>20</top>
                    <bottom>20</bottom>
                    <control type="label" description="Finishes Time">
                        <width>400</width>
                        <bottom>30</bottom>
                        <height>40</height>
                        <font>Tiny</font>
                        <textcolor>$VAR[OSDPanelWhite70]</textcolor>
                        <label>$VAR[PlayerStatus]</label>
                    </control>
                    <control type="label" description="Duration Total Time">
                        <right>0</right>
                        <align>right</align>
                        <width>400</width>
                        <bottom>30</bottom>
                        <height>40</height>
                        <font>Tiny</font>
                        <textcolor>$VAR[OSDPanelWhite70]</textcolor>
                        <label>$INFO[Player.Time]$INFO[Player.Duration,  /  ,]</label>
                    </control>
          
                    <control type="progress" description="cache">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>10</bottom>
                        <height>8</height>
                        <info>Player.ProgressCache</info>
                        <visible>true</visible>
                        <texturebg colordiffuse="00ffffff">osd/progress-bg.png</texturebg>
                        <lefttexture colordiffuse="Highlight2">osd/progress-end.png</lefttexture>
                        <midtexture colordiffuse="Highlight2">osd/progress-end.png</midtexture>
                        <righttexture colordiffuse="Highlight2">osd/progress-end.png</righttexture>
                    </control>
                    <control type="progress" id="23">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>10</bottom>
                        <height>8</height>
                        <info>Player.Progress</info>
                        <visible>!Player.Seeking</visible>
                    </control>
                    <control type="progress" id="401">
                        <description>Progress Bar</description>
                        <width>100%</width>
                        <bottom>10</bottom>
                        <height>8</height>
                        <visible>Player.Seeking</visible>
                    </control>
                </control>
            </control>
        
        </control>
        <!-- Clock -->
        <include>Furniture_OSDClock</include>
    </controls>

</window>
