Release Artist Slideshow addon (with skin and addon integration)
(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&amp;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.
Reply


Messages In This Thread
New Test Version Available - by pkscout - 2012-03-08, 16:26
[No subject] - by mardup - 2012-03-10, 12:26
[No subject] - by pkscout - 2012-03-11, 01:35
RE: - by mardup - 2012-03-12, 17:50
RE: - by pkscout - 2012-03-13, 03:22
New Beta Version for Testing - by pkscout - 2012-07-13, 17:54
New Beta Version for Testing - by pkscout - 2012-07-14, 22:50
Pull Request for v1.4 Submitted - by pkscout - 2012-07-20, 23:01
New Beta Version for Testing - by pkscout - 2012-08-10, 03:18
New Frodo BETA Support Files - by pkscout - 2012-11-21, 06:20
RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - by pkscout - 2014-03-16, 05:10
New 2.0.0 Beta Coming Soon - by pkscout - 2016-05-12, 02:54
Writing tips - by Parkerbup - 2017-02-03, 14:56
Add-on Artist Slideshow - by jo26 - 2014-08-08, 22:58
Logout Mark Read Team Forum Stats Members Help
Artist Slideshow addon (with skin and addon integration)5