2015-03-01, 20:09
(2015-02-26, 14:21)manfeed Wrote: Ok. Thank you, now I understand. My issue is that I'm coding a Music Visualization screen; my aim is to provide similar artists and discography information and their corresponding images while the song is playing. With similar artists there's no problem; would there be any way to get discography work in the same way? I mean, that AlbumName.1 and AlbumThumb.1 (and so on) only returned results if both had any content...
If AS doesn't get anything back for a particular album thumb or name, then that property will be blank. If you don't want to show the album name if the thumb doesn't exist, just check with IsEmpty.
Code:
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.%d.AlbumThumb))</visible>
Or if you only want to show it if you have both:
Code:
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.%d.AlbumThumb)) + !IsEmpty(Window(Visualisation).Property(ArtistSlideshow.%d.AlbumName))</visible>