[Fix] Large thumbs don't disappear
#1
In list view, when the high res version of the image fades in it will remain until another large image fades in to replace it. Any movies that do not have a movie.tbn or the "back" icon will inherit the image of the last large image. The fix for this is a bit tricky. Here it goes.

In my videonav.xml

Add:
Code:
<include>listfade</include>

to this section:

Code:
<control type="group">
        <include>FullscreenDimensions</include>
        <include>Animation_OpenCloseZoom</include>
        <include>Furniture_Time</include>        
        <include>Conditions_HiddenByInfoPages</include>
        <include>Furniture_MediaPanel</include>
        <include>Objects_ShowcaseMenuPanel</include>

        <include>Viewtype_Wall</include>
        <include>Furniture_WallTime</include>
        <include>Furniture_WallRSS</include>

In Viewtype_list.xml

Add this right below the first line <includes>:
Code:
<include name="listfade">
    <control type="image" id="102">
        <posx>0</posx>
    <posy>0</posy>
    <width>0</width>
    <height>0</height>
        <texture>-</texture>
    <visible>Control.HasFocus(50) + [!Container(50).OnNext + !Container(50).OnPrevious]</visible>
    <animation effect="fade" start="0" end="100" time="150" >Visible</animation>
    </control>
    </include>

Replace the first two large image controls with:
Code:
<control type="largeimage">
                <width>346</width>
                <height>511</height>            
                <texture diffuse="list/list_movieicon_mask.png">$INFO[listitem.path,,movie.tbn]</texture>
                <animation effect="fade" start="0" end="100" time="000">VisibleChange</animation>
                <visible>Control.IsVisible(102) + Container.Content(movies)</visible>
            </control>
            
            <control type="largeimage">
                <width>346</width>
                <height>511</height>            
                <texture diffuse="list/list_movieicon_mask.png">$INFO[listitem.path,,folder.jpg]</texture>
                <animation effect="fade" start="0" end="100" time="000">VisibleChange</animation>
                <visible>Control.IsVisible(102) + Container.Content(tvshows)</visible>
            </control>

From what I can tell, the third largeimage can be removed completely.

Cheers,
Rand
Reply
#2
Worked a treat, thanks.
Reply
#3
Thanks man worked as you said.
Reply
#4
You should somehow submit this to djh for inclusion. Awesome work!
Reply
#5
Duncan asked me to look into it a while ago actually. I am sure if he hasn't figured it out himself, he will pop in here and grab the code.

Cheers,
Rand
Reply

Logout Mark Read Team Forum Stats Members Help
[Fix] Large thumbs don't disappear0