<?xml version="1.0" encoding="UTF-8"?>
<window id="2901">
  <defaultcontrol always="true">100</defaultcontrol>
  <allowoverlay>yes</allowoverlay>
  <zorder>2</zorder>
  <controls>
    <control type="group">
      <visible>![Window.IsActive(DialogSelect.xml) | Window.IsActive(SliderDialog) | Window.IsActive(OSDVideoSettings) | Window.IsActive(OSDAudioSettings) | Window.IsActive(VideoBookmarks) | Window.IsActive(script-XBMC-Subtitles-main.xml)]</visible>
      <animation effect="fade" end="100" time="400">Visible</animation>
      <animation effect="fade" end="0" time="100">Hidden</animation>
      <posx>0</posx>
      <posy>0</posy>
      <control type="group">
        <control type="group" description="Dialog Background">
          <visible>Window.IsVisible(videoosd.xml) + !Window.IsActive(dialogseekbar.xml)</visible>
          <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/OSDBackground2.png</texture>
          </control>
        </control>
        <control type="label" description="Title">
          <posx>60</posx>
          <posy>951</posy>
          <height>60</height>
          <width>540</width>
          <scroll>false</scroll>
          <font>size18</font>
          <shadowcolor>Black</shadowcolor>
          <label>[B]$INFO[VideoPlayer.Title][/B]</label>
        </control>
      </control>
      <control type="group" id="100">
        <visible>!VideoPlayer.Content(LiveTV)</visible>
        <posx>723</posx>
        <posy>150r</posy>
        <onup>609</onup>
        <ondown>609</ondown>
        <defaultcontrol always="true">602</defaultcontrol>
        <control type="button" id="600">
          <posx>0</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>210</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDPreviousFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDPreviousNF.png</texturenofocus>
          <onleft>609</onleft>
          <onright>601</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Previous)</onclick>
        </control>
        <control type="button" id="601">
          <posx>75</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>31354</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDRWFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDRWNF.png</texturenofocus>
          <onleft>600</onleft>
          <onright>602</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Rewind)</onclick>
        </control>
        <control type="togglebutton" id="602">
          <posx>156</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>31351</label>
          <altlabel>208</altlabel>
          <font>-</font>
          <texturefocus>VideoOSD/OSDPauseFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDPauseNF.png</texturenofocus>
          <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
          <alttexturefocus>VideoOSD/OSDPlayFO.png</alttexturefocus>
          <alttexturenofocus>VideoOSD/OSDPlayNF.png</alttexturenofocus>
          <onleft>601</onleft>
          <onright>603</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Play)</onclick>
        </control>
        <control type="button" id="603">
          <posx>225</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>31352</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDStopFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDStopNF.png</texturenofocus>
          <onleft>602</onleft>
          <onright>604</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Stop)</onclick>
        </control>
        <control type="button" id="604">
          <posx>300</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>31353</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDFWFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDFWNF.png</texturenofocus>
          <onleft>603</onleft>
          <onright>605</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Forward)</onclick>
        </control>
        <control type="button" id="605">
          <posx>375</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>209</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDNextFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDNextNF.png</texturenofocus>
          <onleft>604</onleft>
          <onright>609</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Next)</onclick>
        </control>
        <control type="button" id="609">
          <posx>1056</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>33063</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDOptionsFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDOptionsNF.png</texturenofocus>
          <onleft>605</onleft>
          <onright>600</onright>
          <onup>605</onup>
          <ondown>605</ondown>
          <onclick allowhiddenfocus="true">Control.SetFocus(701)</onclick>
        </control>
      </control>
      <control type="group" id="100">
        <visible>VideoPlayer.Content(LiveTV)</visible>
        <posx>723</posx>
        <posy>150r</posy>
        <onup>609</onup>
        <ondown>609</ondown>
        <defaultcontrol always="true">602</defaultcontrol>
        <control type="button" id="600">
          <posx>0</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>210</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDChannelDownFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDChannelDownNF.png</texturenofocus>
          <onleft>609</onleft>
          <onright>601</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Previous)</onclick>
        </control>
        <control type="button" id="601">
          <posx>75</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>31354</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDChannelUpFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDChannelUpNF.png</texturenofocus>
          <onleft>600</onleft>
          <onright>602</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Next)</onclick>
        </control>
        <control type="togglebutton" id="602">
          <posx>156</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>31351</label>
          <altlabel>208</altlabel>
          <font>-</font>
          <texturefocus>VideoOSD/OSDPauseFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDPauseNF.png</texturenofocus>
          <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
          <alttexturefocus>VideoOSD/OSDPlayFO.png</alttexturefocus>
          <alttexturenofocus>VideoOSD/OSDPlayNF.png</alttexturenofocus>
          <onleft>601</onleft>
          <onright>603</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Play)</onclick>
        </control>
        <control type="button" id="603">
          <posx>225</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>31352</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDStopFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDStopNF.png</texturenofocus>
          <onleft>602</onleft>
          <onright>604</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>PlayerControl(Stop)</onclick>
        </control>
        <control type="button" id="604">
          <posx>300</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>19019</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDChannelsFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDChannelsNF.png</texturenofocus>
          <onleft>603</onleft>
          <onright>605</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>ActivateWindow(PVROSDChannels)</onclick>
          <onclick>Dialog.Close(VideoOSD)</onclick>
        </control>
        <control type="button" id="605">
          <posx>375</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>$LOCALIZE[19029] EPG</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDEpgFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDEpgNF.png</texturenofocus>
          <onleft>604</onleft>
          <onright>609</onright>
          <onup>609</onup>
          <ondown>609</ondown>
          <onclick>ActivateWindow(PVROSDGuide)</onclick>
          <onclick>Dialog.Close(VideoOSD)</onclick>
        </control>
        <control type="button" id="609">
          <posx>1056</posx>
          <posy>0</posy>
          <width>90</width>
          <height>98</height>
          <label>33063</label>
          <font>-</font>
          <texturefocus>VideoOSD/OSDOptionsFO.png</texturefocus>
          <texturenofocus>VideoOSD/OSDOptionsNF.png</texturenofocus>
          <onleft>605</onleft>
          <onright>600</onright>
          <onup>605</onup>
          <ondown>605</ondown>
          <onclick allowhiddenfocus="true">Control.SetFocus(101)</onclick>
        </control>
      </control>
      <control type="group" description="Options content">
        <posx>630</posx>
        <posy>15</posy>
        <visible allowhiddenfocus="true">ControlGroup(101).HasFocus() | Control.HasFocus(701) | Control.HasFocus(702) | Control.HasFocus(703) | Control.HasFocus(704) | Control.HasFocus(705) | Control.HasFocus(706) | Control.HasFocus(707) | Control.HasFocus(708) | Control.HasFocus(709)</visible>
        <animation type="Visible">
          <effect type="fade" start="0" end="100" time="240" />
          <effect type="zoom" tween="cubic" easing="out" start="30" end="100" center="auto" time="240" />
        </animation>
        <animation type="Hidden">
          <effect type="fade" start="100" end="0" time="140" />
          <effect type="zoom" tween="cubic" easing="in" start="100" end="30" center="auto" time="140" />
        </animation>
        <control type="image">
          <visible>ControlGroup(101).HasFocus()</visible>
          <posx>430</posx>
          <posy>66</posy>
          <width>900</width>
          <height>900</height>
          <aspectratio>stretch</aspectratio>
          <texture border="136,127,128,139">img/Dialog.png</texture>
        </control>
        <control type="grouplist" id="101" description="Video OSD Options">
          <visible allowhiddenfocus="true">ControlGroup(101).HasFocus() | Control.HasFocus(701) | Control.HasFocus(702) | Control.HasFocus(703) | Control.HasFocus(704) | Control.HasFocus(705) | Control.HasFocus(706) | Control.HasFocus(707) | Control.HasFocus(708) | Control.HasFocus(709)</visible>
          <animation type="Visible">
            <effect type="fade" start="0" end="100" time="240" />
            <effect type="zoom" tween="cubic" easing="out" start="30" end="100" center="auto" time="240" />
          </animation>
          <animation type="Hidden">
            <effect type="fade" start="100" end="0" time="140" />
            <effect type="zoom" tween="cubic" easing="in" start="100" end="30" center="auto" time="140" />
          </animation>
          <posx>600</posx>
          <posy>246</posy>
          <width>720</width>
          <height>720</height>
          <itemgap>0</itemgap>
          <onleft>602</onleft>
          <onright>602</onright>
          <onup>101</onup>
          <ondown>101</ondown>
          <itemgap>0</itemgap>
          <scrolltime>240</scrolltime>
          <control type="togglebutton" id="701" description="Subtitles">
            <visible>!VideoPlayer.Content(LiveTV)</visible>
            <include>9000Buttons</include>
            <label>31356</label>
            <onclick>SetFocus(602)</onclick>
            <onclick>Close</onclick>
            <onclick>XBMC.RunScript($INFO[Skin.String(SubtitleScript_Path)])</onclick>
            <onclick>SetFocus(602)</onclick>
            <altclick>Skin.SetAddon(SubtitleScript_Path,xbmc.python.subtitles)</altclick>
            <altclick>Close</altclick>
            <altclick>XBMC.RunScript($INFO[Skin.String(SubtitleScript_Path)])</altclick>
            <usealttexture>IsEmpty(Skin.String(SubtitleScript_Path))</usealttexture>
          </control>
          <control type="togglebutton" id="702" description="Record">
            <visible>VideoPlayer.Content(LiveTV)</visible>
            <enable>Player.CanRecord</enable>
            <include>9000Buttons</include>
            <label>264</label>
            <altlabel>265</altlabel>
            <onclick>PlayerControl(Record)</onclick>
            <animation effect="fade" start="100" end="50" time="100" condition="!Player.CanRecord">Conditional</animation>
          </control>
          <control type="button" id="703">
            <include>9000Buttons</include>
            <label>13395</label>
            <onclick>ActivateWindow(OSDVideoSettings)</onclick>
          </control>
          <control type="button" id="704">
            <include>9000Buttons</include>
            <label>$LOCALIZE[292] &amp; $LOCALIZE[287]</label>
            <onclick>ActivateWindow(OSDAudioSettings)</onclick>
          </control>
          <control type="button" id="705">
            <visible>!VideoPlayer.Content(LiveTV)</visible>
            <include>9000Buttons</include>
            <label>298</label>
            <onclick>ActivateWindow(VideoBookmarks)</onclick>
          </control>
          <control type="togglebutton" id="706" description="Info">
            <include>9000Buttons</include>
            <label>20159</label>
            <onclick>close</onclick>
            <onclick>ActivateWindow(142)</onclick>
            <altclick>close</altclick>
            <altclick>Dialog.Close(142)</altclick>
            <usealttexture>Window.IsActive(142)</usealttexture>
          </control>
          <control type="button" id="707">
            <include>9000Buttons</include>
            <label>21445</label>
            <onclick>CodecInfo</onclick>
          </control>
          <control type="button" id="708">
            <visible>!VideoPlayer.Content(LiveTV)</visible>
            <include>9000Buttons</include>
            <label>31355</label>
            <onclick>PlayerControl(ShowVideoMenu)</onclick>
            <enable>VideoPlayer.HasMenu</enable>
            <animation effect="fade" start="100" end="50" time="100" condition="!VideoPlayer.HasMenu">Conditional</animation>
          </control>
          <control type="button" id="709" description="Teletext">
            <visible>VideoPlayer.Content(LiveTV)</visible>
            <include>9000Buttons</include>
            <label>23050</label>
            <onclick>Dialog.Close(VideoOSD)</onclick>
            <onclick>ActivateWindow(Teletext)</onclick>
          </control>
        </control>
      </control>
    </control>
  </controls>
</window>