Kodi Community Forum

Full Version: Artist Slideshow addon (with skin and addon integration)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2012-08-23, 19:56)Acrobat76 Wrote: [ -> ]Thanks Pkscout. Im pretty sure it isnt due to your add on per se. And its not a bug. I guess I am posting in the wrong thread as I think its related to skin(s) or even xbmc in general. I have no idea how to post screenshots from an atv2, but basically what I mean is that whereas a few weeks ago the fullscreen mode used to just give me a slideshow of the artist pics, now I get an overlay with all the song's info (artist, album, album pic, progress bar etc). Id like to get rid of this extra overlay and just have the fullscreen slideshow. Guess I need to post in the general forums or the skin sub forums....

Just press "i" Or what ever the button for that on the ATV2 is. It's the "info" screen that can be toggled on or off. When in "Off" mode, It pops up for about 5 seconds at the start of a new track and goes away. If you press "i" on the keyboard it will toggle to "On" and and stay on screen all the time (that's the way I like it myself but not everybody does). So just find out whatever the button/switch is on the ATV2 and you will be fine.
Hi Pkscout, look this image

Image

What I need change in config addon for script read local XML files?

Image

Image

Image
Hi,

Been a while since playing some music, but at the moment I'm just getting a black background in place of the slideshow.

If I choose a new artist the banner flashes up downloading image but then nothing.

I've tried deleting all the images in the artistslideshow folder.

Running Aeon Nox and artist slideshow 1.42

Thanks for any help
hi
i would like to setup the addon to slideshow the artists images and stuff while playing the music instead of spectrum etc.
is it possible?
thanks
I just put in a pull request for the next version.

v.1.4.4
- fix for non-ascii characters in windows user name
- fix for non-ascii characters in artist name
- download notifications disabled by default with option to enable them

Please note that if you were using the option to display a custom image during download or like the text notifications, you will need to enable those in the settings. The default is now for notifications of all types to be disabled. If you hated the notifications, you don't have to do anything other than update the add-on.
(2012-08-24, 01:57)Wanilton Wrote: [ -> ]What I need change in config addon for script read local XML files?

The folder structure isn't correct. The stuff for the override needs to be in a directory called override (sorry, English only) at the same level as extrafanart. Check the wiki page again for full instructions. If those don't make sense, let me know and I'll try and make them clearer.
(2012-08-24, 17:36)DanMan Wrote: [ -> ]Been a while since playing some music, but at the moment I'm just getting a black background in place of the slideshow.

If I choose a new artist the banner flashes up downloading image but then nothing.

Do you get another message saying saying Nothing Downloaded? It will actual stack on top of the first message, so it might come pretty quickly if, for instance, the script is having problems connecting with last.fm and/or htbackdrops. Speaking of which, please check and make sure you've actually selected on or both of the sites for downloads. If one or both are enabled, it would be helpful to see a debug log.

(2012-08-24, 18:09)rigo Wrote: [ -> ]i would like to setup the addon to slideshow the artists images and stuff while playing the music instead of spectrum etc.
is it possible?

If I remember correctly, Spectrum is a visualization add-on. You should be able to set the visualization to NONE and then get only the artist images.
pkscuot, thanks, work fine now..

Wanilton
I have a problem. I installed a fresh XBMC Eden + Artist Slideshow and replace two files in Confluence skin. After adding album, add-on added one fanart and stops in the middle of downloading the next (i see it in the temp folder). When I try to run Artist Slideshow in program menu XBMC log shows the message:

Code:
G: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
13:40:48 T:3292  NOTICE: -->Python Interpreter Initialized<--
(2012-08-25, 13:50)Regss Wrote: [ -> ]I have a problem. I installed a fresh XBMC Eden + Artist Slideshow and replace two files in Confluence skin. After adding album, add-on added one fanart and stops in the middle of downloading the next (i see it in the temp folder). When I try to run Artist Slideshow in program menu XBMC log shows the message:

Code:
G: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
13:40:48 T:3292  NOTICE: -->Python Interpreter Initialized<--

I'd need to see a full debug log to help.
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?

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
For some reason that is beyond me, the official xbmc repository gave me version 1.1.5 when I installed the addon yesterday. Where can I find the zip to install the most recent version?
(2012-08-26, 22:18)PolarbearNO Wrote: [ -> ]For some reason that is beyond me, the official xbmc repository gave me version 1.1.5 when I installed the addon yesterday. Where can I find the zip to install the most recent version?

You can get a zip of the current version from here.

(2012-08-26, 10:28)kevjs1982 Wrote: [ -> ]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?

I think I found the problem, but since you cut out part of the log, I'm going to have to make an assumption about what you did. I believe what you did was go straight from listening to music to playing a TV show and didn't stop the music first. I'm pretty sure that use case generates an XBMC abort request instead of a player stop (or at least it does for you). The logic branch for the XBMC abort request didn't clear the info label properly, so I fixed that. You can get an updated version here. This bug has been there for quite awhile, so I'm not going to push an official release just for this unless I get a bunch more people reporting the problem. The fix will get incorporated into the next release.

P.S. Please don't post logs (or chunks of logs) to the forum. It makes the post and the log snippet almost impossible to read. You can use xmbclogs.com to post logs. And please don't cut out parts of the log, as it makes it hard to tell what's really going on.
(2012-08-27, 16:53)pkscuot Wrote: [ -> ]
(2012-08-26, 22:18)PolarbearNO Wrote: [ -> ]For some reason that is beyond me, the official xbmc repository gave me version 1.1.5 when I installed the addon yesterday. Where can I find the zip to install the most recent version?

You can get a zip of the current version from here.
Thanks a lot pkscuot!
It seems that wiht your latest fix my problem went away too. Usually when pressing MOVIES I only get a black screen - no movies visible. No way to get back to xbmc without killing it. Now this works everytime... ;-)

Christian

ups... too early, still get black screen...

Christian
here the log:

http://pastebin.com/GBhD9dPW

Christian