Album thumb fallback texture
#1
i'm trying to set a fallback texture for albums when no thumb is available, using this code:
<texture fallback="DefaultAlbumCover.png">$INFO[listitem.thumb]</texture>
but no matter what i try, xbmc will always display DefaultMusicSongs.png instead ?

using <texture>$INFO[listitem.icon]</texture> for albums will also fallback to DefaultMusicSongs.png.
in this case i would expect DefaultAlbum.png would be used, similar to Videos where DefaultVideo.png is used.

could either one of the two be fixed? DefaultMusicSongs.png is used as the Songs node icon and i would prefer to use a different texture for missing album thumbs.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#2
DefaultMusicSongs.png is only referenced in the code as the icon for the songs node(s).

I suspect you mean another image?

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
jmarshall Wrote:DefaultMusicSongs.png is only referenced in the code as the icon for the songs node(s).

I suspect you mean another image?

nope.
PM3.HD also uses <texture fallback="DefaultAlbumCover.png">$INFO[listitem.thumb]</texture> in it's fanart view:

Image


song node icon:

Image


however, the correct fallback texture is shown when selecting the 'up' entry:

Image
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
Try r24110.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
cheers jm, fallback for thumbs is working fine now.

would it make sense to change the default icon for albums to DefaultAlbum.png instead of DefaultMusicSongs.png ?

since DefaultArtist.png is used for artists and DefaultVideo.png is used for (music)videos this seems obvious...but hey, what do i know. ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Album thumb fallback texture0