[WIP] Artist Slideshow Script (looking for testers!)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
fredphoesh Offline
Member+
Posts: 213
Joined: Apr 2010
Reputation: 1
Location: South of London North of Brighton
Post: #11
ronie Wrote:hmm...that's not a proper install of T! then.
delete and redownload the skin i'd say.

AHA, I found the 720p folder and it is not in programme files but in
C:\Users\mark\AppData\XBMC\addons\skin.Transparency!

I copied MusicVisualisation.xml to the 720p folder in that path above, and re-installed the zip file script.artistslideshow.zip but still the default 3 visualisations only are visible.

Now past midnight, the wife beckons... sorry for being such a thickhead, but I would very much like to test this for you... so id appreciate any further tips you might have.

till tomorrow, tx
Mark.
find
ronie Offline
Team-XBMC Member
Posts: 8,262
Joined: Jan 2009
Reputation: 108
Post: #12
fredphoesh Wrote:but still the default 3 visualisations only are visible

correct.
this is *not* a visualization.

it's an image slideshow that will be shown on top of the selected (if any) visualization.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
fredphoesh Offline
Member+
Posts: 213
Joined: Apr 2010
Reputation: 1
Location: South of London North of Brighton
Post: #13
ronie Wrote:correct.
this is *not* a visualization.

it's an image slideshow that will be shown on top of the selected (if any) visualization.

YESSSSS
I have it working now... will play with it tomorrow... looks very good so far!
Cheers!
Mark.
find
fredphoesh Offline
Member+
Posts: 213
Joined: Apr 2010
Reputation: 1
Location: South of London North of Brighton
Post: #14
ronie Wrote:divingmule created the excellent Last.FM-SlideShow but it runs as a picture-plugin and can't be used in the visualization window.
so i did a complete re-write of his script in a way that it allows for easy skin integration and can be started automatically when entering the visualization screen.
i've combined it with the ImageCacher script from grajen3, that will cache all the images downloaded from last.fm to your harddrive.

Ronie, this works BRILLIANTLY!
Given that LastFM is much more comprehensive than Fan Art, this is fantastic news for visually inclined music listeners!

I noticed the script works in full screen view only, ie not on the home page, or in the music library browsing (album artist playlist etc) view. I am not sure this is intentional but is not a bad thing for me since I generally use full screen view when wanting fan art in the background anyway.

EDIT: I had found my regular Fan Art was not playing when browsing music, but went to settings, un and re selected visualisaions NONE in Music. Then in Appearance deselected then reselected animated background and fan art and then it worked again... not sure if this did anything but thought i should report it anyway.

Thanks for your excellent contribution!
Mark
(This post was last modified: 2011-05-04 11:02 by fredphoesh.)
find
ronie Offline
Team-XBMC Member
Posts: 8,262
Joined: Jan 2009
Reputation: 108
Post: #15
fredphoesh Wrote:I noticed the script works in full screen view only, ie not on the home page, or in the music library browsing (album artist playlist etc) view. I am not sure this is intentional but is not a bad thing for me since I generally use full screen view when wanting fan art in the background anyway.

currently the slideshow is only shown in the visualization window, but could be used on the home screen or anywhere else in the skin as well.

thanx for the feedback mate!

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
siffredi Offline
Junior Member
Posts: 9
Joined: Feb 2008
Reputation: 0
Post: #16
Ronie, thank you soooo much for this great and much appreciated add-on!!

The script runs great, no crashes so far, but heres an issue I came across:

When I play a song by an artist that has not been played before, the script shows only the first downloaded image until the next song starts. More images are downloaded to the thumbnail folder but not displayed.

Tested with XBMC 10.1 with Confluence Skin on Windows XP.
find
ronie Offline
Team-XBMC Member
Posts: 8,262
Joined: Jan 2009
Reputation: 108
Post: #17
siffredi Wrote:When I play a song by an artist that has not been played before, the script shows only the first downloaded image until the next song starts. More images are downloaded to the thumbnail folder but not displayed.

the first image is shown as soon as it's downloaded and will stay visible while all the other images are downloaded.
as soon as all images are downloaded, the slideshow reloads and all the other images will be shown as well.

what you're experiencing can mean two things:
- the song ended before all images were downloaded (it can take up to a few minutes on low-speed internet connections)
- the slideshow doesn't reload properly (which would mean a script issue)

