2014-03-16, 05:10
(2014-03-16, 04:07)warlion Wrote: this ones are the onload
Code:<onload condition="!Player.HasAudio + System.HasAddon(script.artistslideshow)">SetProperty(CURRENTARTIST,$INFO[ListItem.Artist])</onload>
<onload condition="!Player.HasAudio + System.HasAddon(script.artistslideshow)">SetProperty(ArtistSlideshow.ExternalCall,True)</onload>
<onload condition="!Player.HasAudio + System.HasAddon(script.artistslideshow)">RunScript(script.artistslideshow,windowid=12001&artistfield=CURRENTARTIST)</onload>
<onunload condition="System.HasAddon(script.artistslideshow)">clearProperty(ArtistSlideshow.ExternalCall)</onunload>
using ESCINFO always giving me error
What skin is that from? I'm thinking it may be trying to use AS for something it's not designed to do. Specifically, it looks like this is trying to get AS to download information with no music playing. it looks like the skin file is trying to send a CURRENTARTIST to Artist Slideshow, but it doesn't seem to work. AS gets an empty artist passed to it and that forces AS into an endless loop where it returns nothing and downloads nothing. AS will just keep running until the unload condition is met for the screen.
While I guess it might be possible to have AS download stuff even with no music playing, it's definitely not supported. There are other add ons available to do that.
I did look at the AS wiki page, and I had some of the information about how to do external calls separated in a way that means you could miss an important step. I've updated the wiki to try and make the process clearer.
As an FYI, the external call functionality was added basically to allow AS to work when you are using the XSqueeze addon. That addon plays music from a Squeezebox, but it has to use its own internal player instead of the XBMC player. So I worked with the author of that addon to include functionality in AS that would make that work. To my knowledge, that's the only addon that uses the external call functionality.