Difference ListItem.Icon & ListItem.thumb
#1
Hi guys,

i've added an option to choose between banner.jpg support or normal scraped thumb ... for Banner Views

... here is what i've done:

PHP Code:
<control type="image">
                            <
posx>0</posx>
                            <
posy>0</posy>
                            <
width>575</width>
                            <
height>106</height>
                            <
bordersize>5</bordersize>
                            <
aspectratio>stretch</aspectratio>
                            <
fadetime>200</fadetime>
                            <
texture background="true" fallback="tvbanner.png" diffuse="maskbanner.png">$INFO[ListItem.Path]banner.jpg</texture>
                            <
colordiffuse>grey</colordiffuse>
                            <
visible>Skin.HasSetting(jpgsupport)</visible>
                        </
control>
                        <
control type="image">
                            <
posx>0</posx>
                            <
posy>0</posy>
                            <
width>575</width>
                            <
height>106</height>
                            <
bordersize>5</bordersize>
                            <
aspectratio>stretch</aspectratio>
                            <
fadetime>200</fadetime>
                            <
texture background="true" fallback="tvbanner.png" diffuse="maskbanner.png">$INFO[ListItem.Icon]</texture>
                            <
colordiffuse>grey</colordiffuse>
                            <
visible>!Skin.HasSetting(jpgsupport)</visible>
                        </
control

My Question:
Is there any difference between ListItem.Icon and ListItem.Thumb ?
I'm asking that to understand if there's a way to separate the downloaded banners and posters, (not talking about local files but the cached images)

Thanx
Reply
#2
there's a difference but nothing related to thumb vs banner. the icon will be the general e.g. "video" identifying icon from the skin, while the thumb will be the downloaded image.
Reply
#3
Thank you for the fast answer.
Reply
#4
like spiff said
Thumb will show only a set/downloaded image or blank
Icon will show a set/downloaded image plus a default icon if it doesn't have a thumb
Reply
#5
Jezz_X Wrote:like spiff said
Thumb will show only a set/downloaded image or blank
Icon will show a set/downloaded image plus a default icon if it doesn't have a thumb

Thanx Jezz,
so there is no other way show banner and poster simultaneously than create an option to support banner.jpg ...
Reply

Logout Mark Read Team Forum Stats Members Help
Difference ListItem.Icon & ListItem.thumb0