Release Artist Slideshow addon (with skin and addon integration)
#14
@pkscuot

I've added code to see what track is playing and what album that track is on, then download album name and image..
But I'm not happy about how i made '_set_properties' work...
It should only be one name and one image... now it's in an array. (think that's what's it called?)

have a look in my GitHub

edit:
now I use this...
Code:
for count, item in enumerate( self.currentalbum ):
self.WINDOW.setProperty("ArtistSlideshow.%d.currentAlbumName" % ( count + 1 ), item[0])
self.WINDOW.setProperty("ArtistSlideshow.%d.currentAlbumThumb" % ( count + 1 ), item[1])

but would like to have it like this...
Code:
self.WINDOW.setProperty("ArtistSlideshow.CurrentAlbumName", self.currentalbum[0,0])
self.WINDOW.setProperty("ArtistSlideshow.CurrentAlbumThumb", self.currentalbum[0,1])

but I don't know how to write the code...??
Reply


Messages In This Thread
New Test Version Available - by pkscout - 2012-03-08, 16:26
[No subject] - by mardup - 2012-03-10, 12:26
[No subject] - by pkscout - 2012-03-11, 01:35
RE: - by mardup - 2012-03-12, 17:50
RE: - by pkscout - 2012-03-13, 03:22
RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - by NisseDILLIGAF - 2012-03-15, 15:26
New Beta Version for Testing - by pkscout - 2012-07-13, 17:54
New Beta Version for Testing - by pkscout - 2012-07-14, 22:50
Pull Request for v1.4 Submitted - by pkscout - 2012-07-20, 23:01
New Beta Version for Testing - by pkscout - 2012-08-10, 03:18
New Frodo BETA Support Files - by pkscout - 2012-11-21, 06:20
New 2.0.0 Beta Coming Soon - by pkscout - 2016-05-12, 02:54
Writing tips - by Parkerbup - 2017-02-03, 14:56
Add-on Artist Slideshow - by jo26 - 2014-08-08, 22:58
Logout Mark Read Team Forum Stats Members Help
Artist Slideshow addon (with skin and addon integration)5