2015-11-12, 02:19
(2015-11-11, 04:03)JdAb Wrote:(2015-11-11, 03:10)pkscout Wrote:(2015-11-11, 02:36)JdAb Wrote: Hi guys,
what's the way (code) for show "fanart" when no images availables on the artist slideshow
Technically there is no window property that tells the skin that. The best you can do is check to see if $INFO[Window(Visualisation).Property(ArtistSlideshow)] is empty. If it's empty then there were no images to display and the user didn't select a fallback directory. The only thing is that $INFO[Window(Visualisation).Property(ArtistSlideshow)] will be empty if no images have yet been downloaded, at least until something is downloaded. So basically you can't really tell if it's empty because there are no images or just that there aren't any images YET.
Thank you pkscout.
I try with this:
<visible>IsEmpty(Window(Visualisation).Property(ArtistSlideshow))</visible>
But not working...
Honestly I don't do a great deal of skinning, so I can't be anymore help than what I've given. Since the user can set a fallback folder to use when no images are found, I'm not sure the skin really needs to handle that use case.