2012-08-26, 10:28
On my media centre I've been getting a blank background for a while (over a month) so yesterday I reset it to the defaults, cleared the cache manually and rebooted the machine. Since then I have noticed that artist slide show has decided that after a while it will stop updating the images - usually after watching a TV show between two albums. It continues to display the last artists imagery for evermore until a reboot.
What I have noticed is that in the log "script.artistslideshow: script stopped" appears after the last song which gets displayed, then if you try to run the script manually (from the Programs menu) it shows the following, but specifically "script.artistslideshow: script already running" - now looking through the code the check is made against "self.ARTISTSLIDESHOWRUNNING" - however unless I'm missing something (my Python skills are pretty non-existant so that is possible) that isn't cleared when it drops out the main while loop - is that possibly the cause?
What I have noticed is that in the log "script.artistslideshow: script stopped" appears after the last song which gets displayed, then if you try to run the script manually (from the Programs menu) it shows the following, but specifically "script.artistslideshow: script already running" - now looking through the code the check is made against "self.ARTISTSLIDESHOWRUNNING" - however unless I'm missing something (my Python skills are pretty non-existant so that is possible) that isn't cleared when it drops out the main while loop - is that possibly the cause?
Code:
Line 8422: 08:13:50 T:2848971584 DEBUG: script.artistslideshow: current artist is El Coco
Line 8423: 08:13:50 T:2848971584 DEBUG: script.artistslideshow: start download
Line 8424: 08:13:50 T:2848971584 DEBUG: script.artistslideshow: cachedir = /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/
Line 8424: 08:13:50 T:2848971584 DEBUG: script.artistslideshow: cachedir = /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/
Line 8425: 08:13:50 T:2848971584 DEBUG: script.artistslideshow: asking for images from: http://ws.audioscrobbler.com/2.0/?autocorrect=1&api_key=fbd57a1baddb983d1848a939665310f6&method=artist.getImages&artist=El+Coco
Line 8426: 08:13:50 T:2848971584 DEBUG: script.artistslideshow: downloading artist images info lastfm
Line 8429: 08:13:50 T:2848971584 DEBUG: script.artistslideshow: asking for images from: http://htbackdrops.com/api/96d681ea0dcb07ad9d27a347e64b652a/searchXML?default_operator=and&fields=title&aid=1&keywords=El+Coco&dmin_w=0&dmin_h=0
Line 8430: 08:13:50 T:2848971584 DEBUG: script.artistslideshow: downloading artist images info htbackdrops
Line 8431: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: downloading images
Line 8432: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: copying file to transition directory
Line 8433: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: moving file to cache directory
Line 8434: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/79129457/El+Coco+elcoco.jpg to /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/e4f74753.tbn
Line 8434: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/79129457/El+Coco+elcoco.jpg to /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/e4f74753.tbn
Line 8435: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: invalid or missing local xml file for bio
Line 8436: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: downloading artist bio info lastfm
Line 8437: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: invalid or missing local xml file for similar
Line 8438: 08:13:51 T:2848971584 DEBUG: script.artistslideshow: downloading artist similar info lastfm
Line 8440: 08:13:53 T:2848971584 DEBUG: script.artistslideshow: invalid or missing local xml file for albums
Line 8441: 08:13:53 T:2848971584 DEBUG: script.artistslideshow: downloading artist albums info lastfm
Line 8444: 08:14:01 T:2848971584 DEBUG: script.artistslideshow: switching slideshow to /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/transition
Line 8444: 08:14:01 T:2848971584 DEBUG: script.artistslideshow: switching slideshow to /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/transition
Line 8445: 08:14:01 T:2812267328 DEBUG: Caching image '/home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/transition/e4f74753.tbn' as '5/50bdaeca.tbn' full size
Line 8446: 08:14:01 T:2812267328 INFO: Caching image from: /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/transition/e4f74753.tbn to special://masterprofile/Thumbnails/5/50bdaeca.tbn
Line 8447: 08:14:02 T:2848971584 DEBUG: script.artistslideshow: copying file to transition directory
Line 8448: 08:14:02 T:2848971584 DEBUG: script.artistslideshow: moving file to cache directory
Line 8449: 08:14:02 T:2848971584 DEBUG: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/4734373/El+Coco+el_coco_letsgetittog.jpg to /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/ad6a601f.tbn
Line 8449: 08:14:02 T:2848971584 DEBUG: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/4734373/El+Coco+el_coco_letsgetittog.jpg to /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/ad6a601f.tbn
Line 8450: 08:14:02 T:2848971584 DEBUG: script.artistslideshow: finished downloading images
Line 8451: 08:14:02 T:2848971584 DEBUG: script.artistslideshow: cleaning up from refreshing slideshow
Line 8452: 08:14:11 T:2848971584 DEBUG: script.artistslideshow: switching slideshow to /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/
Line 8452: 08:14:11 T:2848971584 DEBUG: script.artistslideshow: switching slideshow to /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/
Line 8453: 08:14:11 T:2848971584 DEBUG: script.artistslideshow: deleting file /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/transition/e4f74753.tbn
Line 8453: 08:14:11 T:2848971584 DEBUG: script.artistslideshow: deleting file /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/transition/e4f74753.tbn
Line 8454: 08:14:11 T:2848971584 DEBUG: script.artistslideshow: deleting file /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/transition/ad6a601f.tbn
Line 8454: 08:14:11 T:2848971584 DEBUG: script.artistslideshow: deleting file /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/transition/ad6a601f.tbn
Line 8455: 08:14:11 T:2625633088 DEBUG: Caching image '/home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/e4f74753.tbn' as 'b/b264745b.tbn' full size
Line 8456: 08:14:11 T:2625633088 INFO: Caching image from: /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/e4f74753.tbn to special://masterprofile/Thumbnails/b/b264745b.tbn
Line 8459: 08:14:37 T:2812267328 DEBUG: Caching image '/home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/ad6a601f.tbn' as '9/9c1b9b97.tbn' full size
Line 8460: 08:14:37 T:2812267328 INFO: Caching image from: /home/xbmc/.xbmc/userdata/addon_data/script.artistslideshow/ArtistSlideshow/3fb85a52/ad6a601f.tbn to special://masterprofile/Thumbnails/9/9c1b9b97.tbn
Line 8736: 08:22:27 T:2848971584 DEBUG: script.artistslideshow: script stopped
Line 13434: 09:18:30 T:2797882176 DEBUG: Re-caching image '/home/xbmc/.xbmc/addons/script.artistslideshow/icon.png' as 'e/e3b39ffc.png' full size
Line 13435: 09:18:30 T:2797882176 INFO: Caching image from: /home/xbmc/.xbmc/addons/script.artistslideshow/icon.png to special://masterprofile/Thumbnails/e/e3b39ffc.png
Line 13491: 09:18:37 T:2625633088 DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/script.artistslideshow/default.py
Line 13492: 09:18:37 T:2625633088 DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/script.artistslideshow:/home/xbmc/.xbmc/addons/script.module.xbmcswift/lib:/home/xbmc/.xbmc/addons/script.module.demjson/lib:/usr/share/xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.myconnpy/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.common.plugin.cache/lib:/home/xbmc/.xbmc/addons/script.module.simple.downloader/lib:/home/xbmc/.xbmc/addons/script.module.mechanize/lib:/home/xbmc/.xbmc/addons/script.module.parsedom/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/...
Line 13493: 09:18:37 T:2625633088 DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.artistslideshow
Line 13494: 09:18:37 T:2625633088 DEBUG: Instantiating addon using automatically obtained id of "script.artistslideshow" dependent on version 2.0 of the xbmc.python api
Line 13495: 09:18:37 T:2625633088 DEBUG: script.artistslideshow: script version 1.4.4 started
Line 13496: 09:18:37 T:2625633088 DEBUG: script.artistslideshow: window id is set to 12006
Line 13497: 09:18:37 T:2625633088 DEBUG: script.artistslideshow: artist field is set to
Line 13498: 09:18:37 T:2625633088 DEBUG: script.artistslideshow: title field is set to
Line 13499: 09:18:37 T:2625633088 DEBUG: script.artistslideshow: language = en
Line 13500: 09:18:37 T:2625633088 DEBUG: script.artistslideshow: external call is set to
Line 13501: 09:18:37 T:2625633088 DEBUG: script.artistslideshow: script already running
Line 13502: 09:18:37 T:2625633088 DEBUG: script.artistslideshow: script stopped