Release Artist Slideshow addon (with skin and addon integration)
(2016-03-30, 23:03)pkscout Wrote: Yikes. That does seem high. Here's how it's suppose to be working:

1- AS gets the musicbrainz ID either from Kodi or by finding it on MusicBrainz. That is cached in a file, so after the initial lookup it'll never look that up again. If AS doesn't find one, it will try again in a couple of weeks.

2- If the user has selected to use TheAudioDB (and it's off by default), then AS asks for the artist bio (via artist-mb.php), albums (via album.php) for the given MusicBrainz ID (if no MusicBrainz ID, then AS does not query TheAudioDB). It then caches the artist bio and album info. AS won't check again those for updates for 2 weeks.

So far, so good. But I think I found the problem. AS is asking for and downloading a list of images every time. I could've sworn that it was honoring the cache timing for the bios and albums, but it is not. Let me look into fixing that.

I'm really sorry about this. I try to be a good API citizen, but in this case I flat out fell down on the job. Thanks for bringing it to my attention.

OK, I think I've fixed this. 1.8.8 is now available in my repo, so anyone using that will get it soon. I've submitted 1.8.8 to the official repo as well. I suspect that will get updated in the next couple days. One thing to note. This fixes AS for Kodi Helix and later. If you feel like we need to go back further than that, I'll have to find a copy of the older version and do the modification (I was a bad programmer and did not branch my git repo when I made major code changes for Helix).
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 - 2016-03-31, 00: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