2016-09-20, 07:32
I see from the wiki that its possible to call AS manually. This is something I'm currently looking into to try and add artist backgrounds for radio stations that don't use ICY or Shoutcast streams and therefore don't have artist/track info embedded in the stream. I can get the artist and track info no problem and set the required properties. However, as most skins these days support AS with an <onload> condition, it will already be running before my addon wants to call it.
I know it sets a property for it's own internal use and I just wanted to confirm with you that if I check for that, then call xbmc.executebuiltin(StopScript(script.artistslideshow)) and wait until getProperty("ArtistSlideshow.CleanupComplete") == "True" that that's the correct way to shut it down before I call it with my own parameters ?
Thanks
I know it sets a property for it's own internal use and I just wanted to confirm with you that if I check for that, then call xbmc.executebuiltin(StopScript(script.artistslideshow)) and wait until getProperty("ArtistSlideshow.CleanupComplete") == "True" that that's the correct way to shut it down before I call it with my own parameters ?
Thanks