Kodi Community Forum
Solved view thumbnail wall problem - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Solved view thumbnail wall problem (/showthread.php?tid=196416)



view thumbnail wall problem - Reynald - 2014-05-28

I have still need you community, I created a view, miniature wall and nothing appears, I return the problem for several hours and I not understand it. I probably to do ​​a huge stupidity, and I'm sorry! If you could help me find the problem, tell me where to go! thank you

Image

I board you add the xml view for you yoom understand, see, and an image


RE: view thumbnail wall problem - ronie - 2014-05-28

you didn't post the relevant code: $VAR[IconPoster]


RE: view thumbnail wall problem - Reynald - 2014-05-29

sorry

PHP Code:
<variable name="IconPoster">
        <
value condition="!IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Art(poster)]</value>
        <
value>$INFO[ListItem.Icon]</value>
    </
variable

I do not understand , this should work. even if there are errors, everything is there for it to work!


RE: view thumbnail wall problem - Reynald - 2014-05-29

Well, I managed to display icons, problem '"include" but I still can not correct contenaires, label and no flag is displayed! . Can you help me!



PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="view_IconWallPortrait">
    <control type="image">
                <top>80</top>
                <left>5</left>
                <width>1280</width>
                <height>718</height>
               <texture>frames/strip_wall.png</texture>                                  
               <aspectratio>stretch</aspectratio>
               <visible>Control.IsVisible(592)</visible>               
            </control>
        <control type="panel" id="592">
        <viewtype label="ThumbWall">icon</viewtype>
        
            <left>5</left>
            <top>356</top>
            <width>1272</width>
            <height>428</height>
            <onup>6000</onup>
            <ondown>71</ondown>
            <onleft>592</onleft>
            <onright>592</onright>
            <pagecontrol>71</pagecontrol>
            <preloaditems>4</preloaditems>
            <focusposition>1</focusposition>
            <orientation>horizontal</orientation>
            <include>global_Scrolltime</include>
            <include>transition_Content</include>
            <include>toggle_Menu</include>
            <include>transition_Info</include>
            <visible>Container.Content(movies) | Container.Content(tvshows) | Container.Content(sets) | Container.Content(actors)</visible>
            <scrolltime>200</scrolltime>
        
            <animation type="WindowOpen">
                <effect type="fade" start="0" end="100" time="500"/>
                <effect type="zoom" start="200" end="100" center="auto" time="500"/>
            </animation>
            <animation type="WindowClose">
                <effect type="fade" start="100" end="0" time="500"/>
                <effect type="zoom" start="100" end="200" center="auto" time="500"/>
            </animation>
            <itemlayout width="80" height="120">
            <include>viewIconWallPortrait-ContainerCommons</include>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>80</width>
                    <height>120</height>
                    <texture>views\frame-Wall/white_diffuse_wall.png</texture>
                    <colordiffuse>dd0c2c40</colordiffuse>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>80</width>
                    <height>120</height>
                    <aspectratio>stretch</aspectratio>
                    <texture fallback="DefaultVideo.png" background="true">$INFO[ListItem.Icon]</texture>
                    <bordersize>1</bordersize>
                    <colordiffuse>aa003366</colordiffuse>
                    <visible>stringcompare(ListItem.Label,..)</visible>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>80</width>
                    <height>120</height>
                    <aspectratio>stretch</aspectratio>
                    <texture fallback="DefaultVideo.png" background="true">$VAR[IconPoster]</texture>
                    <bordersize>1</bordersize>
                    <colordiffuse>39FFFFFF</colordiffuse>
                    <visible>!stringcompare(ListItem.Label,..)</visible>
                </control>
            </itemlayout>
            <focusedlayout width="80" height="120">
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>80</width>
                    <height>120</height>
                    <aspectratio>stretch</aspectratio>
                    <texture fallback="DefaultVideo.png" background="true">$INFO[ListItem.Icon]</texture>
                    <bordertexture>black.png</bordertexture>
                    <bordersize>2</bordersize>
                    <animation effect="zoom" start="100" end="140" center="auto">Focus</animation>
                    <animation effect="slide" start="0,0" end="11,0" time="0" condition="Container.Column(0)">Conditional</animation>
                    <animation effect="slide" start="0,0" end="-11,0" time="0" condition="Container.Column(15)">Conditional</animation>
                    <animation effect="slide" start="0,0" end="0,17" time="0" condition="Container.Row(0)">Conditional</animation>
                    <animation effect="slide" start="0,0" end="0,-17" time="0" condition="Container.Row(5)">Conditional</animation>
                    <visible>stringcompare(ListItem.Label,..)</visible>
                </control>
                <control type="image">
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>80</width>
                    <height>120</height>
                    <aspectratio>stretch</aspectratio>
                    <texture fallback="DefaultVideo.png" background="true">$VAR[IconPoster]</texture>
                    <bordertexture>black.png</bordertexture>
                    <bordersize>2</bordersize>
                    <animation effect="zoom" start="100" end="140" center="auto">Focus</animation>
                    <animation effect="slide" start="0,0" end="11,0" time="0" condition="Container.Column(0)">Conditional</animation>
                    <animation effect="slide" start="0,0" end="-11,0" time="0" condition="Container.Column(15)">Conditional</animation>
                    <animation effect="slide" start="0,0" end="0,17" time="0" condition="Container.Row(0)">Conditional</animation>
                    <animation effect="slide" start="0,0" end="0,-17" time="0" condition="Container.Row(5)">Conditional</animation>
                    <visible>!stringcompare(ListItem.Label,..)</visible>
                </control>
            <include>viewIconWallPortrait-ContainerCommons</include>
            </focusedlayout>
        </control>

        <include name="detail_ThumbnailsWall">
        <control type="group">
            <include>transition_Content</include>
            <include>transition_Info</include>
            <include>toggle_Menu</include>
            <!--large grid-->
            <control type="group">
                <visible>Control.IsVisible(592) | Container.Content(sets)</visible>
                <!--flags-->
                <control type="image">
                    <right>77</right>
                    <top>640</top>
                    <include>detail_StarRating</include>
                    <aspectratio align="right" aligny="top">keep</aspectratio>
                    <visible>IntegerGreaterThan(ListItem.Rating,0)</visible>
                    <visible>Control.IsVisible(592)</visible>    
                </control>
                <control type="image">
                    <right>72</right>
                    <top>640</top>
                    <width>128</width>
                    <height>64</height>
                    <texture>$VAR[flag_Studio]</texture>
                    <aspectratio align="right" aligny="center">keep</aspectratio>
                    <visible>SubString(Container.FolderPath,plugin://plugin.video.the.trailers)</visible>
                </control>
                <control type="group">
                    <left>60</left>
                    <top>640</top>
                    <control type="label">
                        <label>$VAR[global_Title]</label>
                        <width>500</width>
                        <include>detail_Title</include>
                        <visible>Control.IsVisible(592)</visible>                        
                    </control>
                    <control type="label">
                        <top>25</top>
                        <label>$VAR[global_Info]</label>
                        <width>450</width>
                        <include>detail_Sub</include>
                        <visible>!SubString(Container.FolderPath,plugin) + !SubString(ListItem.Icon,default)</visible>
                        <visible>Control.IsVisible(592)</visible>
                    </control>
                    <control type="label">
                        <top>25</top>
                        <label>$VAR[global_Info.Addon]</label>
                        <width>450</width>
                        <include>detail_Sub</include>
                        <visible>SubString(Container.FolderPath,plugin) + !SubString(ListItem.Icon,default)</visible>
                        <visible>Control.IsVisible(592)</visible>
                    </control>
                </control>            
        </control>
    </include>
</includes> 

Image Not info Sad


RE: view thumbnail wall problem - Reynald - 2014-05-29

I find a way to display title logo ect, but they move animatedly return submenu. So I think I have forgotten a piece of code! I go to sleep .. tomorrow will be brighter ideas Smile


RE: view thumbnail wall problem - Reynald - 2014-05-29

I found the solution, my problem was in the use of ID and order of commands.

but can you tell me where to place this element, shadow effect on the thumbnails wall, to be placed behind the wall? when I put it between


<include name="viewIconWallPortrait-ContainerCommons">

and

<include name="view_IconWallPortrait">


it is also on submenu


PHP Code:
<control type="group">
            <
left>7</left>
            <
top>7</top>
            <
control type="image">
                <
top>80</top>                
                <
width>screenWidth</width>
                <
height>718</height>
               <
texture>frames/strip_wall.png</texture>                                  
               <
aspectratio>stretch</aspectratio>
               <
visible>Control.IsVisible(592)</visible>               
            </
control