<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="PVRSideBlade">
        <control type="group">
            <include>Animation.FadeIn</include>
            <include>Animation.FadeOut</include>
            <visible>ControlGroup(9000).HasFocus()</visible>
            <include>GlobalOverlay</include>
        </control>
        <control type="group">
            <height>732</height>
            <include>Def9000Background</include>
            <control type="grouplist" id="9000">
                <height>700</height>
                <onback condition="Window.IsVisible(MyPVRGuide.xml) + Control.IsVisible(10)">ActivateWindow(home)</onback>
                <include>Def9000GroupList</include>
                <control type="button" id="9001">
                    <description>Channels</description>
                    <label>19019</label>
                    <onclick>ActivateWindow(TVChannels)</onclick>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                <control type="button" id="9002">
                    <description>Guide</description>
                    <label>22020</label>
                    <onclick>ActivateWindow(TvGuide)</onclick>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                <control type="button" id="9003">
                    <description>Recordings</description>
                    <label>19017</label>
                    <onclick>ActivateWindow(TVRecordings)</onclick>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                <control type="button" id="9004">
                    <description>Timers</description>
                    <label>19040</label>
                    <onclick>ActivateWindow(TVTimers)</onclick>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                <control type="button" id="9005">
                    <description>Search</description>
                    <label>137</label>
                    <onclick>ActivateWindow(TVSearch)</onclick>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                
                
                <!-- PVR options -->
                <!-- <control type="label" id="9010">
                    <description>Channels</description>
                    <label>31194</label>
                    <font>TinyBold</font>
                    <textcolor>Black30</textcolor>
                    <textoffsetx>30</textoffsetx>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control> -->
                <control type="button" id="28">
                    <description>Group</description>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                <control type="button" id="2">
                    <description>View</description>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                <control type="button" id="3">
                    <description>Sort</description>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                <control type="togglebutton" id="4">
                    <description>Direction</description>
                    <include>DefContextButton</include>
                    <align>left</align>
                    <label>584</label>
                    <altlabel>585</altlabel>
                </control>
                <control type="radiobutton" id="6">
                    <description>Show Hidden Channels</description>
                    <label>19051</label>
                    <include>DefContextButton</include>
                    <align>left</align>
                    <visible>Window.IsVisible(MyPVRChannels.xml)</visible>
                </control>
                <control type="radiobutton" id="7">
                    <description>Show Hidden Channels</description>
                    <label>19184</label>
                    <visible>Window.IsVisible(MyPVRRecordings.xml)</visible>
                    <include>DefContextButton</include>
                    <align>left</align>
                </control>
                <control type="button" id="31">
                    <description>Filter</description>
                    <label>587</label>
                    <include>DefContextButton</include>
                    <align>left</align>
                    <visible>Window.IsVisible(MyPVRChannels.xml)</visible>
                </control>
                
            </control>
        </control>
    </include>

    <include name="PVRInfoPanel">
        <control type="group">
            <left>70</left>
            <width>645</width>
            <top>206</top>
            <height>660</height>
            <control type="group">
                <height>330</height>
                <control type="image">
                    <width>100%</width>
                    <height>100%</height>
                    <texture border="10">common/nofocus-shadow10.png</texture>
                </control>
                <control type="image">
                    <left>10</left>
                    <top>10</top>
                    <right>10</right>
                    <bottom>10</bottom>
                    <fadetime>200</fadetime>
                    <texture border="10" colordiffuse="Black">diffuse/pvrinfo.png</texture>
                    <visible>Player.HasVideo</visible>
                </control>
                <control type="videowindow">
                    <left>10</left>
                    <top>10</top>
                    <right>10</right>
                    <bottom>10</bottom>
                    <animation effect="zoom" start="100" end="1" time="0">WindowClose</animation>
                    <visible>Player.HasVideo</visible>
                </control>
             
                <control type="image">
                    <left>10</left>
                    <top>10</top>
                    <right>10</right>
                    <bottom>10</bottom>
                    <fadetime>200</fadetime>
                    <aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
                    <texture diffuse="diffuse/pvrinfo.png" background="true" fallback="pvr/background.jpg">$INFO[ListItem.Thumb]</texture>
                    <visible>!Player.HasVideo</visible>
                    <visible>Window.IsVisible(MyPVRRecordings.xml)</visible>
                </control>
                <control type="image">
                    <left>10</left>
                    <top>10</top>
                    <right>10</right>
                    <bottom>10</bottom>
                    <fadetime>200</fadetime>
                    <aspectratio align="center" aligny="center" scalediffuse="false">scale</aspectratio>
                    <texture diffuse="diffuse/pvrinfo.png" background="true" fallback="pvr/background.jpg">pvr/background.jpg</texture>
                    <visible>!Player.HasVideo</visible>
                    <visible>!Window.IsVisible(MyPVRRecordings.xml)</visible>
                </control>
            </control>
            <control type="group">
                <left>20</left>
                <right>20</right>
                <posy>330</posy>
                <height>330</height>
                
                <control type="label">
                    <top>10</top>
                    <aligny>center</aligny>
                    <height>64</height>
                    <font>SmallBold</font>
                    <textcolor>Dark1</textcolor>
                    <selectedcolor>Dark1</selectedcolor>
                    <label>$INFO[ListItem.Title]</label>
                </control>
                <control type="label">
                    <top>50</top>
                    <height>64</height>
                    <aligny>center</aligny>
                    <font>Tiny</font>
                    <textcolor>Dark1</textcolor>
                    <selectedcolor>Dark1</selectedcolor>
                    <label fallback="19055">$INFO[ListItem.Genre]</label>
                </control>
                <control type="textbox">
                    <top>125</top>
                    <bottom>17</bottom>
                    <align>justify</align>
                    <font>Tiny</font>
                    <textcolor>Dark1</textcolor>
                    <selectedcolor>Dark1</selectedcolor>
                    <label fallback="19055">$INFO[ListItem.Plot]</label>
                </control>
            </control>
        
        </control>
    </include>
    <include name="PVRView_50">
        <control type="group">
            <visible>Control.IsVisible(50)</visible>
            <include>Animation.Common</include>
            <control type="group">
                <right>SidePad</right>
                <width>1100</width>
                <top>PosterPad</top>
                <height>640</height>
               
                <control type="list" id="50" description="TV CHANNELS">     
                    <right>0</right>
                    <width>1100</width>
                    <top>0</top>
                    <bottom>0</bottom>
                    <onup>50</onup>
                    <ondown>50</ondown>
                    <onleft condition="!Skin.HasSetting(global.kioskmode)">28</onleft>
                    <onright>60</onright>
                    <pagecontrol>60</pagecontrol>
                    <viewtype label="535">list</viewtype>
                    <scrolltime>200</scrolltime>
                    <orientation>vertical</orientation>
                    <itemlayout height="128" width="1100">
                        <control type="image">                                
                            <left>10</left>
                            <centertop>50%</centertop>
                            <width>111</width>
                            <height>111</height>
                            <aspectratio align="left">keep</aspectratio>
                            <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                        </control>
                        <control type="group">
                            <visible>Window.IsVisible(MyPVRChannels.xml)</visible>
                            
                            <control type="label">
                                <left>137</left>
                                <top>12</top>
                                <aligny>center</aligny>
                                <height>64</height>
                                <width>70</width>
                                <align>right</align>
                                <font>SmallBold</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.ChannelNumber]</label>
                            </control>
                            <control type="progress">
                                <posx>140</posx>
                                <posy>81</posy>
                                <width>67</width>
                                <height>19</height>
                                <reveal>true</reveal>
                                <texturebg>pvr/progress-back.png</texturebg>
                                <lefttexture>pvr/progress-leftright.png</lefttexture>
                                <midtexture>pvr/progress-mid.png</midtexture>
                                <righttexture>pvr/progress-leftright.png</righttexture>
                                <info>ListItem.Progress</info>
                                <colordiffuse>Dark1</colordiffuse>
                            </control>
                            <control type="label">
                                <posx>220</posx>
                                <right>100</right>
                                <top>12</top>
                                <aligny>center</aligny>
                                <height>64</height>
                                <font>SmallBold</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.ChannelName]</label>
                            </control>
                            <control type="label">
                                <posx>220</posx>
                                <bottom>8</bottom>
                                <right>100</right>
                                <aligny>center</aligny>
                                <height>64</height>
                                <font>Small</font>
                                <textcolor>Dark2</textcolor>
                                <selectedcolor>Dark2</selectedcolor>
                                <label>$INFO[ListItem.Title]</label>
                            </control>
                            <control type="label">
                                <right>30</right>
                                <width>500</width>
                                <top>12</top>
                                <aligny>center</aligny>
                                <height>64</height>
                                <align>right</align>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.EndTime,$LOCALIZE[31106] ,]</label>
                                <visible>!IsEmpty(ListItem.NextTitle)</visible>
                            </control>
                            <control type="label">
                                <right>30</right>
                                <width>500</width>
                                <aligny>center</aligny>
                                <height>100%</height>
                                <align>right</align>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.EndTime,$LOCALIZE[31106] ,]</label>
                                <visible>IsEmpty(ListItem.NextTitle)</visible>
                            </control>
                            <control type="label">
                                <right>30</right>
                                <width>500</width>
                                <bottom>8</bottom>
                                <aligny>center</aligny>
                                <height>64</height>
                                <align>right</align>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.NextTitle,[B],[/B] $LOCALIZE[19031]]</label>
                            </control>
                        </control>
                        <control type="group">
                            <visible>Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(MyPVRTimers.xml) | Window.IsVisible(MyPVRSearch.xml)</visible>

                            <control type="label">
                                <posx>140</posx>
                                <right>100</right>
                                <top>12</top>
                                <aligny>center</aligny>
                                <height>64</height>
                                <font>SmallBold</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.Label]</label>
                            </control>
                            <control type="label">
                                <posx>140</posx>
                                <bottom>8</bottom>
                                <right>100</right>
                                <aligny>center</aligny>
                                <height>64</height>
                                <font>Small</font>
                                <textcolor>Dark2</textcolor>
                                <selectedcolor>Dark2</selectedcolor>
                                <label>$INFO[ListItem.StartDate]$INFO[ListItem.StartTime,$COMMA  ,]</label>
                            </control>
                            <control type="label">
                                <right>60</right>
                                <width>500</width>
                                <aligny>center</aligny>
                                <height>100%</height>
                                <align>right</align>
                                <font>Small</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.ChannelName]</label>
                            </control>
                            <control type="image">
                                <centerright>30</centerright>
                                <centertop>66</centertop>
                                <width>32</width>
                                <height>32</height>
                                <aspectratio aligny="top">keep</aspectratio>
                                <texture>$VAR[PercentWatched]</texture>
                                <visible>!stringcompare(ListItem.Label,..)</visible>
                            </control>
                        </control>
                    
                    </itemlayout>
                    
                    
                    <focusedlayout height="128" width="1100">
                        <control type="group">
                            <visible>Control.HasFocus(50)</visible>
                            <control type="image">
                                <width>100%</width>
                                <height>100%</height>
                                <texture colordiffuse="Dark1" border="5">common/box.png</texture>
                            </control>
                            <control type="image">                                
                                <left>10</left>
                                <centertop>50%</centertop>
                                <width>111</width>
                                <height>111</height>
                                <aspectratio align="left">keep</aspectratio>
                                <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                            </control>
                            
                            <control type="group">
                                <visible>Window.IsVisible(MyPVRChannels.xml)</visible>
                                <control type="label">
                                    <left>137</left>
                                    <top>12</top>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <width>70</width>
                                    <align>right</align>
                                    <font>SmallBold</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.ChannelNumber]</label>
                                </control>
                                <control type="progress">
                                    <posx>140</posx>
                                    <posy>81</posy>
                                    <width>67</width>
                                    <height>19</height>
                                    <reveal>true</reveal>
                                    <texturebg>pvr/progress-back.png</texturebg>
                                    <lefttexture>pvr/progress-leftright.png</lefttexture>
                                    <midtexture>pvr/progress-mid.png</midtexture>
                                    <righttexture>pvr/progress-leftright.png</righttexture>
                                    <info>ListItem.Progress</info>
                                    <colordiffuse>Light1</colordiffuse>
                                </control>
                                <control type="label">
                                    <posx>220</posx>
                                    <right>100</right>
                                    <top>12</top>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <font>SmallBold</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.ChannelName]</label>
                                </control>
                                <control type="label">
                                    <posx>220</posx>
                                    <bottom>8</bottom>
                                    <right>100</right>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <font>Small</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.Title]</label>
                                </control>
                                <control type="label">
                                    <right>30</right>
                                    <width>500</width>
                                    <top>12</top>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <align>right</align>
                                    <font>Tiny</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.EndTime,$LOCALIZE[31106] ,]</label>
                                    <visible>!IsEmpty(ListItem.NextTitle)</visible>
                                </control>
                                <control type="label">
                                    <right>30</right>
                                    <width>500</width>
                                    <aligny>center</aligny>
                                    <height>100%</height>
                                    <align>right</align>
                                    <font>Tiny</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.EndTime,$LOCALIZE[31106] ,]</label>
                                    <visible>IsEmpty(ListItem.NextTitle)</visible>
                                </control>
                                <control type="label">
                                    <right>30</right>
                                    <width>500</width>
                                    <bottom>8</bottom>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <align>right</align>
                                    <font>Tiny</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.NextTitle,[B],[/B] $LOCALIZE[19031]]</label>
                                </control>
                            </control>
                            <control type="group">
                                <visible>Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(MyPVRTimers.xml) | Window.IsVisible(MyPVRSearch.xml)</visible>
                                <control type="label">
                                    <posx>140</posx>
                                    <right>100</right>
                                    <top>12</top>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <font>SmallBold</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.Label]</label>
                                </control>
                                <control type="label">
                                    <posx>140</posx>
                                    <bottom>8</bottom>
                                    <right>100</right>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <font>Small</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.StartDate]$INFO[ListItem.StartTime,$COMMA  ,]</label>
                                </control>
                                <control type="label">
                                    <right>60</right>
                                    <width>500</width>
                                    <aligny>center</aligny>
                                    <height>100%</height>
                                    <align>right</align>
                                    <font>Small</font>
                                    <textcolor>Light1</textcolor>
                                    <selectedcolor>Light1</selectedcolor>
                                    <label>$INFO[ListItem.ChannelName]</label>
                                </control>
                                <control type="image">
                                    <centerright>30</centerright>
                                    <centertop>66</centertop>
                                    <width>32</width>
                                    <height>32</height>
                                    <aspectratio aligny="top">keep</aspectratio>
                                    <texture>$VAR[PercentWatched]</texture>
                                    <visible>!stringcompare(ListItem.Label,..)</visible>
                                </control>
                            </control>
                        </control>
                        <control type="group">
                            <visible>!Control.HasFocus(50)</visible>
                            <control type="image">                                
                                <left>10</left>
                                <centertop>50%</centertop>
                                <width>111</width>
                                <height>111</height>
                                <aspectratio align="left">keep</aspectratio>
                                <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                            </control>
                            <control type="group">
                                <visible>Window.IsVisible(MyPVRChannels.xml)</visible>
                                
                                <control type="label">
                                    <left>137</left>
                                    <top>12</top>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <width>70</width>
                                    <align>right</align>
                                    <font>SmallBold</font>
                                    <textcolor>Dark1</textcolor>
                                    <selectedcolor>Dark1</selectedcolor>
                                    <label>$INFO[ListItem.ChannelNumber]</label>
                                </control>
                                <control type="progress">
                                    <posx>140</posx>
                                    <posy>81</posy>
                                    <width>67</width>
                                    <height>19</height>
                                    <reveal>true</reveal>
                                    <texturebg>pvr/progress-back.png</texturebg>
                                    <lefttexture>pvr/progress-leftright.png</lefttexture>
                                    <midtexture>pvr/progress-mid.png</midtexture>
                                    <righttexture>pvr/progress-leftright.png</righttexture>
                                    <info>ListItem.Progress</info>
                                    <colordiffuse>Dark1</colordiffuse>
                                </control>
                                <control type="label">
                                    <posx>220</posx>
                                    <right>100</right>
                                    <top>12</top>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <font>SmallBold</font>
                                    <textcolor>Dark1</textcolor>
                                    <selectedcolor>Dark1</selectedcolor>
                                    <label>$INFO[ListItem.ChannelName]</label>
                                </control>
                                <control type="label">
                                    <posx>220</posx>
                                    <bottom>8</bottom>
                                    <right>100</right>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <font>Small</font>
                                    <textcolor>Dark2</textcolor>
                                    <selectedcolor>Dark2</selectedcolor>
                                    <label>$INFO[ListItem.Title]</label>
                                </control>
                                <control type="label">
                                    <right>30</right>
                                    <width>500</width>
                                    <top>12</top>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <align>right</align>
                                    <font>Tiny</font>
                                    <textcolor>Dark1</textcolor>
                                    <selectedcolor>Dark1</selectedcolor>
                                    <label>$INFO[ListItem.EndTime,$LOCALIZE[31106] ,]</label>
                                    <visible>!IsEmpty(ListItem.NextTitle)</visible>
                                </control>
                                <control type="label">
                                    <right>30</right>
                                    <width>500</width>
                                    <aligny>center</aligny>
                                    <height>100%</height>
                                    <align>right</align>
                                    <font>Tiny</font>
                                    <textcolor>Dark1</textcolor>
                                    <selectedcolor>Dark1</selectedcolor>
                                    <label>$INFO[ListItem.EndTime,$LOCALIZE[31106] ,]</label>
                                    <visible>IsEmpty(ListItem.NextTitle)</visible>
                                </control>
                                <control type="label">
                                    <right>30</right>
                                    <width>500</width>
                                    <bottom>8</bottom>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <align>right</align>
                                    <font>Tiny</font>
                                    <textcolor>Dark1</textcolor>
                                    <selectedcolor>Dark1</selectedcolor>
                                    <label>$INFO[ListItem.NextTitle,[B],[/B] $LOCALIZE[19031]]</label>
                                </control>
                            </control>
                            <control type="group">
                                <visible>Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(MyPVRTimers.xml) | Window.IsVisible(MyPVRSearch.xml)</visible>

                                <control type="label">
                                    <posx>130</posx>
                                    <right>100</right>
                                    <top>12</top>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <font>SmallBold</font>
                                    <textcolor>Dark1</textcolor>
                                    <selectedcolor>Dark1</selectedcolor>
                                    <label>$INFO[ListItem.Label]</label>
                                </control>
                                <control type="label">
                                    <posx>130</posx>
                                    <bottom>8</bottom>
                                    <right>100</right>
                                    <aligny>center</aligny>
                                    <height>64</height>
                                    <font>Small</font>
                                    <textcolor>Dark2</textcolor>
                                    <selectedcolor>Dark2</selectedcolor>
                                    <label>$INFO[ListItem.StartDate]$INFO[ListItem.StartTime,$COMMA  ,]</label>
                                </control>
                                <control type="label">
                                    <right>30</right>
                                    <width>500</width>
                                    <aligny>center</aligny>
                                    <height>100%</height>
                                    <align>right</align>
                                    <font>Small</font>
                                    <textcolor>Dark1</textcolor>
                                    <selectedcolor>Dark1</selectedcolor>
                                    <label>$INFO[ListItem.ChannelName]</label>
                                </control>
                            </control>
                        
                        
                        </control>
                    
                        
                    </focusedlayout>
                </control>
            </control>
            <include>Furniture_Scrollbar</include>
            <include>PVRInfoPanel</include>
        </control>
    </include>

    <include name="PVRView_51">
        <control type="group">
            <visible>Control.IsVisible(51)</visible>
            <include>Animation.Common</include>
            <control type="group">
          
                
                <control type="panel" id="51" description="TV CHANNELS">     
                    <top>206</top>
                    <height>660</height>
                    <left>70</left>
                    <right>70</right>
                    <onup>51</onup>
                    <ondown>51</ondown>
                    <onleft condition="!Skin.HasSetting(global.kioskmode)">28</onleft>
                    <onright>60</onright>
                    <orientation>vertical</orientation>
                    <pagecontrol>60</pagecontrol>
                    <viewtype label="31198">list</viewtype>
                    <scrolltime tween="quadratic">400</scrolltime>
                    <itemlayout height="330" width="890">
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <right>10</right>
                            <bottom>10</bottom>
                            <texture colordiffuse="Dark4" border="5">common/box.png</texture>
                        </control>
                        
                        <control type="group">
                            <visible>Window.IsVisible(MyPVRChannels.xml)</visible>
                            <control type="image">                                
                                <left>20</left>
                                <top>20</top>
                                <width>220</width>
                                <height>220</height>
                                <aspectratio align="left" aligny="top">keep</aspectratio>
                                <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                            </control>
                            <control type="label">
                                <left>260</left>
                                <right>30</right>
                                <top>14</top>
                                <height>50</height>
                                <align>left</align>
                                <font>SmallBold</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.Title]</label>
                            </control>
                            <control type="textbox">
                                <left>260</left>
                                <right>30</right>
                                <top>70</top>
                                <height>128</height>
                                <align>justify</align>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.Plot]</label>
                                <autoscroll>false</autoscroll>
                            </control>
                            <control type="label">
                                <left>260</left>
                                <right>30</right>
                                <bottom>80</bottom>
                                <aligny>center</aligny>
                                <height>38</height>
                                <align>left</align>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.NextTitle,[B]$LOCALIZE[19031]:[/B] ,]</label>
                            </control>
                            <control type="label">
                                <right>30</right>
                                <width>300</width>
                                <bottom>32</bottom>
                                <aligny>center</aligny>
                                <align>right</align>
                                <font>EpisodeNumber</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.ChannelNumber]</label>
                            </control>
                            <control type="progress">
                                <posx>20</posx>
                                <bottom>30</bottom>
                                <width>67</width>
                                <height>19</height>
                                <reveal>true</reveal>
                                <texturebg>pvr/progress-back.png</texturebg>
                                <lefttexture>pvr/progress-leftright.png</lefttexture>
                                <midtexture>pvr/progress-mid.png</midtexture>
                                <righttexture>pvr/progress-leftright.png</righttexture>
                                <info>ListItem.Progress</info>
                                <colordiffuse>Dark1</colordiffuse>
                            </control>
                            <control type="label">
                                <left>110</left>
                                <right>30</right>
                                <bottom>30</bottom>
                                <height>24</height>
                                <aligny>center</aligny>
                                <align>left</align>
                                <font>SmallBold</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.ChannelName]</label>
                            </control>
                        </control>
                        <control type="group">
                            <visible>!Window.IsVisible(MyPVRChannels.xml)</visible>
                            <control type="image">                                
                                <left>20</left>
                                <top>20</top>
                                <width>290</width>
                                <height>290</height>
                                <aspectratio>scale</aspectratio>
                                <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                            </control>
                            <control type="label">
                                <left>330</left>
                                <right>30</right>
                                <top>20</top>
                                <height>50</height>
                                <align>left</align>
                                <font>SmallBold</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.Label]</label>
                            </control>
                            <control type="label">
                                <left>330</left>
                                <right>30</right>
                                <top>75</top>
                                <height>24</height>
                                <aligny>center</aligny>
                                <align>left</align>
                                <font>TinyBold</font>
                                <textcolor>Dark2</textcolor>
                                <selectedcolor>Dark2</selectedcolor>
                                <label>$INFO[ListItem.ChannelName]</label>
                            </control>
                            <control type="textbox">
                                <left>330</left>
                                <right>30</right>
                                <top>120</top>
                                <height>128</height>
                                <align>justify</align>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <autoscroll>false</autoscroll>
                                <label>$INFO[ListItem.Plot]</label>
                            </control>
                            <control type="label">
                                <left>330</left>
                                <right>30</right>
                                <bottom>25</bottom>
                                <aligny>center</aligny>
                                <height>38</height>
                                <align>left</align>
                                <font>Tiny</font>
                                <textcolor>Dark1</textcolor>
                                <selectedcolor>Dark1</selectedcolor>
                                <label>$INFO[ListItem.StartDate]$INFO[ListItem.StartTime,$COMMA  ,]</label>
                            </control>
                            
                        
                        </control>
                        
                        
                    </itemlayout>
                    <focusedlayout height="330" width="890">
                        <control type="image">
                            <left>10</left>
                            <top>10</top>
                            <right>10</right>
                            <bottom>10</bottom>
                            <texture colordiffuse="Dark1" border="5">common/box.png</texture>
                        </control>
                        <control type="group">
                            <visible>Window.IsVisible(MyPVRChannels.xml)</visible>
                            <control type="image">                                
                                <left>20</left>
                                <top>20</top>
                                <width>220</width>
                                <height>220</height>
                                <aspectratio align="left" aligny="top">keep</aspectratio>
                                <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                            </control>
                            <control type="label">
                                <left>260</left>
                                <right>30</right>
                                <top>14</top>
                                <height>50</height>
                                <align>left</align>
                                <font>SmallBold</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.Title]</label>
                            </control>
                            <control type="textbox">
                                <left>260</left>
                                <right>30</right>
                                <top>70</top>
                                <height>128</height>
                                <align>justify</align>
                                <font>Tiny</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.Plot]</label>
                            </control>
                            <control type="label">
                                <left>260</left>
                                <right>30</right>
                                <bottom>80</bottom>
                                <aligny>center</aligny>
                                <height>38</height>
                                <align>left</align>
                                <font>Tiny</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.NextTitle,[B]$LOCALIZE[19031]:[/B] ,]</label>
                            </control>
                            <control type="label">
                                <right>30</right>
                                <width>300</width>
                                <bottom>32</bottom>
                                <aligny>center</aligny>
                                <align>right</align>
                                <font>EpisodeNumber</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.ChannelNumber]</label>
                            </control>
                            <control type="progress">
                                <posx>20</posx>
                                <bottom>30</bottom>
                                <width>67</width>
                                <height>19</height>
                                <reveal>true</reveal>
                                <texturebg>pvr/progress-back.png</texturebg>
                                <lefttexture>pvr/progress-leftright.png</lefttexture>
                                <midtexture>pvr/progress-mid.png</midtexture>
                                <righttexture>pvr/progress-leftright.png</righttexture>
                                <info>ListItem.Progress</info>
                                <colordiffuse>Light1</colordiffuse>
                            </control>
                            <control type="label">
                                <left>110</left>
                                <right>30</right>
                                <bottom>30</bottom>
                                <height>24</height>
                                <aligny>center</aligny>
                                <align>left</align>
                                <font>SmallBold</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.ChannelName]</label>
                            </control>
                        </control>
                        <control type="group">
                            <visible>!Window.IsVisible(MyPVRChannels.xml)</visible>
                            <control type="image">                                
                                <left>20</left>
                                <top>20</top>
                                <width>290</width>
                                <height>290</height>
                                <aspectratio>scale</aspectratio>
                                <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                            </control>
                            <control type="label">
                                <left>330</left>
                                <right>30</right>
                                <top>20</top>
                                <height>50</height>
                                <align>left</align>
                                <font>SmallBold</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.Label]</label>
                            </control>
                            <control type="label">
                                <left>330</left>
                                <right>30</right>
                                <top>75</top>
                                <height>24</height>
                                <aligny>center</aligny>
                                <align>left</align>
                                <font>TinyBold</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.ChannelName]</label>
                            </control>
                            <control type="textbox">
                                <left>330</left>
                                <right>30</right>
                                <top>120</top>
                                <height>128</height>
                                <align>justify</align>
                                <font>Tiny</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.Plot]</label>
                            </control>
                            <control type="label">
                                <left>330</left>
                                <right>30</right>
                                <bottom>25</bottom>
                                <aligny>center</aligny>
                                <height>38</height>
                                <align>left</align>
                                <font>Tiny</font>
                                <textcolor>Light1</textcolor>
                                <selectedcolor>Light1</selectedcolor>
                                <label>$INFO[ListItem.StartDate]$INFO[ListItem.StartTime,$COMMA  ,]</label>
                            </control>
                            
                        
                        </control>
                        
                    </focusedlayout>
                </control>
                
            </control>
            <include>Furniture_Scrollbar</include>
        </control>
    </include>

    <variable name="PVRChannelZero">
        <value condition="!IntegerGreaterThan(ListItem.ChannelNumber,9)">$NUMBER[0]$NUMBER[0]</value>
        <value condition="!IntegerGreaterThan(ListItem.ChannelNumber,99)">$NUMBER[0]</value>
    </variable>

    <include name="PVRView_52">
        <control type="group">
            <visible>Control.IsVisible(52)</visible>
            <include>Animation.Common</include>     
            <control type="panel" id="52" description="TV CHANNELS">     
                <top>206</top>
                <height>495</height>
                <left>70</left>
                <right>70</right>
                <onup>52</onup>
                <ondown>52</ondown>
                <onleft condition="!Skin.HasSetting(global.kioskmode)">28</onleft>
                <onright>60</onright>
                <orientation>vertical</orientation>
                <pagecontrol>60</pagecontrol>
                <viewtype label="536">list</viewtype>
                <scrolltime tween="quadratic">400</scrolltime>
                <itemlayout height="165" width="445">
                    <control type="image">
                        <left>10</left>
                        <top>10</top>
                        <right>10</right>
                        <bottom>10</bottom>
                        <texture colordiffuse="Dark4" border="5">common/box.png</texture>
                    </control>
                    <control type="image">                                
                        <right>20</right>
                        <top>20</top>
                        <width>100</width>
                        <height>100</height>
                        <aspectratio align="right" aligny="top">keep</aspectratio>
                        <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                    </control>
                    <control type="label">
                        <left>30</left>
                        <right>130</right>
                        <top>16</top>
                        <align>left</align>
                        <aligny>top</aligny>
                        <font>SmallBold</font>
                        <textcolor>Dark1</textcolor>
                        <selectedcolor>Dark1</selectedcolor>
                        <label>$VAR[PVRChannelZero]$INFO[ListItem.ChannelNumber,,. ]$INFO[ListItem.ChannelName]</label>
                    </control>
                    <!-- <control type="label">
                        <left>30</left>
                        <right>30</right>
                        <top>16</top>
                        <align>right</align>
                        <aligny>top</aligny>
                        <font>SmallBold</font>
                        <textcolor>Dark1</textcolor>
                        <selectedcolor>Dark1</selectedcolor>
                        <label>$VAR[PVRChannelZero]$INFO[ListItem.ChannelNumber]</label>
                    </control> -->
                    <control type="image">
                        <left>30</left>
                        <top>66</top>
                        <width>24</width>
                        <height>24</height>
                        <aspectratio>keep</aspectratio>
                        <texture colordiffuse="Dark1">pvr/clock24.png</texture>
                        <visible>!IsEmpty(ListItem.Title)</visible>
                    </control>
                    <control type="label">
                        <left>70</left>
                        <right>130</right>
                        <top>66</top>
                        <height>22</height>
                        <align>left</align>
                        <aligny>center</aligny>
                        <font>Tiny</font>
                        <textcolor>Dark1</textcolor>
                        <selectedcolor>Dark1</selectedcolor>
                        <label>$INFO[ListItem.Title]</label>
                    </control>
                    <control type="image">
                        <left>30</left>
                        <top>96</top>
                        <width>24</width>
                        <height>24</height>
                        <aspectratio>keep</aspectratio>
                        <texture colordiffuse="Dark1">pvr/nextclock24.png</texture>
                        <visible>!IsEmpty(ListItem.NextTitle)</visible>
                    </control>
                    <control type="label">
                        <left>70</left>
                        <right>130</right>
                        <top>96</top>
                        <height>22</height>
                        <align>left</align>
                        <aligny>center</aligny>
                        <font>Tiny</font>
                        <textcolor>Dark1</textcolor>
                        <selectedcolor>Dark1</selectedcolor>
                        <label>$INFO[ListItem.NextTitle]</label>
                    </control>
                    <control type="progress">
                        <left>30</left>
                        <right>30</right>
                        <height>8</height>
                        <bottom>24</bottom>
                        <info>ListItem.Progress</info>
                    </control>
                </itemlayout>
                <focusedlayout height="165" width="445">
                    <control type="image">
                        <left>10</left>
                        <top>10</top>
                        <right>10</right>
                        <bottom>10</bottom>
                        <texture colordiffuse="Dark1" border="5">common/box.png</texture>
                    </control>
                    <control type="image">                                
                        <right>20</right>
                        <top>20</top>
                        <width>100</width>
                        <height>100</height>
                        <aspectratio align="right" aligny="top">keep</aspectratio>
                        <texture fallback="DefaultAddonNone.png">$INFO[Listitem.Icon]</texture>
                    </control>
                    <control type="label">
                        <left>30</left>
                        <right>130</right>
                        <top>16</top>
                        <align>left</align>
                        <aligny>top</aligny>
                        <font>SmallBold</font>
                        <textcolor>Light1</textcolor>
                        <selectedcolor>Light1</selectedcolor>
                        <label>$VAR[PVRChannelZero]$INFO[ListItem.ChannelNumber,,. ]$INFO[ListItem.ChannelName]</label>
                    </control>
                    <!-- <control type="label">
                        <left>30</left>
                        <right>30</right>
                        <top>16</top>
                        <align>right</align>
                        <aligny>top</aligny>
                        <font>SmallBold</font>
                        <textcolor>Light1</textcolor>
                        <selectedcolor>Light1</selectedcolor>
                        <label>$VAR[PVRChannelZero]$INFO[ListItem.ChannelNumber]</label>
                    </control> -->
                    <control type="image">
                        <left>30</left>
                        <top>66</top>
                        <width>24</width>
                        <height>24</height>
                        <aspectratio>keep</aspectratio>
                        <texture colordiffuse="Light1">pvr/clock24.png</texture>
                        <visible>!IsEmpty(ListItem.Title)</visible>
                    </control>
                    <control type="label">
                        <left>70</left>
                        <right>130</right>
                        <top>66</top>
                        <height>22</height>
                        <align>left</align>
                        <aligny>center</aligny>
                        <font>Tiny</font>
                        <textcolor>Light1</textcolor>
                        <selectedcolor>Light1</selectedcolor>
                        <label>$INFO[ListItem.Title]</label>
                    </control>
                    <control type="image">
                        <left>30</left>
                        <top>96</top>
                        <width>24</width>
                        <height>24</height>
                        <aspectratio>keep</aspectratio>
                        <texture colordiffuse="Light1">pvr/nextclock24.png</texture>
                        <visible>!IsEmpty(ListItem.NextTitle)</visible>
                    </control>
                    <control type="label">
                        <left>70</left>
                        <right>130</right>
                        <top>96</top>
                        <height>22</height>
                        <align>left</align>
                        <aligny>center</aligny>
                        <font>Tiny</font>
                        <textcolor>Light1</textcolor>
                        <selectedcolor>Light1</selectedcolor>
                        <label>$INFO[ListItem.NextTitle]</label>
                    </control>
                    <control type="progress">
                        <left>30</left>
                        <right>30</right>
                        <height>8</height>
                        <bottom>24</bottom>
                        <info>ListItem.Progress</info>
                    </control>
                </focusedlayout>
            </control>
            <control type="group">
                <top>701</top>
                <height>165</height>
                <left>70</left>
                <right>70</right>
                <control type="image">
                    <left>10</left>
                    <top>10</top>
                    <right>10</right>
                    <bottom>10</bottom>
                    <texture colordiffuse="Dark4" border="5">common/box.png</texture>
                </control>
                <control type="image">
                    <right>20</right>
                    <top>20</top>
                    <width>250</width>
                    <height>125</height>
                    <aspectratio align="right">keep</aspectratio>
                    <texture>$INFO[ListItem.Icon]</texture>
                </control>
                <control type="label">
                    <left>30</left>
                    <right>30</right>
                    <top>24</top>
                    <align>left</align>
                    <aligny>top</aligny>
                    <font>SmallBold</font>
                    <textcolor>Dark1</textcolor>
                    <selectedcolor>Dark1</selectedcolor>
                    <label>[COLOR=$VAR[ColorHighlight]]$INFO[ListItem.StartTime]$INFO[ListItem.EndTime, - ,][/COLOR]$INFO[ListItem.Title,  ,]        [COLOR=$VAR[ColorHighlight]]$LOCALIZE[515][/COLOR]$INFO[ListItem.Genre,  ,]</label>
                </control>
                <control type="textbox">
                    <left>30</left>
                    <right>280</right>
                    <top>70</top>
                    <height>65</height>
                    <align>left</align>
                    <aligny>top</aligny>
                    <font>Tiny</font>
                    <textcolor>Dark1</textcolor>
                    <selectedcolor>Dark1</selectedcolor>
                    <label>$INFO[ListItem.Plot]</label>
                </control>
            </control>
            <include>Furniture_Scrollbar</include>
        </control>
    </include>

</includes>
