<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
  <id>3003</id>
  <defaultcontrol>213</defaultcontrol>
  <allowoverlay>no</allowoverlay>
  <define>#currentplaytime:#TV.View.start</define>
  <define>#currentremaining:#TV.View.stop</define>
  <controls>
    <import>common.expanded.tv.osd.xml</import>
    <!--#################   THIS IS THE EXPANDING OSD BACKGROUND     ##################-->
    <control>
      <description>background top</description>
      <type>image</type>
      <id>0</id>
      <posX>0</posX>
      <posY>512</posY>
      <width>1290</width>
      <height>300</height>
      <texture>blue.png</texture>
      <colordiffuse>eeffffff</colordiffuse>
      <visible>!Control.HasFocus(1237)</visible>
    </control>
    <!--###################     HERE ARE THE DISPLAYED OSD DATA    ###################################-->
    <control>
      <description>Time Info</description>
      <type>label</type>
      <id>110</id>
      <posX>1250</posX>
      <posY>520</posY>
      <label>#time</label>
      <align>right</align>
      <font>font14</font>
      <textcolor>ivory</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>background</description>
      <type>image</type>
      <id>0</id>
      <posX>160</posX>
      <posY>602</posY>
      <width>645</width>
      <height>27</height>
      <texture>osd_progress_background.png</texture>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>TV Progress Bar</description>
      <type>tvprogress</type>
      <id>1</id>
      <posX>160</posX>
      <posY>606</posY>
      <width>645</width>
      <height>20</height>
      <toptexture>osd_progress_indicator.png</toptexture>
      <TextureOffsetY>22</TextureOffsetY>
      <bottomtexture>-</bottomtexture>
      <texturetick>-</texturetick>
      <lefttexture>-</lefttexture>
      <midtexture>-</midtexture>
      <righttexture>-</righttexture>
      <logotexture>-</logotexture>
      <fillbackgroundtexture>-</fillbackgroundtexture>
      <fillbgxoff>0</fillbgxoff>
      <fillbgyoff>0</fillbgyoff>
      <filltexture1>osd_progress_mid_red.png</filltexture1>
      <filltexture2>osd_progress_mid.png</filltexture2>
      <filltexture3>osd_progress_mid_orange.png</filltexture3>
      <fillheight>20</fillheight>
      <label>#TV.Record.percent1</label>
      <label1>#TV.Record.percent2</label1>
      <label2>#TV.Record.percent3</label2>
      <startlabel />
      <endlabel />
      <toplabel />
      <font>font10</font>
      <textcolor>FFffffff</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>Current Time Info</description>
      <type>label</type>
      <id>101</id>
      <posX>40</posX>
      <posY>597</posY>
      <label>-</label>
      <align>left</align>
      <font>font14</font>
      <textcolor>ivory</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>End Time Info</description>
      <type>label</type>
      <posX>810</posX>
      <posY>597</posY>
      <label>#currentremaining</label>
      <align>left</align>
      <font>font14</font>
      <textcolor>ffffffff</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>Start Time Info</description>
      <type>label</type>
      <posX>40</posX>
      <posY>597</posY>
      <label>#currentplaytime</label>
      <align>left</align>
      <font>font14</font>
      <textcolor>ffffffff</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>Plot</description>
      <type>textboxscrollup</type>
      <id>38</id>
      <posX>40</posX>
      <posY>639</posY>
      <width>900</width>
      <height>0</height>
      <align>left</align>
      <label>#TV.View.description</label>
      <seperator>&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;	&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;	&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;&#8901;</seperator>
      <font>font11</font>
      <textcolor>gainsboro</textcolor>
      <shadowAngle>0</shadowAngle>
      <shadowDistance>0</shadowDistance>
    </control>
    <control>
      <description>On tv NOW</description>
      <id>36</id>
      <type>textbox</type>
      <posX>2150</posX>
      <posY>557</posY>
      <width>740</width>
      <height>30</height>
      <align>left</align>
      <font>font14</font>
      <textcolor>ivory</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>On tv NOW</description>
      <id>1</id>
      <type>fadelabel</type>
      <width>770</width>
      <height>30</height>
      <posX>120</posX>
      <posY>560</posY>
      <align>left</align>
      <label>#TV.View.title</label>
      <font>font14</font>
      <textcolor>ivory</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>horizontal divider</description>
      <type>image</type>
      <id>1</id>
      <posX>40</posX>
      <posY>640</posY>
      <height>1</height>
      <width>880</width>
      <texture>hbar1white.png</texture>
      <colordiffuse>ffffffff</colordiffuse>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>On tv NEXT</description>
      <id>37</id>
      <type>textbox</type>
      <posX>40</posX>
      <posY>646</posY>
      <height>30</height>
      <width>830</width>
      <align>left</align>
      <font>font14</font>
      <textcolor>gainsboro</textcolor>
      <shadowAngle>0</shadowAngle>
      <shadowDistance>0</shadowDistance>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>Program Button Up</description>
      <type>button</type>
      <id>33</id>
      <posX>70</posX>
      <posY>590</posY>
      <width>25</width>
      <height>25</height>
      <textureFocus>scroll-up-focus-gainsboro.png</textureFocus>
      <textureNoFocus>scroll-up-gainsboro.png</textureNoFocus>
      <label>-</label>
      <onleft>31</onleft>
      <onright>34</onright>
      <onup>210</onup>
      <ondown>31</ondown>
      <visible>no</visible>
    </control>
    <control>
      <description>Program Button Down</description>
      <type>button</type>
      <id>34</id>
      <posX>175</posX>
      <posY>578</posY>
      <width>25</width>
      <height>25</height>
      <textureFocus>scroll-down-focus-gainsboro.png</textureFocus>
      <textureNoFocus>scroll-down-gainsboro.png</textureNoFocus>
      <label>-</label>
      <onleft>33</onleft>
      <onright>31</onright>
      <onup>210</onup>
      <ondown>31</ondown>
      <visible>no</visible>
    </control>
    <control>
      <description>TV Logo</description>
      <type>image</type>
      <id>1</id>
      <posX>40</posX>
      <posY>530</posY>
      <width>62</width>
      <height>62</height>
      <texture>#TV.View.thumb</texture>
      <centered>yes</centered>
      <keepaspectratio>yes</keepaspectratio>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>Channel</description>
      <id>1</id>
      <type>label</type>
      <posX>2120</posX>
      <posY>605</posY>
      <width>100</width>
      <height>30</height>
      <align>right</align>
      <label>602</label>
      <font>font12</font>
      <textcolor>ivory</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>Channel Button Up</description>
      <type>button</type>
      <id>31</id>
      <posX>2131</posX>
      <posY>606</posY>
      <width>40</width>
      <height>30</height>
      <textureFocus>scroll-up-focus.png</textureFocus>
      <textureNoFocus>scroll-up.png</textureNoFocus>
      <label>-</label>
      <onleft>1237</onleft>
      <onright>32</onright>
      <onup>31</onup>
      <ondown>1237</ondown>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>Channel Button Down</description>
      <type>button</type>
      <id>32</id>
      <posX>2173</posX>
      <posY>603</posY>
      <width>40</width>
      <height>30</height>
      <textureFocus>scroll-down-focus.png</textureFocus>
      <textureNoFocus>scroll-down.png</textureNoFocus>
      <label>-</label>
      <onleft>31</onleft>
      <onright>1237</onright>
      <onup>32</onup>
      <ondown>1237</ondown>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>Current channel</description>
      <type>label</type>
      <id>1</id>
      <posX>120</posX>
      <posY>527</posY>
      <width>740</width>
      <label>#TV.View.channel</label>
      <align>left</align>
      <font>font14</font>
      <textcolor>ivory</textcolor>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>vertical divider</description>
      <type>image</type>
      <id>1</id>
      <posX>930</posX>
      <posY>525</posY>
      <height>175</height>
      <width>1</width>
      <texture>slider_vertical.png</texture>
      <colordiffuse>90ffffff</colordiffuse>
      <visible>!control.hasfocus(1237)</visible>
    </control>
    <control>
      <description>rec logo</description>
      <type>image</type>
      <id>0</id>
      <posX>860</posX>
      <posY>530</posY>
      <width>40</width>
      <height>40</height>
      <texture>tv_is_recording.png</texture>
      <animation effect="zoom" start="100,100" end="110,110" time="70" condition="true" pulse="true">conditional</animation>
      <visible>player.recording+!control.hasfocus(1237)</visible>
    </control>
    <import>common.osd.buttons.xml</import>
    <import>common.logos.xml</import>
  </controls>
</window>
