Kodi Community Forum

Full Version: Visibility if no CD Art found?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I show an image only if no cd art is found? Not a fallback, a separate image.

I tried this:

Code:
<visible>IsEmpty(Player.FolderPath/cdart.png)</visible>
That's never empty as the path is always something (regardless of whether it exists or not).

You could try Control.GetLabel on an image control with that as the path perhaps (background loaded)
jmarshall Wrote:That's never empty as the path is always something (regardless of whether it exists or not).

You could try Control.GetLabel on an image control with that as the path perhaps (background loaded)

Edit. I got it. Thanks! I learn something new everyday. Smile