How to display AudioTrackData.AlbumArtUri only if it is present/active?

My main home control page shows the time, weather, lighting scene shortcuts, and album art in a 350x350 area for what is currently playing via Chromecast (in my case, “HomeAudio1.AudioTrackData.AlbumArtUri”). When something is playing, the album art is displayed and looks good, but when nothing is playing, its just a black 350x350 square. How could I put in a condition to only display this when something is playing? When its not playing, I’d prefer it to not be there at all (so the background image shows), or perhaps replace it with a static 350x350 image of my choice.

Thank you in advance!

You can add a DataTrigger to the control that hides it when the URL isn’t set (see screenshot below)

If you want to learn more about what DataTriggers are & how they work, here is a video that goes over them in more detail.

1 Like

…and within 30 seconds of reading your reply, exactly what I wanted is done. Very cool. Thank you, @bill ! Really liking this product!

1 Like