(2014-07-11, 09:16)Mudislander Wrote: @pkscout Is there a property that could advise if ArtistSlideshow has fanart for the current artist available to show. My new problem is with the transparent background enabled and ArtistSlideshow is presenting an image that is not 16:9 the skin fallback image is showing up underneath, some users don't like this. Therefore would be nice to only allow skin background if ArtistSlideshow has transparent setting + Window(Visualisation).Property(ArtistSlideshow) is empty or not ready.
(2014-07-11, 21:02)pkscout Wrote: (2014-07-11, 09:16)Mudislander Wrote: @pkscout Is there a property that could advise if ArtistSlideshow has fanart for the current artist available to show. My new problem is with the transparent background enabled and ArtistSlideshow is presenting an image that is not 16:9 the skin fallback image is showing up underneath, some users don't like this. Therefore would be nice to only allow skin background if ArtistSlideshow has transparent setting + Window(Visualisation).Property(ArtistSlideshow) is empty or not ready.
There isn't one specifically. I need to look through the code and see if you can safely assume that Window(Visualisation).Property(ArtistSlideshow) will be empty if there is no art. I'll look at either making sure Window(Visualisation).Property(ArtistSlideshow) is empty until there is art OR add another window property. I should be able to look at it this weekend.
(2014-07-14, 01:23)pkscout Wrote: NEW BETA AVAILABLE
v.1.6.8~beta2
- cleaned up startup process to better deal with script being started twice
- added new window property ArtistSlideshow.ArtworkReady (true if artwork available, empty otherwise)
I don't have any great way to test the new skin property, so I'm hoping one of the skin author's can see if it meets the needs.
This beta is available via my beta addon repo or at:
https://github.com/pkscout/repository.be...Ebeta2.zip
I have question related to ArtistSlideshow.ArtworkReady property. As a beginner skinner, I'm not sure if I'm using it right or if it's appropriate way to achieve what I'm trying. My goal is to show general music-related fanart pics from /various/extrafanart/ if there's no fanart available by artistslideshow. E.g some albums that have many contributing artists are located in folder "various" and it seems artist slideshow cannot pick extrafanart when a song from folder various is played. So I need to tell kodi when there's no image showed by artist slideshow.
I tried this:
this goes for slideshow:
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.ArtworkReady))</visible>
and this for extrafanart:
<visible>IsEmpty(Window(Visualisation).Property(ArtistSlideshow.ArtworkReady))</visible>
but no success yet.
This issue might suit better in skinning forum but I think this is quite simple problem so I try to seek help first here.
EDIT. I made some progress here, at least in troubleshooting. I managed to find out, that actually the lines that I described above tell kodi that there's no fanart provided by slideshow and kodi shows extrafanart from various folder according to the second line. But this only works, if there's no a song, that gets it's fanart from slideshow, before a song that gets fanart from various folder.
Here's example (and debug log also). I played songs in following order. second song gets it's fanart from slideshow and others from various folder:
1. alain sylvain - doux mystere IV
2. adele - rolling in the deep
3. alain sylvain - doux mystere IV
results: when song doux mystere is played first time, fanart is shown as expected. But there's no fanart when doux is played second time, just black screen. Whenever rolling in the deep is played there's fanart no matter what is played before or after.
Debug log
http://pastebin.com/RWGrGzKk
Current setup
HTPC: G4560 Kaby Lake, ASRock H110M-ITX, 8 GB, Win10
Server: G2120 Ivy Bridge, ASRock B75 Pro3-M, 8 GB, 22 TB HDD, Ubuntu 16.04.5 LTS
Audio&Visual: Marantz NR-1602, Dali Opticon 6 5.1, SVS PB12-NSD, Sony KD-65A1