<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="115">
  <defaultcontrol always="true">901</defaultcontrol>
  <allowoverlay>yes</allowoverlay>
  <include>OpenClose</include>
  <visible>![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(VideoBookmarks) | Window.IsActive(script-XBMC-Subtitles-main.xml)]</visible>
  <visible>Window.IsVisible(FullScreenVideo) + [Window.IsActive(videoosd.xml) | Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding | Player.Caching]</visible>
  <animation effect="fade" start="0" end="100" time="400">Visible</animation>
  <animation effect="fade" start="100" end="0" time="100">Hidden</animation>
  <controls>
    <control type="group" description="Top Bar">
      <visible>!Window.IsActive(142)</visible>
      <animation effect="fade" start="0" end="100" time="400">Visible</animation>
      <animation effect="fade" start="100" end="0" time="100">Hidden</animation>
      <control type="image" description="Background">
        <posx>0</posx>
        <posy>0</posy>
        <width>1920</width>
        <height>60</height>
        <texture>img/BlackDotST.png</texture>
      </control>
      <control type="label" description="Clock">
        <posx>60</posx>
        <posy>0</posy>
        <width>195</width>
        <height>60</height>
        <align>left</align>
        <aligny>center</aligny>
        <font>size18</font>
        <textcolor>Silver</textcolor>
        <label>$INFO[System.Time]</label>
      </control>
      <control type="label" description="End time">
        <posx>60r</posx>
        <posy>0</posy>
        <width>195</width>
        <height>60</height>
        <align>right</align>
        <aligny>center</aligny>
        <font>size18</font>
        <textcolor>Silver</textcolor>
        <label>$INFO[Player.FinishTime,(,)]</label>
      </control>
      <control type="label" description="Next item">
        <visible>!IsEmpty(VideoPlayer.NextTitle)</visible>
        <posx>300</posx>
        <posy>1</posy>
        <width>1320</width>
        <height>60</height>
        <align>center</align>
        <aligny>center</aligny>
        <font>size17</font>
        <textcolor>Silver</textcolor>
        <label>$INFO[VideoPlayer.NextTitle,[COLOR=Grey]$LOCALIZE[209]:  [/COLOR]]</label>
      </control>
    </control>
    <control type="group">
      <posy>270</posy>
      <control type="image" description="Background">
        <visible>player.forwarding | player.rewinding | [Player.Paused + Player.Caching] | [Player.DisplayAfterSeek + !IsEmpty(Player.SeekOffset)]</visible>
        <posx>855</posx>
        <posy>525</posy>
        <width>210</width>
        <height>75</height>
        <texture border="6">img/BlackRounded.png</texture>
      </control>
      <control type="label" id="24" description="Buffering label">
        <visible>[Player.Paused + Player.Caching] + !Player.Seeking</visible>
        <include>SeekbarLabels</include>
        <label>$INFO[Player.CacheLevel,,%]</label>
      </control>
      <control type="label" description="2x RW FW label">
        <visible>player.forwarding2x | player.rewinding2x</visible>
        <include>SeekbarLabels</include>
        <label>2 X</label>
      </control>
      <control type="label" description="4x RW FW label">
        <visible>player.forwarding4x | player.rewinding4x</visible>
        <include>SeekbarLabels</include>
        <label>4 X</label>
      </control>
      <control type="label" description="8x RW FW label">
        <visible>player.forwarding8x | player.rewinding8x</visible>
        <include>SeekbarLabels</include>
        <label>8 X</label>
      </control>
      <control type="label" description="16x RW FW label">
        <visible>player.forwarding16x | player.rewinding16x</visible>
        <include>SeekbarLabels</include>
        <label>16 X</label>
      </control>
      <control type="label" description="32x RW FW label">
        <visible>player.forwarding32x | player.rewinding32x</visible>
        <include>SeekbarLabels</include>
        <label>32 X</label>
      </control>
      <control type="label" description="Seek time label">
        <visible>![player.forwarding | player.rewinding]</visible>
        <visible>Player.DisplayAfterSeek</visible>
        <include>SeekbarLabels</include>
        <label>$INFO[Player.SeekOffset]</label>
      </control>
    </control>
    <control type="group" description="Dialog Background">
      <animation type="Conditional" condition="Window.IsActive(videoosd.xml)">
        <effect type="slide" start="0,0" end="0,-68" time="400" tween="cubic" easing="inout" reversible="true" />
      </animation>
      <control type="image">
        <posx>0</posx>
        <posy>975</posy>
        <width>1920</width>
        <height>225</height>
        <aspectratio>stretch</aspectratio>
        <texture>VideoOSD/BGVideoOSD.png</texture>
      </control>
    </control>
    <control type="group">
      <posy>1028</posy>
      <control type="image" description="Real Background">
        <posx>299</posx>
        <posy>6</posy>
        <width>1407</width>
        <height>24</height>
        <texture border="15,1,15,1">VideoOSD/ProgressRealBG.png</texture>
      </control>
      <control type="progress" description="Buffer Bar">
        <posx>303</posx>
        <posy>10</posy>
        <width>1398</width>
        <height>17</height>
        <texturebg border="6">VideoOSD/VideoProgressBG.png</texturebg>
        <midtexture border="0,6,0,6">VideoOSD/BufferMidd.png</midtexture>
        <lefttexture border="6,6,0,6">VideoOSD/BufferLeft.png</lefttexture>
        <righttexture border="0,6,12,6">VideoOSD/BufferRight.png</righttexture>
        <info>Player.CacheLevel</info>
        <visible>Player.Caching</visible>
      </control>
      <control type="progress" description="Cache Progress">
        <visible>false</visible>
		<posx>303</posx>
        <posy>10</posy>
        <width>1398</width>
        <height>17</height>
        <texturebg border="6">VideoOSD/VideoProgressBG.png</texturebg>
        <midtexture border="0,6,0,6">VideoOSD/BufferMidd.png</midtexture>
        <lefttexture border="6,6,0,6">VideoOSD/BufferLeft.png</lefttexture>
        <righttexture border="0,6,12,6">VideoOSD/BufferRight.png</righttexture>
        <info>Player.ProgressCache</info>
      </control>
      <control type="progress" id="23" description="Progress Bar">
        <posx>300</posx>
        <posy>6</posy>
        <width>1407</width>
        <height>24</height>
        <texturebg border="8">VideoOSD/VideoProgressBG.png</texturebg>
        <midtexture border="0">VideoOSD/VideoProgressMidd.png</midtexture>
        <lefttexture border="0">VideoOSD/VideoProgressLeft.png</lefttexture>
        <righttexture border="0">VideoOSD/VideoProgressRight.png</righttexture>
        <info>Player.Progress</info>
        <visible>true</visible>
      </control>
      <control type="label">
        <posx>150</posx>
        <posy>0</posy>
        <height>30</height>
        <width>180</width>
        <align>left</align>
        <label>$INFO[Player.Time]</label>
        <font>size17</font>
      </control>
      <control type="label">
        <posx>60r</posx>
        <posy>0</posy>
        <height>30</height>
        <width>180</width>
        <align>right</align>
        <label>$INFO[Player.TimeRemaining,-]</label>
        <font>size17</font>
      </control>
    </control>
    <control type="group">
      <posy>1022</posy>
      <posx>0</posx>
      <control type="image" description="Buffer icon">
        <visible>Player.Caching</visible>
        <posx>52</posx>
        <include>SeekbarIconsCommons</include>
        <texture border="2">busy/Busy.png</texture>
        <animation effect="rotate" start="360" end="0" center="auto" time="1200" loop="true" pulse="true" condition="true">conditional</animation>
      </control>
      <control type="image" description="Pause">
        <visible>Player.Paused + !Player.Caching</visible>
        <posx>52</posx>
        <include>SeekbarIconsCommons</include>
        <texture border="2">OSD/OSDProgressPause.png</texture>
      </control>
      <control type="image" description="Play">
        <visible>player.playing | player.forwarding2x | player.forwarding4x | player.forwarding8x | player.forwarding16x | player.forwarding32x</visible>
        <posx>52</posx>
        <include>SeekbarIconsCommons</include>
        <texture border="2">OSD/OSDProgressPlay.png</texture>
      </control>
      <control type="image" description="FF 2">
        <visible>player.forwarding2x | player.forwarding4x | player.forwarding8x | player.forwarding16x | player.forwarding32x</visible>
        <posx>75</posx>
        <include>SeekbarIconsCommons</include>
        <texture border="2">OSD/OSDProgressPlay.png</texture>
      </control>
      <control type="image" description="RW 2">
        <visible>player.rewinding2x | player.rewinding4x | player.rewinding8x | player.rewinding16x | player.rewinding32x</visible>
        <posx>52</posx>
        <include>SeekbarIconsCommons</include>
        <texture flipx="true" border="2">OSD/OSDProgressPlay.png</texture>
      </control>
      <control type="image" description="RW 2">
        <visible>player.rewinding2x | player.rewinding4x | player.rewinding8x | player.rewinding16x | player.rewinding32x</visible>
        <posx>75</posx>
        <include>SeekbarIconsCommons</include>
        <texture flipx="true" border="2">OSD/OSDProgressPlay.png</texture>
      </control>
    </control>
  </controls>
</window>
