2016-09-21, 00:41
(2016-09-20, 07:32)black_eagle Wrote: 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
Calling AS manually was built assuming the addon is providing it's own playback window (see the Squeezebox addon as an example). I have no idea what will happen if you try and override what the skin is doing. I suspect nothing good.