<?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>
    <define>#useSelectedFanart:Yes</define>
    <controls>
	<control>
		<description>Dummy Control for Widescreen</description>
		<type>label</type>
		<id>10101</id>
		<posX>180</posX>
		<posY>1505</posY>
		<label>#widescreen</label>
		<visible>Control.hastext(10101)</visible>
	</control>
        <control Style="Background">
            <description>background</description>
            <type>image</type>
            <posX>0</posX>
            <posY>400</posY>
            <height>330</height>
            <texture>overlay_bottom.png</texture>
            <colordiffuse>FFFFFFFF</colordiffuse>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
		<import>common.osd.expanded.tv.xml</import>
		<control Style="Logo">
            <description>Channel Logo</description>
			<id>1</id>
            <type>image</type>
            <posX>30</posX>
            <posY>520</posY>
			<width>160</width>
            <texture>#TV.View.thumb</texture>
            <keepaspectratio>yes</keepaspectratio>
            <centered>yes</centered>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
		<control Style="OSD Plot">
            <description>Channel Name</description>
			<id>1</id>
            <type>textboxscrollup</type>
            <posX>20</posX>
            <posY>635</posY>
            <width>200</width>
			<textalign>left</textalign>
			<textcolor>ffB0C4DE</textcolor>
			<shadowAngle>45</shadowAngle>
			<shadowDistance>5</shadowDistance>
			<shadowColor>ff083556</shadowColor>
            <label>#TV.View.channel</label>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
			<animation effect="zoom" time="0" start="100,100" end="80,80" condition="true">conditional</animation>
        </control>
        <control>
            <description>Duration</description>
            <type>label</type>
            <id>1</id>
            <posX>170</posX>
            <posY>675</posY>
			<width>155</width>
			<label>#duration  #(L(2998))</label>
            <textcolor>99ffffff</textcolor>
			<shadowAngle>45</shadowAngle>
			<shadowDistance>5</shadowDistance>
			<shadowColor>ff083556</shadowColor>
			<visible>!string.contains(#TV.View.channel,#(L(604)))+!Control.hasfocus(1237)</visible>
            <animation effect="fade" time="250">visiblechange</animation>
			<animation effect="zoom" time="0" start="100,100" end="60,60" condition="true">conditional</animation>
        </control>
        <control>
            <description>rec logo</description>
            <type>image</type>
            <id>39</id>
			<posX>160</posX>
			<posY>560</posY>
			<height>30</height>
            <texture>rec.png</texture>
			<keepaspectratio>yes</keepaspectratio>
			<animation effect="zoom" start="100,100" end="110,110" time="500" condition="true" pulse="true">conditional</animation>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
	<control>
		<description>OSD Info Group</description>
		<type>group</type>
		<dimColor>ffffffff</dimColor>
		<animation effect="slide" time="250" end="0,-15" condition="![Control.HasFocus(213)|Control.HasFocus(210)|Control.HasFocus(211)|Control.HasFocus(212)|Control.HasFocus(214)|Control.HasFocus(215)|Control.HasFocus(997)|Control.HasFocus(998)|Control.HasFocus(220)|Control.HasFocus(218)|Control.HasFocus(221)]">conditional</animation>
		<animation effect="fade" time="250">visiblechange</animation>
		<animation effect="fade" time="250">windowopen</animation>
		<control Style="OSD Title">
            <description>On tv NOW</description>
            <id>36</id>
            <type>textbox</type>
			<posX>230</posX>
            <posY>520</posY>
			<textalign>left</textalign>
            <textcolor>FFB2D4F5</textcolor>
			<font>font16</font>
        </control>
	</control>
		<control Style="OSD Plot">
            <description>Plot</description>
            <type>textboxscrollup</type>
            <id>38</id>
            <posY>565</posY>
            <label>#TV.View.description</label>
			<textalign>left</textalign>
			<visible>[Control.HasFocus(213)|Control.HasFocus(210)|Control.HasFocus(211)|Control.HasFocus(212)|Control.HasFocus(214)|Control.HasFocus(215)|Control.HasFocus(997)|Control.HasFocus(998)|Control.HasFocus(220)|Control.HasFocus(218)|Control.HasFocus(221)]</visible>
			<animation effect="slide" time="250" end="0,-30" condition="Control.hasfocus(1237)">conditional</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
		<control Style="OSD Title">
            <description>On tv NEXT</description>
            <id>37</id>
            <type>textbox</type>
			<posX>230</posX>
            <posY>635</posY>
			<textalign>left</textalign>
            <textcolor>FFB2D4F5</textcolor>
			<visible>[control.hasfocus(213)|control.hasfocus(1237)]</visible>
			<animation effect="slide" time="250" end="0,40" condition="![Control.HasFocus(213)|Control.HasFocus(210)|Control.HasFocus(211)|Control.HasFocus(212)|Control.HasFocus(214)|Control.HasFocus(215)|Control.HasFocus(997)|Control.HasFocus(998)|Control.HasFocus(220)|Control.HasFocus(218)|Control.HasFocus(221)]">conditional</animation>
        </control>
		<control>
            <description>Genre</description>
            <type>fadelabel</type>
            <id>1</id>
            <posX>990</posX>
            <posY>675</posY>
			<width>430</width>
            <label>#TV.View.genre</label>
			<textalign>left</textalign>
            <textcolor>99ffffff</textcolor>
			<shadowAngle>45</shadowAngle>
			<shadowDistance>5</shadowDistance>
			<shadowColor>ff083556</shadowColor>
			<visible>string.equals(#TV.View.genre)</visible>
            <animation effect="fade" time="250">visiblechange</animation>
			<animation effect="zoom" time="0" start="100,100" end="80,80" condition="true">conditional</animation>
        </control>
		<control Style="Thumb">
            <description>Video Thumb/Cover</description>
            <type>image</type>
            <id>0</id>
            <posY>480</posY>
            <texture>#Play.Current.Thumb</texture>
            <keepaspectratio>yes</keepaspectratio>
			<valign>top</valign>
            <visible>control.isvisible(10101)</visible>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
		<control Style="TV Progress">
            <description>TV Progress Bar</description>
            <type>tvprogress</type>
            <id>1</id>
            <posY>1030</posY>
            <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>
			<markertexture>osd_progress_mid_orange.png</markertexture>
            <fillheight>20</fillheight>
            <label>#TV.Record.percent1</label>
            <label1>#TV.Record.percent2</label1>
            <label2>#TV.Record.percent3</label2>
			<labelmarkerstarts>#TV.Record.jumppoints</labelmarkerstarts>
			<labelmarkerends>#TV.Record.chapters</labelmarkerends>
            <startlabel />
            <endlabel />
            <toplabel />
            <textcolor>FFffffff</textcolor>
        </control>
    <!-- NOT DISPLAYED OR Offscreen - required controls -->
        <control>
            <description>Program Button Up</description>
            <type>button</type>
            <id>33</id>
            <posX>195</posX>
            <posY>413</posY>
            <width>20</width>
            <height>20</height>
            <textureFocus>arrow_round_left_focus.png</textureFocus>
            <textureNoFocus>arrow_round_left_nofocus.png</textureNoFocus>
            <label>-</label>
            <onleft>214</onleft>
            <onright>34</onright>
            <onup>33</onup>
            <ondown>32</ondown>
            <visible>no</visible>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
        <control>
            <description>Program Button Down</description>
            <type>button</type>
            <id>34</id>
            <posX>570</posX>
            <posY>413</posY>
            <width>20</width>
            <height>20</height>
            <textureFocus>arrow_round_right_focus.png</textureFocus>
            <textureNoFocus>arrow_round_right_nofocus.png</textureNoFocus>
            <label>-</label>
            <onleft>33</onleft>
            <onright>34</onright>
            <onup>34</onup>
            <ondown>31</ondown>
            <visible>no</visible>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
        <control>
            <description>Channel Button Up</description>
            <type>button</type>
            <id>31</id>
            <posX>620</posX>
            <posY>520</posY>
            <width>20</width>
            <height>20</height>
            <textureFocus>arrow_round_up_focus.png</textureFocus>
            <textureNoFocus>arrow_round_up_nofocus.png</textureNoFocus>
            <label>-</label>
            <onleft>32</onleft>
            <onright>31</onright>
            <onup>34</onup>
            <ondown>31</ondown>
            <visible>no</visible>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
        <control>
            <description>Channel Button Down</description>
            <type>button</type>
            <id>32</id>
            <posX>570</posX>
            <posY>520</posY>
            <width>20</width>
            <height>20</height>
            <textureFocus>arrow_round_down_focus.png</textureFocus>
            <textureNoFocus>arrow_round_down_nofocus.png</textureNoFocus>
            <label>-</label>
            <onleft>214</onleft>
            <onright>31</onright>
            <onup>33</onup>
            <ondown>32</ondown>
            <visible>no</visible>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
        <control>
            <description>Current channel</description>
            <type>label</type>
            <id>35</id>
            <posX>570</posX>
            <posY>505</posY>
            <width>90</width>
            <label>-</label>
            <visible>no</visible>
            <animation effect="fade" time="250">visiblechange</animation>
            <animation effect="fade" time="250">windowopen</animation>
        </control>
    <import>common.osd.buttons.xml</import>
    </controls>
</window>