2008-05-23, 16:12
I have some code which is displaying a texture for items in a list, in the following manner:
What I would like is that if the texture does not find a relevant image then it could load a fallback image. Jezz mentioned to me in passing that fallback attribute of the texture tag may work but I tried the following without success:
Is something like this already available in XBMC and if so how? If it isn't available would it be possible at some point?
Thanks
Code:
<texture>$INFO[ListItem.Label,,_icon.png]</texture>
What I would like is that if the texture does not find a relevant image then it could load a fallback image. Jezz mentioned to me in passing that fallback attribute of the texture tag may work but I tried the following without success:
Code:
<texture fallback="Default_icon.png">$INFO[ListItem.Label,,_icon.png]</texture>
Is something like this already available in XBMC and if so how? If it isn't available would it be possible at some point?
Thanks