2009-12-02, 19:03
I've been doing some tests to see just what XBMC is returning for the texture name when we use Control.GetLabel(id) and it appears that it doesn't get anything when using $INFO in the string, not even the fallback texture.
<texture fallback="flags/default.png">special://skin/extras/studios/1111.png</texture>
Hitcher Wrote:Found out a little more.
Adding an image that doesn't exist (forcing the fallback texture to be displayed) XBMC still returns the actual path string instead of the fallback texture.
Code:<texture fallback="flags/default.png">special://skin/extras/studios/1111.png</texture>
ControlGetLabel = "special://skin/extras/studios/1111.png"
XBMC obviously knows there's no 1111.png because it's using the fallback image so there's got to be a way to get this working.
Hitcher Wrote:Tried using background="true" but all that did was keep the last flag onscreen when there was no new one.
Hitcher Wrote:This is great news guys, thanks.
I'll get it sorted when I finish work later.
Oh, and I'm using slides so they all align to the right of the screen when one or more is missing.