XBMC Community Forum
[RELEASE] Artist Slideshow addon (for skin integration) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Artist Slideshow addon (for skin integration) (/showthread.php?tid=102703)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


- locomot1f - 2011-12-14 16:28

ronie Wrote:you can spare yourself the trouble, polls are about the last thing that could influence my decision on whether to add it or not.

then shall i say, in the development of this plugin, I would like to see this feature supported.

1) It give people who love internet radio a chance to tap into this service.
2) It does not affect the way the original code works.
3) may lead to other discoveries and progression of this lovely plug-in!

Thanks for all your help, Ronie! Big Grin


- Oddsodz - 2011-12-15 11:08

Hey all. Have just had some fun with this addon, And it nice indeed. Works very well. Good job.

I Do have a request (if it is already in then I fail at reading). Is there a way to have a "Fall Back" folder of images in case the addon fails to find any images for the artist that is playing at that time? Or even if you happen to have a "ExtraFanArt" folder in you Artist folder it would fall back to that.

Right now what seems to happen is the addon will just fall back to showing the default image from the skin it's self (in my case the pink headphones lady from Cirrus Extended v2).

Can this be done?

Thanks for reading.

Oddsodz


- ronie - 2011-12-15 18:29

mhdebokx Wrote:Is it possible to make an configurable item in the settings, where artists tag is truncated ? Eg. configured are the words "ft", "pres" and "vs"

The artist tag should be like
name = xbmc.Player().getMusicInfoTag().getArtist()
name = name.rstrip(' ft ')

locomot1f Wrote:then shall i say, in the development of this plugin, I would like to see this feature supported.

1) It give people who love internet radio a chance to tap into this service.
2) It does not affect the way the original code works.
3) may lead to other discoveries and progression of this lovely plug-in!

Thanks for all your help, Ronie! Big Grin

Oddsodz Wrote:Hey all. Have just had some fun with this addon, And it nice indeed. Works very well. Good job.

I Do have a request (if it is already in then I fail at reading). Is there a way to have a "Fall Back" folder of images in case the addon fails to find any images for the artist that is playing at that time? Or even if you happen to have a "ExtraFanArt" folder in you Artist folder it would fall back to that.

Right now what seems to happen is the addon will just fall back to showing the default image from the skin it's self (in my case the pink headphones lady from Cirrus Extended v2).

Can this be done?

Thanks for reading.

Oddsodz

i'll add all of this to my todo list.
once xbmc eden is released, i may find some time to look into it :-)


- spiderlane - 2012-01-05 22:03

Just adding a "me too" to this thread to collate some different set ups experiencing similar issues.

I have installed the script and modded the (Confluence) skin to display the artist images. It works brilliantly at first, but when I move onto a 2nd artist, the first image is displayed, but no others are. However, as described by others, if I go out of full screen and then back again, the slideshow starts and it iterates through a number of images. When the artist changes again, the problem repeats; I get the first artist image and no others until I flick in an out of full screen.

Machine : Apple TV 2
Release : Eden Beta 1
Skin : Confluence.

Happy to help debug/troubleshoot this issue, since it's a great script.

Cheers
Mark


- ronie - 2012-01-07 01:43

spiderlane Wrote:J
Happy to help debug/troubleshoot this issue, since it's a great script.

thanx for the offer... let's start with a debug log then Smile

i'm aware moving out and back to fullscreen triggers the slideshow to update,
but please don't do so when creating the debug log.


- spiderlane - 2012-01-07 11:33

Hi Ronie,

OK, here is the debug log -> http://pastebin.com/pqgLKi4Y

The steps taken were :

1. Start XBMC
2. Go to music, then Party Mode (quickest way to get multiple artists)
3. Go to full screen

What happens is that the first artist image is shown (for Maximo Park) but no more. When the next track comes on (Aaron Neville), the first image for that artist is immediately shown but no more, and then so on for the next track. I can see from the debug log that multiple images are actually downloaded, but they are not displayed.

However after a while something interested started happening : when it got to the track by The Who, the slideshow started (without any intervention from me). I then stopped the playback at this point and took the log.

The first section of the MusicVisualisation.xml are as follows :

Code:
<window id="2006">
        <defaultcontrol>999</defaultcontrol>
        <allowoverlay>no</allowoverlay>
        <controls>
        <control type="button" id="999">
               <posx>-10</posx>
               <posy>-10</posy>
               <width>1</width>
               <height>1</height>
               <onfocus>RunScript(script.artistslideshow)</onfocus>
          </control>
          <control type="multiimage">
               <posx>0</posx>
               <posy>0</posy>
               <width>1280</width>
               <height>720</height>
               <imagepath background="true">$INFO[Window(Visualisation).Property(ArtistSlideshow)]</imagepath>
               <aspectratio>keep</aspectratio>
               <timeperimage>5000</timeperimage>
               <fadetime>2000</fadetime>
               <randomize>true</randomize>
               <animation effect="fade" start="0" end="100" time="300">Visible</animation>
               <animation effect="fade" start="100" end="0" time="300">Hidden</animation>
               <visible>IsEmpty(Window(Visualisation).Property(ArtistSlideshowRefresh))</visible>
          </control>



System details :

XBMC Version - Eden B1 Built on Dec 24 2011 (Git:20111222-22ad8e4)
ATV OS - Darwin iOS (11.0.0 AppleTV2,1, Version 4.3 (Build 8F305))
Skin : Default Confluence with modifications shown above

Hope this helps. If any more information would be of assistance, I'll gladly provide it.

Thanks,
Mark


- ronie - 2012-01-07 22:04

spiderlane Wrote:Hope this helps. If any more information would be of assistance, I'll gladly provide it.

cheers for the log :-)
the images for The Who where previously downloaded, so that will explain why that one did work.

if you could make this change in the script and see if that makes a difference,
in default.py, line 254, replace:
Code:
self.WINDOW.clearProperty("ArtistSlideshow")
with:
Code:
self.WINDOW.setProperty("ArtistSlideshow", xbmc.translatePath('special://profile/addon_data/%s/' %  __addonname__ ))

cheers!


- spiderlane - 2012-01-08 20:36

Hi Ronie

Thanks for the response. I made the edit to default.py as suggested but the behaviour is still the same unfortunately.

Would a new debug log help out at all?

Cheers
Mark


- ronie - 2012-01-08 21:36

spiderlane Wrote:Hi Ronie

Thanks for the response. I made the edit to default.py as suggested but the behaviour is still the same unfortunately.

Would a new debug log help out at all?

Cheers
Mark

nah, debug log wouldn't be any good.

there's one more thing you could try though,
in default.py, line 255, replace:
Code:
time.sleep(0.3)
with:
Code:
time.sleep(3)

let me know if that makes a difference :-)


- spiderlane - 2012-01-13 22:56

Hi Ronie,

Sorry about the long time to get back to you.

OK, so I made the change you suggested and it works! It takes about 40 - 60 seconds when a new artist comes on to start scrolling the images, but it certainly seems to work as expected now.

Excellent. You rock. Smile

Mark

ETA : I'm testing with different artists which won't have been previously downloaded in other tests.