Kodi Community Forum

Full Version: Fallback wont show?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am within "Albums" and I cant get my fallback to show. Heres my code. Thoughts?


Code:
<control type="image">
                            <posx>0</posx>
                            <posy>0</posy>
                            <width>150</width>
                            <height>150</height>
                            <texture fallback="simplicity/album-fallback.png">$INFO[ListItem.Icon]</texture>
                            <bordertexture border="4">thumbborder.png</bordertexture>
                            <bordersize>4</bordersize>
                        </control>
try with ListItem.Thumb
ronie Wrote:try with ListItem.Thumb

That works, thanks!
How come it doesn't work with ListItem.Icon?
Would some kind soul explain me the difference(s) between Icons and Thumbs... please.

It can't be that we have both just to make sure at least one of them works :-)
Jezz_X Wrote:ListItem.ActualIcon should show <icon> tag
and
ListItem.Thumb should show <thumb> tag
and
ListItem.Icon will show <icon> if <thumb> is empty


within the "albums" library,
<thumb> = scaped album cover
<icon> = default xbmc fallback texture for albums (DefaultMusicSongs.png)
ronie Wrote:within the "albums" library,
<thumb> = scaped album cover
<icon> = default xbmc fallback texture for albums (DefaultMusicSongs.png)

Thanks.

Just to make sure I understood:

Music:
ActualIcon = Huh Album cover without fallback mage?
Thumb = Scraped album cover no fallback
Icon = Thumb with default fallback image

Movies:
ActualIcon = Huh Movie cover without fallback mage?
Thumb = Scraped movie cover no fallback
Icon = Thumb with default fallback image (extracted thumb??)

- fallback="xxx.png" would force different fallback image than default? Say, when in Movies, if I use .Thumb with fallback="myfavourite.png" it would use scraped cover and myfavourite.png as fallback?

Yes, my head is spinning..
pecinko Wrote:Just to make sure I understood:

Music:
ActualIcon = Huh Album cover without fallback mage?
nope, ActualIcon = <icon> = default xbmc texture (DefaultFoo.png)

pecinko Wrote:- fallback="xxx.png" would force different fallback image than default?

not exactly...
- with ListItem.Thumb, there's no default fallback image, so yes you can specify one.
- with ListItem.Icon, xbmc will always fallback to DefaultFoo.png, so specifying fallback="mycustomicon.png" is pointless.

*anyone, feel free to correct me if i'm wrong. :-)