How to add Thumbnail to PVR/TV section
#1
Hi been working on a personal radio list for my Kodi setup and wondering how to add the "thumbnail" view to this section as only the 2 views are selectable (list/cards)

Image

Thanks
Reply
#2
nevermind got it after tweaking the 2 files and adding the 500 view Big Grin

Image

for anyone that wants this here you go

Includes_PVR.xml
Code:
<?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>
        </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>
                    <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>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>
                    
                    </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>30</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>
                        </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_500">
    
        <control type="group">
            <include>Animation.Common</include>
            <visible>Control.IsVisible(500)</visible>
        
            
            <control type="group">
                <control type="panel" id="500">
                    <top>206</top>
                    <left>70</left>
                    <width>1780</width>
                    <height>660</height>
                    <onleft condition="!Skin.HasSetting(global.kioskmode)">9000</onleft>
                    <onright>60</onright>
                    <onup>500</onup>
                    <ondown>500</ondown>
                    <preloaditems>2</preloaditems>
                    <pagecontrol>60</pagecontrol>
                    <orientation>vertical</orientation>
                    <viewtype label="21371">list</viewtype>
                    <scrolltime tween="quadratic">400</scrolltime>
                    <itemlayout height="330" width="296">
                        <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>
                            <texture border="5" colordiffuse="Panel">common/box.png</texture>
                        </control>
                        <control type="label">
                            <left>20</left>
                            <right>20</right>
                            <bottom>10</bottom>
                            <height>50</height>
                            <aligny>center</aligny>
                            <font>Tiny</font>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>PanelWhite70</textcolor>
                        </control>
                        <control type="image">
                            <left>20</left>
                            <top>20</top>
                            <right>20</right>
                            <height>256</height>
                            <aspectratio scalediffuse="false">scale</aspectratio>
                            <texture diffuse="diffuse/wall.png" colordiffuse="ff181818">common/white.png</texture>
                        </control>
                        <control type="image">
                            <left>20</left>
                            <top>20</top>
                            <right>20</right>
                            <height>256</height>
                            <aspectratio scalediffuse="false" align="center" aligny="center">keep</aspectratio>
                            <texture diffuse="diffuse/wall.png" background="true">$VAR[ThumbImage]</texture>
                            <visible>!Container.Content(albums) + !Container.Content(artists) + !Container.Content(songs)</visible>
                        </control>
                        <control type="image">
                            <left>20</left>
                            <top>20</top>
                            <right>20</right>
                            <height>256</height>
                            <aspectratio scalediffuse="false" align="center" aligny="center">scale</aspectratio>
                            <texture diffuse="diffuse/wall.png" background="true">$VAR[ThumbImage]</texture>
                            <visible>Container.Content(albums) | Container.Content(artists) | Container.Content(songs)</visible>
                        </control>
                        <control type="image">
                            <centerright>42</centerright>
                            <centertop>42</centertop>
                            <width>32</width>
                            <height>32</height>
                            <aspectratio aligny="top">keep</aspectratio>
                            <texture>$VAR[PercentWatched]</texture>
                            <visible>!stringcompare(ListItem.Label,..)</visible>
                            <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
                        </control>

                    </itemlayout>
                    <focusedlayout height="330" width="296">
                        <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>
                            <texture border="5" colordiffuse="$VAR[ColorHighlight]">common/box.png</texture>
                        </control>
                        <control type="label">
                            <left>20</left>
                            <right>20</right>
                            <bottom>10</bottom>
                            <height>50</height>
                            <aligny>center</aligny>
                            <font>Tiny</font>
                            <label>$INFO[ListItem.Label]</label>
                            <textcolor>Selected</textcolor>
                        </control>
                        <control type="image">
                            <left>20</left>
                            <top>20</top>
                            <right>20</right>
                            <height>256</height>
                            <aspectratio scalediffuse="false">scale</aspectratio>
                            <texture diffuse="diffuse/wall.png" colordiffuse="ff181818">common/white.png</texture>
                        </control>
                        <control type="image">
                            <left>20</left>
                            <top>20</top>
                            <right>20</right>
                            <height>256</height>
                            <aspectratio scalediffuse="false" align="center" aligny="center">keep</aspectratio>
                            <texture diffuse="diffuse/wall.png" background="true">$VAR[ThumbImage]</texture>
                            <visible>!Container.Content(albums) + !Container.Content(artists) + !Container.Content(songs)</visible>
                        </control>
                        <control type="image">
                            <left>20</left>
                            <top>20</top>
                            <right>20</right>
                            <height>256</height>
                            <aspectratio scalediffuse="false" align="center" aligny="center">scale</aspectratio>
                            <texture diffuse="diffuse/wall.png" background="true">$VAR[ThumbImage]</texture>
                            <visible>Container.Content(albums) | Container.Content(artists) | Container.Content(songs)</visible>
                        </control>
                        <control type="image">
                            <centerright>42</centerright>
                            <centertop>42</centertop>
                            <width>32</width>
                            <height>32</height>
                            <aspectratio aligny="top">keep</aspectratio>
                            <texture>$VAR[PercentWatched]</texture>
                            <visible>!stringcompare(ListItem.Label,..)</visible>
                            <visible>stringcompare(ListItem.Overlay,OverlayWatched.png)</visible>
                        </control>
                    </focusedlayout>
                </control>
                
            
            </control>
            <include>Furniture_Scrollbar</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>

</includes>
MyPVRChannels.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<window>
    <allowoverlay>yes</allowoverlay>
    <background>0</background>
    <defaultcontrol always="true">50</defaultcontrol>
    <views>50,51,500</views>
    <controls>
        <include>GlobalBackground</include>
        <include>Furniture_Header</include>
        <include>Furniture_Clock</include>
        <include>Furniture_NowPlaying</include>
        <include>PVRView_50</include>
        <include>PVRView_51</include>
        <include>PVRView_500</include>
        <include>PVRSideBlade</include>
    </controls>
</window>
Reply

Logout Mark Read Team Forum Stats Members Help
How to add Thumbnail to PVR/TV section0