2013-07-13, 10:54
(2013-07-09, 03:34)pkscuot Wrote: There are two possibilities. One is the directory you set for local images in your settings. The other is the cache directory. The cache directory can be found in your XBMC userdata folder addon_data/script.artistslideshow/ArtistSlideshow. The directories are named using a hash of the artist name, so you may have to do some exploring if you're looking for particular images.
I think I found a bug with multiple artists. Tell me if I'm right. I don't use local directories. All images are fetched from last.fm.
Assumption: _set_property("ArtistSlideshow",...) is the way of communicating the directory to the skin. I modified the code slightly to print the directory being passed to the skin.
Code:
def _set_property( self, property_name, value=""):
if (property_name == "ArtistSlideshow"):
log("ArtistSlideshow set to " + value)
try:
self.WINDOW.setProperty(property_name, value)
except:
pass
log(" *************** Exception: Couldn't set propery " + property_name + " value " + value)
Test 1: Since I had some problems with thumbnails loading, I did this test after clearing all data in userdata\addon_data\script.artistslideshow, userdata\Thumbnails & userdata\Database\Textures13.db before running xbmc. I played a song with 3 artists and I understand from the logs that the final directory (about 1 min into the playback) passed was userdata\addon_data\script.artistslideshow\merge. I checked this folder and it had the images of all 3 artists. Exited XBMC. The logs are here: http://xbmclogs.com/show.php?id=36516
Test 2: Start XMBC again. Played the same song. Waited for almost 2 minutes and I saw the images of a single artist only. From the logs I see that userdata\addon_data\script.artistslideshow\merge was never passed to the skin. The logs are here: http://xbmclogs.com/show.php?id=36517
My primary system is XBMCbuntu and these tests were done on my windows laptop. But I think it explains why I have very rarely seen images of the 2nd/3rd artist.
Appreciate your time and help!