[WIP] Artist Slideshow Script (looking for testers!) - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Transparency! (/forumdisplay.php?fid=115)
+---- Thread: [WIP] Artist Slideshow Script (looking for testers!) (/showthread.php?tid=100702)
- neoflex - 2011-07-02 19:54
I had a small problem with this very usefull script. The error message was:
"...script.artistslideshow/default.py", line 47, in download
OSError: [Errno 18] Invalid cross-device link
After googling it it looks like that the os.rename method doesnt work if the 2 files are on different devices or different mount points.
I solved it by replacing this by shutil.move(tmpname, dst) (you then have to import shutil of course)
Hope that would help someone
- ronie - 2011-07-03 15:13
i'd definitely like to fix that issue.
the script copies the images from .xbmc/temp to .xbmc/userdata/...
so, does this mean you have those two folders on separate drives?
- bobrap - 2011-07-03 19:13
Hate to be a bother. Trying to get this to run and it's a no go for me. I'm running the latest svns and installed the script from the repo. Is there something else I need to turn on/off?
- ronie - 2011-07-03 19:20
bobrap Wrote:Is there something else I need to turn on/off?
yup, you have to enable it, using the 'vis options' button on the musicosd :-)
- bobrap - 2011-07-03 19:41
Bingo! Thank you, sir. If you celebrate, have a great 4th!
- neoflex - 2011-07-03 20:59
ronie Wrote:i'd definitely like to fix that issue.
Indeed, my thumbnails folder is on another drive because I share it with several computers. I use a symlink to achieve this. I realize that my case is probably not so common
- ronie - 2011-07-03 22:49
neoflex Wrote:Indeed, my thumbnails folder is on another drive because I share it with several computers. I use a symlink to achieve this. I realize that my case is probably not so common
maybe not, but if it can be fixed that easily, i don't see a reason not to.
will use shutil (dharma) end xbmcvfs (eden) in the next releases.
- kiboy6 - 2011-07-06 11:12
kiboy6 Wrote:That sounds great - although if the option (at script level) to copy and duplicate extrafanart images and merge 1. and 2. above were there, that would be perfection for me.
Just coming back to this question from a little while ago. My extrafanart collection for music is reasonably extensive, so if there were any way to merge these nice HD images with the last.fm slideshow I would jump at it.
Personally, I would have no problem with the extra disk space taken up if this involved duplicating all the extrafanart images. In any case they could be deleted from their original location if they were always used by the last.fm slideshow. It could be a one-off move, as the beauty of the last.fm slideshow solution makes the old extrafanart method somewhat obsolete. It's just a shame to waste all those nice HD images....
Thanks Ronie This script is one of the best new features for me since I started using XBMC.
- kiboy6 - 2011-07-15 07:46
Regarding the above, even if it has no place in the addon itself, do you have any idea what direction I should go in to get a one-off script going to copy those images over as I want?
Further to that:
1.) Bug report
fredphoesh Wrote:Hello Ronie,
I'm still experiencing this problem intermittently with the official v.1 repo release of the script.
Sometimes it works perfectly as intended, but sometimes the same picture(s) of the first played artist will endure throughout a long, multi-artist playlist.
In this debug log the original single last.fm image for Beres Hammond remains displayed throughout the second song (by different artist Etana). During the third song (by a third artist, Voicemail) I pressed tab to exit the visualisation, and then again to re-enter the visualisation.
Here, what happens is interesting. First some more Beres Hammond images start cycling, and then after a minute or so the correct "Voicemail" images start displaying. Any ideas why this is happening? From then on, everything works perfectly.
edit 2 I've noticed something else that may help troubleshoot this. Often when a song starts playing I will press tab to see the visualization. At first I will see the generic music pic, then as soon as an image is downloaded from last.fm I will see that image. However that is then the only image I see until I tab out and back into the visualization. Once back on the visualiztion there are suddenly several images in the slideshow. If another artist starts playing and I don't cycle the visualization on/off as above, the playlist will stay stuck on the first pic. So this seems to be an issue regarding when the slideshow refreshes, not a downloading issue. In any case, I can replicate the bug even when changing to an artist for which there are already cached ArtistSlideshow images
edit - after noticing that with "useddsfanart" advanced setting enabled, all of the slideshow cache images were being converted to .dds, I tried disabling that setting. At first things did seem to be running more smoothly, until after a while I got stuck with Al Green on the slideshow through several artist changes until I closed XBMC. Here's that log
Even when everything is working perfectly, there is one other small flaw in my opinion. When a new artist's songs starts playing, the previous artist's images remain displayed until the first new image is downloaded. This usually happens within 20 seconds or so, but if the network is congested on a crappy connection like mine it can sometimes take much longer. Would there be any chance of reverting to the placeholder generic pic during this interim period?
Cheers Ronie - sorry to bug you, I just can't wait to get this working perfectly on my system
- ronie - 2011-07-18 00:52
kiboy6 Wrote:Regarding the above, even if it has no place in the addon itself, do you have any idea what direction I should go in to get a one-off script going to copy those images over as I want?
afraid not, it depends on if you're using dharma or eden and if your media is stored locally or on a smb share.
eden + smb + python may even be impossible due to the lack of smb support in python.
kiboy6 Wrote:In this debug log the original single last.fm image for Beres Hammond remains displayed throughout the second song (by different artist Etana).
when the script is downloading images, it checks if a new song has started after every downloaded image. what happed is it took over 7 minutes to download some Beres Hammond image. during this time you started (and finished) Etana. so when the Beres Hammond image was finally downloaded, the third song (Voicemail) was already playing and the script starts to download images for that artist.
in case you haven't seen it, this may be an interesting read:
kiboy6 Wrote:edit - after noticing that with "useddsfanart" advanced setting enabled, all of the slideshow cache images were being converted to .dds, I tried disabling that setting. At first things did seem to be running more smoothly, until after a while I got stuck with Al Green on the slideshow through several artist changes until I closed XBMC. Here's that log
i wouldn't worry about xbmc converting your images to dds.
shouldn't have any effect on the script.
kiboy6 Wrote:2. Request:i'll check if i can add an option for that. ;-)