Release Artist Slideshow addon (with skin and addon integration)
(2015-03-01, 20:09)pkscout Wrote:
(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>

Ok, thank you, I will take it into account.

Still I wonder of what use is to fetch a result like valid when there's no image available, only the album name; at the end of the day the name's script is Slide Show, and if there's no image maybe it would make sense to skip that result altogether. Obviously it's just an opinion, you know better... maybe it's impossible to make that change in the code.

Thank you.
If I have helped you or increased your knowledge, please click the 'thumbs up' button to give thanks :)
Reply


Messages In This Thread
New Test Version Available - by pkscout - 2012-03-08, 16:26
[No subject] - by mardup - 2012-03-10, 12:26
[No subject] - by pkscout - 2012-03-11, 01:35
RE: - by mardup - 2012-03-12, 17:50
RE: - by pkscout - 2012-03-13, 03:22
New Beta Version for Testing - by pkscout - 2012-07-13, 17:54
New Beta Version for Testing - by pkscout - 2012-07-14, 22:50
Pull Request for v1.4 Submitted - by pkscout - 2012-07-20, 23:01
New Beta Version for Testing - by pkscout - 2012-08-10, 03:18
New Frodo BETA Support Files - by pkscout - 2012-11-21, 06:20
RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - by manfeed - 2015-03-02, 13:46
New 2.0.0 Beta Coming Soon - by pkscout - 2016-05-12, 02:54
Writing tips - by Parkerbup - 2017-02-03, 14:56
Add-on Artist Slideshow - by jo26 - 2014-08-08, 22:58
Logout Mark Read Team Forum Stats Members Help
Artist Slideshow addon (with skin and addon integration)5