Release Artist Slideshow addon (with skin and addon integration)
(2022-11-14, 11:53)Jeffers24 Wrote: My .kodi file was far larger than I thought it should be.
I had a look into what was adding space to my .kodi file and nearly a gigabyte in userdata was the artist slideshow folders.
I set maximum cache to 256MB thinking that this will restrict the size of the script.artistslideshow and artistinformation folders, but it doesn't seem to have worked, see screenshot.
How can I limit the size of the script.artistslideshow and artistinformation folders automatically?
Image

the caching removal logic is a little non-intuitive.  The size you set in the settings applies only to the ArtistSlideshow folder (that's where the images are stored).  When AS deletes a folder of images there, it also deletes a single text file from the ArtistInformation folder for the artist whose images you deleted that is related to the image download history.  AS never checks the size of the ArtistInformation folder independently.  I'd be curious to know what's going on with your ArtistInformation folder.  That should have only text files in it and will never be more than about 500K per artist (and that'a high estimate).  I'm guessing you listen to a streaming radio station and have ended up listening to over 1200 different artists.

You can just delete the ArtistInformation folder.  All the data there will be redownloaded as needed, but that will mean all the images are going to get redownloaded too (they won't be stored if the file already exists though).  I'll have to look at the AS cache trim code to delete all the cached info files too.
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
New 2.0.0 Beta Coming Soon - by pkscout - 2016-05-12, 02:54
Writing tips - by Parkerbup - 2017-02-03, 14:56
RE: Artist Slideshow addon (with skin and addon integration) - by pkscout - 2022-11-14, 14:43
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