a logfile would tell me more... ;-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
Sharpe Offline
Skilled Skinner
Posts: 973
Joined: Jul 2006
Reputation: 12
Location: North West England
Post: #18
Ronie - it's working excellently. I originally thought that there was a problem with party mode playlists and the images not updating when the next track started but scratch that it's working fine now. Great job mate.
find
kardesken Offline
Junior Member
Posts: 31
Joined: Feb 2011
Reputation: 0
Post: #19
I just tested this with my win7 and svn T! and everything works great for me so far.
I'm truly impressed of your skills Ronie. Thanks for letting us noobs play with your artwork ;-)

Update: It looks like when I'm manually skipping to next song only the first image shows. After it's finished downloading the rest it all goes black. It only happens to "new" artist (that haven't been played before).

Logfile:
[HTML]20:13:57 T:1820 M:4294967295 NOTICE: script.artistslideshow: new track started before download has finished
20:13:58 T:1820 M:4294967295 NOTICE: script.artistslideshow: playback started
20:13:58 T:1820 M:4294967295 NOTICE: script.artistslideshow: cachedir = C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd
20:13:58 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloading images
20:13:58 T:2768 M:4294967295 INFO: CFileCache::Process - Hit eof.
20:14:00 T:4032 M:4294967295 DEBUG: CImageLoader::DoWork - took 148 ms to load C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\b18ea041\9b​59d476.jpg
20:14:07 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/1256...+anna5.png to C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\24​27771a.png
20:14:07 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded first image
20:14:09 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/1890...mo2_08.png to C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\5e​64cfd5.png
20:14:09 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/1114...heim02.png to C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\ea​0a67f5.png
20:14:09 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/1482...rnheim.jpg to C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\e5​2e17a8.jpg
20:14:10 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/3862...rnheim.jpg to C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\95​a38fa1.jpg
20:14:23 T:3896 M:4294967295 DEBUG: SECTION:UnloadDll(special://xbmcbin/system/libcurl.dll)
20:14:25 T:3896 M:4294967295 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/libid3tag.dll)
20:14:30 T:4032 M:4294967295 DEBUG: Thread Jobworker 4032 terminating (autodelete)
20:14:36 T:4144 M:4294967295 DEBUG: Thread Jobworker 4144 terminating (autodelete)
20:14:37 T:2744 M:4294967295 DEBUG: Thread Jobworker 2744 terminating (autodelete)
20:14:38 T:3896 M:4294967295 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
20:14:58 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/3051...+Promo.png to

C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\12​9b45d8.png
20:15:00 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/1890...mo3_08.png to

Edit: cut away many more pictures..

C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\95​c00f2b.png
C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\69​d7802a.jpg
20:15:20 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/1755...rnheim.jpg to C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\96​b61ced.jpg
20:15:21 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloaded http://userserve-ak.last.fm/serve/_/1580...rnheim.jpg to C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd\ca​f30148.jpg
20:15:21 T:1820 M:4294967295 NOTICE: script.artistslideshow: finished downloaded images
20:15:21 T:1820 M:4294967295 NOTICE: script.artistslideshow: playback started
20:15:21 T:1820 M:4294967295 NOTICE: script.artistslideshow: cachedir = C:\Users\..\AppData\Roaming\XBMC\userdata\Thumbnails\ArtistSlideshow\75b453bd
20:15:21 T:1820 M:4294967295 NOTICE: script.artistslideshow: cached images found
20:15:21 T:1820 M:4294967295 NOTICE: script.artistslideshow: downloading images
20:15:45 T:3896 M:4294967295 DEBUG: SDLKeyboard: scancode: 0e, sym: 0008, unicode: 0008, modifier: 0
20:15:45 T:3896 M:4294967295 DEBUG: CApplication::OnKey: backspace (f008) pressed, action is ParentDir
20:15:46 T:3896 M:4294967295 DEBUG: SDLKeyboard: scancode: 0e, sym: 0008, unicode: 0008, modifier: 0
20:15:46 T:3896 M:4294967295 DEBUG: CApplication::OnKey: backspace (f008) pressed, action is ParentDir
20:15:47 T:3896 M:4294967295 DEBUG: ------ Window Init (MusicOSD.xml) ------
20:15:47 T:3896 M:4294967295 INFO: Loading skin file: MusicOSD.xml
20:15:47 T:3896 M:4294967295 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib.dll)
20:15:47 T:3896 M:4294967295 DEBUG: ------ Window Init (MusicOverlay.xml) ------
20:15:47 T:3896 M:4294967295 INFO: Loading skin file: MusicOverlay.xml
20:15:51 T:3896 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : Translating PlayerControl(Stop)
20:15:51 T:3896 M:4294967295 DEBUG: CApplication::ExecuteXBMCAction : To PlayerControl(Stop)
20:15:51 T:1848 M:4294967295 INFO: PAPlayer: End of playback reached
20:15:51 T:1848 M:4294967295 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
20:15:51 T:1848 M:4294967295 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message PlaybackStopped
20:15:51 T:1848 M:4294967295 DEBUG: PAPlayer: Thread end
20:15:51 T:1848 M:4294967295 DEBUG: Thread PAPlayer 1848 terminating
20:15:51 T:3896 M:4294967295 DEBUG: CWin32DirectSound::Deinitialize: Cleaning up
20:15:51 T:2768 M:4294967295 DEBUG: Thread XFILE::CFileCache 2768 terminating
20:15:51 T:3896 M:4294967295 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
20:15:51 T:3896 M:4294967295 DEBUG: ------ Window Deinit (MusicOSD.xml) ------
20:15:51 T:3896 M:4294967295 DEBUG: ------ Window Deinit (MusicVisualisation.xml) ------
20:15:51 T:3896 M:4294967295 DEBUG: ------ Window Deinit (MusicOverlay.xml) ------
20:15:52 T:1820 M:4294967295 NOTICE: script.artistslideshow: no images downloaded
20:15:53 T:3896 M:4294967295 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
20:15:53 T:3896 M:4294967295 DEBUG: ------ Window Init (MyMusicPlaylist.xml) ------
20:15:53 T:3896 M:4294967295 INFO: Loading skin file: MyMusicPlaylist.xml
20:15:53 T:3896 M:4294967295 DEBUG: CGUIMediaWindow::GetDirectory (playlistmusic://)
20:15:53 T:3896 M:4294967295 DEBUG: ParentPath = [playlistmusic://]
20:15:53 T:1832 M:4294967295 DEBUG: Thread Background Loader start, auto delete: 0
20:15:53 T:3896 M:4294967295 INFO: PARTY MODE MANAGER: Party mode disabled.
20:15:53 T:3660 M:4294967295 DEBUG: Thread CJobWorker start, auto delete: 1
20:15:53 T:1832 M:4294967295 DEBUG: Thread Background Loader 1832 terminating
20:15:53 T:268 M:4294967295 DEBUG: Thread CJobWorker start, auto delete: 1
20:15:53 T:3896 M:4294967295 DEBUG: CGUIMediaWindow::GetDirectory (playlistmusic://)
20:15:53 T:3896 M:4294967295 DEBUG: ParentPath = [playlistmusic://]
20:15:53 T:1852 M:4294967295 DEBUG: Thread Background Loader start, auto delete: 0
20:15:53 T:268 M:4294967295 DEBUG: CSaveFileStateJob::DoWork - Saving file state for audio item J:\Musikk\Anna Ternheim\Leaving On A Mayday\01-what_have_i_done.mp3
20:15:53 T:1852 M:4294967295 DEBUG: Thread Background Loader 1852 terminating
20:15:54 T:1820 M:4294967295 NOTICE: script.artistslideshow: playback started
20:15:54 T:1820 M:4294967295 NOTICE: script.artistslideshow: no music playing
20:15:54 T:1820 M:4294967295 NOTICE: script.artistslideshow: playback started
20:15:54 T:1820 M:4294967295 NOTICE: script.artistslideshow: no music playing
20:15:54 T:1820 M:4294967295 NOTICE: script.artistslideshow: playback stopped
20:15:54 T:1820 M:4294967295 NOTICE: script.artistslideshow: script stopped
20:15:54 T:1820 M:4294967295 INFO: Scriptresult: Success
20:15:54 T:1820 M:4294967295 INFO: Python script stopped
20:15:54 T:1820 M:4294967295 DEBUG: Thread Python Thread 1820 terminating
20:15:54 T:3896 M:4294967295 DEBUG: waiting for python thread 2 to stop
20:15:54 T:3896 M:4294967295 DEBUG: python thread 2 destructed
20:15:55 T:3896 M:4294967295 DEBUG: SDLKeyboard: scancode: 0e, sym: 0008, unicode: 0008, modifier: 0
[/HTML]
(This post was last modified: 2011-05-04 20:36 by kardesken.)
find
ronie Offline
Team-XBMC Member
Posts: 8,262
Joined: Jan 2009
Reputation: 108
Post: #20
kardesken Wrote:Update: It looks like when I'm manually skipping to next song only the first image shows. After it's finished downloading the rest it all goes black. It only happens to "new" artist (that haven't been played before).

thanx a bunch for the detailed bug report!
i was able to reproduce it.

should be fixed in beta 2:script.artistslideshow.zip

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
Thread Closed