Kodi Community Forum
Release Artist Slideshow addon (with skin and addon integration) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release Artist Slideshow addon (with skin and addon integration) (/showthread.php?tid=124880)



RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - JohnyBee - 2016-12-15

(2016-12-15, 02:31)pkscout Wrote:
(2016-12-13, 13:59)JohnyBee Wrote: If in the track is more artist separated by (' feat. ',' Feat. ',' Feat ',' feat ',' ft ',' ft. ',' Ft ',' Ft. '.......), AS dosnt delete "space" at the begging and at the end of artists name

I'm not able to reproduce this, but I think it may have to do with the specific way my song titles are setup. I think I see where the issue could crop up though. Can you open up default.py and replace line 412 with this:
Code:
artists_info.append( (artist_name.strip(), self._get_musicbrainz_id( artist_name, mbid )) )

I added a strip() call to the artist_name string right before it's stored, and I think that should take care of your issue. If it does, I can push the change out.

Hi Smile
Code:
artists_info.append( (artist_name.strip(), self._get_musicbrainz_id( artist_name, mbid )) )
not working for me Sad

line 881 in default.py
Code:
return response.replace('ft.',' / ').replace('feat.',' / ').split(' / ')
This command does not remove the old spaces (space after the first and before the second artist).

this code:
Code:
return response.replace(' feat. ', ' / ').replace(' Feat. ', ' / ').replace(' Feat ', ' / ').replace(' feat ', ' / ').replace(' ft ', ' / ').replace(' ft. ', ' / ').replace(' Ft ', ' / ').replace(' Ft. ', ' / ').split(' / ')
working for me Blush

Can you add additional separator for artists? (' feat. ',' Feat. ',' Feat ',' feat ',' ft ',' ft. ',' Ft ',' Ft. ').
Functions:
line 439
Code:
def _get_featured_artists( self, data ):
and line 880
Code:
def _split_artists( self, response):

I would be very pleased.
Thanks Smile


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Beranmuden - 2016-12-16

Hello there,

First of all, thank you for a wonderful addon! I've been using it for some time now in combination with the default confluence skin.

Recently I've upgraded to Jarvis and I switched to the Xonfluence skin, a modded Confluence.
Ever since though, I cannot seem to get Artist Slideshow working. For all I know it could be a skin setting, but I've been through most of them already.

Since you probably would be wanting some logs in order to investigate my issue, here it is.
For readability I've edited a ton of lines that are getting repeated, so hopefully it's something that might show a clue to what is wrong.

Starting the playback and showing the log:
Code:
11:43:03 124.932671 T:1956180912   DEBUG: Loading settings for smb://Server/Goldspot/01 Tally Of The Yes Men/01 Goldspot - Rewind.mp3
11:43:03 124.934616 T:1956180912   DEBUG: CPlayerCoreFactory::GetPlayers(smb://Server/Goldspot/01 Tally Of The Yes Men/01 Goldspot - Rewind.mp3)

Following lines get repeated several times:
Code:
11:43:04 125.216660 T:1956180912   DEBUG: LoadMusicTag: loading tag information for file: smb://Server/Goldspot/0       1 Tally Of The Yes Men/02 Goldspot - Cusp.mp3
11:43:04 125.219917 T:1956180912   DEBUG: CSMBFile::Open - opened smb://Server/Goldspot/01 Tally Of The Yes Men/0       2 Goldspot - Cusp.mp3, fd=10001
11:43:04 125.240143 T:1956180912   DEBUG: unrecognized ID3 frame detected: MCDI
11:43:04 125.240486 T:1956180912   DEBUG: unrecognized ID3 frame detected: TLEN
11:43:04 125.240753 T:1956180912   DEBUG: CSMBFile::Close closing fd 10001
11:43:04 125.282417 T:1956180912   DEBUG: LoadMusicTag: loading tag information for file: smb://Server/Goldspot/0       1 Tally Of The Yes Men/06 Goldspot - It's Getting Old.mp3

Followed by:
Code:
11:43:04 125.501869 T:1956180912   DEBUG: CSMBFile::Close closing fd 10001
11:43:04 125.540924 T:1956180912   DEBUG: ------ Window Init (CustomAutoMusicViz_2122.xml) ------
11:43:04 125.541122 T:1956180912    INFO: Loading skin file: CustomAutoMusicViz_2122.xml, load type: KEEP_IN_MEMORY
11:43:04 125.549431 T:1956180912   DEBUG: Activating window ID: 12006
11:43:04 125.588593 T:1956180912   DEBUG: ------ Window Deinit (Home.xml) ------
11:43:04 125.596313 T:1956180912   DEBUG: ------ Window Init (MusicVisualisation.xml) ------
11:43:04 125.596588 T:1956180912    INFO: Loading skin file: MusicVisualisation.xml, load type: KEEP_IN_MEMORY
11:43:05 126.343262 T:1502606320   DEBUG: webserver: request received for /jsonrpc
11:43:05 126.409477 T:1956180912   DEBUG: CGUIInfoManager::SetCurrentSong(smb://Server/Goldspot/01 Tally Of The Y       es Men/01 Goldspot - Rewind.mp3)
11:43:05 126.420212 T:1956180912   DEBUG: LoadMusicTag: loading tag information for file: smb://Server/Goldspot/0       1 Tally Of The Yes Men/01 Goldspot - Rewind.mp3
11:43:05 126.421982 T:1502606320   DEBUG: webserver: request received for /jsonrpc
11:43:05 126.423660 T:1956180912   DEBUG: CSMBFile::Open - opened smb://Server/Goldspot/01 Tally Of The Yes Men/0       1 Goldspot - Rewind.mp3, fd=10001
11:43:05 126.443443 T:1956180912   DEBUG: unrecognized ID3 frame detected: MCDI
11:43:05 126.443741 T:1956180912   DEBUG: unrecognized ID3 frame detected: TLEN
11:43:05 126.509483 T:1956180912   DEBUG: CSMBFile::Close closing fd 10001
11:43:05 126.510529 T:1956180912   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
11:43:05 126.510757 T:1956180912   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
11:43:05 126.514091 T:1636824048   DEBUG: Thread JobWorker start, auto delete: true
11:43:05 126.521873 T:1636824048   DEBUG: GetImageHash - unable to stat url smb://Server/Goldspot/01 Tally Of The        Yes Men/cdart.png
11:43:05 126.556641 T:1636824048   DEBUG: GetImageHash - unable to stat url smb://Server/Goldspot/01 Tally Of The        Yes Men/../logo.png
11:43:06 128.032898 T:1653601264   DEBUG: [Artist Slideshow] starting with the following artists
11:43:06 128.033630 T:1653601264   DEBUG: [Artist Slideshow] [u'Goldspot']
11:43:06 128.034042 T:1653601264   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:43:06 128.034286 T:1653601264   DEBUG: [Artist Slideshow] left with
11:43:06 128.034607 T:1653601264   DEBUG: [Artist Slideshow] [u'Goldspot']
11:43:06 128.035370 T:1653601264   DEBUG: [Artist Slideshow] Looking for a musicbrainz ID for artist Goldspot
11:43:06 128.035873 T:1653601264   DEBUG: [Artist Slideshow] Looking for musicbrainz ID in the musicbrainz.nfo file
11:43:06 128.038635 T:1653601264   DEBUG: [Artist Slideshow] checking for /home/osmc/.kodi/userdata/addon_data/script.artistslidesh       ow/ArtistInformation/32434a62/
11:43:06 128.038895 T:1653601264   DEBUG: [Artist Slideshow] /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/ArtistInfo       rmation/32434a62/ exists
11:43:06 128.040359 T:1653601264   DEBUG: [Artist Slideshow] no musicbrainz.nfo file found
11:43:06 128.040802 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow set to /home/osmc/.kodi/addons/script.artistslideshow/       resources/transparent
11:43:06 128.043152 T:1502606320   DEBUG: webserver: request received for /jsonrpc
11:43:06 128.052643 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.ArtistBiography set to
11:43:06 128.053207 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.1.SimilarName set to
11:43:06 128.053482 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.1.SimilarThumb set to
11:43:06 128.053848 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.1.AlbumName set to
11:43:06 128.054108 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.1.AlbumThumb set to
11:43:06 128.054306 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.2.SimilarName set to
11:43:06 128.054504 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.2.SimilarThumb set to
11:43:06 128.054703 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.2.AlbumName set to
11:43:06 128.054901 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.2.AlbumThumb set to
11:43:06 128.055130 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.3.SimilarName set to
11:43:06 128.056000 T:1690301424   DEBUG: [Artist Slideshow] starting with the following artists
11:43:06 128.056183 T:1690301424   DEBUG: [Artist Slideshow] [u'Goldspot']
11:43:06 128.056320 T:1690301424   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:43:06 128.056442 T:1690301424   DEBUG: [Artist Slideshow] left with
11:43:06 128.056564 T:1690301424   DEBUG: [Artist Slideshow] [u'Goldspot']
11:43:06 128.056747 T:1690301424   DEBUG: [Artist Slideshow] Looking for a musicbrainz ID for artist Goldspot
11:43:06 128.056870 T:1690301424   DEBUG: [Artist Slideshow] Looking for musicbrainz ID in the musicbrainz.nfo file
11:43:06 128.057358 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.3.SimilarThumb set to
11:43:06 128.057693 T:1690301424   DEBUG: [Artist Slideshow] checking for /home/osmc/.kodi/userdata/addon_data/script.artistslidesh       ow/ArtistInformation/32434a62/
11:43:06 128.057846 T:1690301424   DEBUG: [Artist Slideshow] /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/ArtistInfo       rmation/32434a62/ exists
11:43:06 128.058105 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.3.AlbumName set to
11:43:06 128.058319 T:1690301424   DEBUG: [Artist Slideshow] no musicbrainz.nfo file found
11:43:06 128.058548 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.3.AlbumThumb set to
11:43:06 128.058731 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.4.SimilarName set to
11:43:06 128.058899 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.4.SimilarThumb set to
11:43:06 128.059113 T:1690301424   DEBUG: [Artist Slideshow] ArtistSlideshow set to /home/osmc/.kodi/addons/script.artistslideshow/       resources/transparent
11:43:06 128.061890 T:1502606320   DEBUG: webserver: request received for /jsonrpc

Lot of these, with more various numbers after "ArtistSlideshow.":
Code:
11:43:07 128.174301 T:1690301424   DEBUG: [Artist Slideshow] ArtistSlideshow.35.SimilarThumb set to
11:43:07 128.174469 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.46.SimilarThumb set to
11:43:07 128.174637 T:1690301424   DEBUG: [Artist Slideshow] ArtistSlideshow.35.AlbumName set to
11:43:07 128.174805 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.46.AlbumName set to
11:43:07 128.174973 T:1690301424   DEBUG: [Artist Slideshow] ArtistSlideshow.35.AlbumThumb set to
11:43:07 128.175125 T:1653601264   DEBUG: [Artist Slideshow] ArtistSlideshow.46.AlbumThumb set to

Then the artist seems to be found:
Code:
11:43:07 128.189362 T:1653601264   DEBUG: [Artist Slideshow] starting with the following artists
11:43:07 128.189529 T:1653601264   DEBUG: [Artist Slideshow] [u'Goldspot']
11:43:07 128.189667 T:1653601264   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:43:07 128.189789 T:1653601264   DEBUG: [Artist Slideshow] left with
11:43:07 128.189911 T:1653601264   DEBUG: [Artist Slideshow] [u'Goldspot']

11:53:23 744.681274 T:1653601264   DEBUG: [Artist Slideshow] starting with the following artists
11:53:23 744.681519 T:1653601264   DEBUG: [Artist Slideshow] [u'Goldspot']
11:53:23 744.681641 T:1653601264   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:53:23 744.681763 T:1653601264   DEBUG: [Artist Slideshow] left with
11:53:23 744.681946 T:1653601264   DEBUG: [Artist Slideshow] [u'Goldspot']
11:53:23 744.682129 T:1653601264   DEBUG: [Artist Slideshow] Looking for a musicbrainz ID for artist Goldspot
11:53:23 744.682251 T:1653601264   DEBUG: [Artist Slideshow] Looking for musicbrainz ID in the musicbrainz.nfo file
11:53:23 744.684143 T:1653601264   DEBUG: [Artist Slideshow] checking for /home/osmc/.kodi/userdata/addon_data/script.artistslidesh       ow/ArtistInformation/32434a62/
11:53:23 744.684387 T:1653601264   DEBUG: [Artist Slideshow] /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/ArtistInfo       rmation/32434a62/ exists
11:53:23 744.685486 T:1690301424   DEBUG: [Artist Slideshow] starting with the following artists
11:53:23 744.685730 T:1690301424   DEBUG: [Artist Slideshow] [u'Goldspot']
11:53:23 744.685852 T:1690301424   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:53:23 744.685974 T:1690301424   DEBUG: [Artist Slideshow] left with
11:53:23 744.686096 T:1690301424   DEBUG: [Artist Slideshow] [u'Goldspot']
11:53:23 744.686279 T:1690301424   DEBUG: [Artist Slideshow] Looking for a musicbrainz ID for artist Goldspot
11:53:23 744.686401 T:1690301424   DEBUG: [Artist Slideshow] Looking for musicbrainz ID in the musicbrainz.nfo file
11:53:23 744.686829 T:1653601264   DEBUG: [Artist Slideshow] no musicbrainz.nfo file found
11:53:23 744.687134 T:1690301424   DEBUG: [Artist Slideshow] checking for /home/osmc/.kodi/userdata/addon_data/script.artistslidesh       ow/ArtistInformation/32434a62/
11:53:23 744.687317 T:1690301424   DEBUG: [Artist Slideshow] /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/ArtistInfo       rmation/32434a62/ exists
11:53:23 744.687561 T:1690301424   DEBUG: [Artist Slideshow] no musicbrainz.nfo file found

No Artist Slideshow is being shown.
Since the log gives an error about the missing "musicbrainz.nfo file", I've addes the tags with MusicBrains Picard to a couple of my MP3 files.

The following logs are a result of this:

Code:
11:59:27 1108.915649 T:1690301424   DEBUG: [Artist Slideshow] starting with the following artists
11:59:27 1108.916016 T:1690301424   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:27 1108.916138 T:1690301424   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:59:27 1108.916382 T:1690301424   DEBUG: [Artist Slideshow] left with
11:59:27 1108.916504 T:1690301424   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:27 1108.917847 T:1690301424   DEBUG: [Artist Slideshow] the url to check is http://media.theaudiodb.com/images/media/artist/fanart/usttrv1356783576.jpg
11:59:27 1108.918823 T:1690301424   DEBUG: [Artist Slideshow] starting with the following artists
11:59:27 1108.918945 T:1690301424   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:27 1108.919189 T:1690301424   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:59:27 1108.919312 T:1690301424   DEBUG: [Artist Slideshow] left with
11:59:27 1108.919434 T:1690301424   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:27 1108.929077 T:1690301424   DEBUG: [Artist Slideshow] the tmpname is /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/temp/bacfd023.tbn
11:59:27 1108.930664 T:1653601264   DEBUG: [Artist Slideshow] starting with the following artists
11:59:27 1108.930908 T:1653601264   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:27 1108.931152 T:1653601264   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:59:27 1108.933472 T:1653601264   DEBUG: [Artist Slideshow] left with
11:59:27 1108.933716 T:1653601264   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:27 1109.036743 T:1690301424   DEBUG: [Artist Slideshow] the url is: http://media.theaudiodb.com/images/media/artist/fanart/usttrv1356783576.jpg
11:59:27 1109.037109 T:1690301424   DEBUG: [Artist Slideshow] the params are:
11:59:27 1109.037354 T:1690301424   DEBUG: [Artist Slideshow] {}
11:59:27 1109.037476 T:1690301424   DEBUG: [Artist Slideshow] the data are:
11:59:27 1109.037598 T:1690301424   DEBUG: [Artist Slideshow] returning URL as binary
11:59:27 1109.037720 T:1690301424   DEBUG: [Artist Slideshow] -----URL OBJECT RETURNED-----
11:59:27 1109.039307 T:1690301424   DEBUG: [Artist Slideshow] unable to output logline
11:59:27 1109.039551 T:1690301424   DEBUG: [Artist Slideshow] argument 1 must be string without null bytes, not str
11:59:27 1109.041382 T:1653601264   DEBUG: [Artist Slideshow] starting with the following artists
11:59:27 1109.042114 T:1653601264   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:27 1109.042480 T:1653601264   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:59:27 1109.042725 T:1653601264   DEBUG: [Artist Slideshow] left with
11:59:27 1109.042969 T:1653601264   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:27 1109.049438 T:1690301424   DEBUG: [Artist Slideshow] successfuly wrote data to /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/temp/bacfd023.tbn
11:59:27 1109.050659 T:1690301424   DEBUG: [Artist Slideshow] copying /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/temp/bacfd023.tbn to /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/transition/bacfd023.jpg
11:59:27 1109.055054 T:1690301424   DEBUG: [Artist Slideshow] moving /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/temp/bacfd023.tbn to /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/ArtistSlideshow/f5cffcd5/bacfd023.jpg
11:59:27 1109.056519 T:1690301424   DEBUG: [Artist Slideshow] downloaded http://media.theaudiodb.com/images/media/artist/fanart/usttrv1356783576.jpg to /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/ArtistSlideshow/f5cffcd5/bacfd023

And the final part:
Code:
11:59:28 1109.148315 T:1653601264   DEBUG: [Artist Slideshow] starting with the following artists
11:59:28 1109.148682 T:1653601264   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:28 1109.148926 T:1653601264   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:59:28 1109.149170 T:1653601264   DEBUG: [Artist Slideshow] left with
11:59:28 1109.149292 T:1653601264   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:28 1109.183472 T:1690301424   DEBUG: [Artist Slideshow] the url is: http://media.theaudiodb.com/images/media/artist/fanart/uqxqyt1356783592.jpg
11:59:28 1109.210693 T:1690301424   DEBUG: [Artist Slideshow] the params are:
11:59:28 1109.211060 T:1690301424   DEBUG: [Artist Slideshow] {}
11:59:28 1109.211182 T:1690301424   DEBUG: [Artist Slideshow] the data are:
11:59:28 1109.211426 T:1690301424   DEBUG: [Artist Slideshow] returning URL as binary
11:59:28 1109.211548 T:1690301424   DEBUG: [Artist Slideshow] -----URL OBJECT RETURNED-----
11:59:28 1109.213257 T:1690301424   DEBUG: [Artist Slideshow] unable to output logline
11:59:28 1109.213501 T:1690301424   DEBUG: [Artist Slideshow] argument 1 must be string without null bytes, not str
11:59:28 1109.217773 T:1690301424   DEBUG: [Artist Slideshow] successfuly wrote data to /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/temp/e67eae5f.tbn
11:59:28 1109.218750 T:1690301424   DEBUG: [Artist Slideshow] copying /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/temp/e67eae5f.tbn to /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/transition/e67eae5f.jpg
11:59:28 1109.226440 T:1690301424   DEBUG: [Artist Slideshow] moving /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/temp/e67eae5f.tbn to /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/ArtistSlideshow/f5cffcd5/e67eae5f.jpg
11:59:28 1109.228394 T:1690301424   DEBUG: [Artist Slideshow] downloaded http://media.theaudiodb.com/images/media/artist/fanart/uqxqyt1356783592.jpg to /home/osmc/.kodi/userdata/addon_data/script.artistslideshow/ArtistSlideshow/f5cffcd5/e67eae5f
11:59:28 1109.229980 T:1690301424   DEBUG: [Artist Slideshow] starting with the following artists
11:59:28 1109.230347 T:1690301424   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:28 1109.230591 T:1690301424   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:59:28 1109.230713 T:1690301424   DEBUG: [Artist Slideshow] left with
11:59:28 1109.230835 T:1690301424   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:28 1109.233154 T:1690301424   DEBUG: [Artist Slideshow] finished downloading images
11:59:28 1109.234497 T:1690301424   DEBUG: [Artist Slideshow] starting with the following artists
11:59:28 1109.234619 T:1690301424   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:28 1109.234741 T:1690301424   DEBUG: [Artist Slideshow] disable multi artist is set to false
11:59:28 1109.234863 T:1690301424   DEBUG: [Artist Slideshow] left with
11:59:28 1109.234985 T:1690301424   DEBUG: [Artist Slideshow] [u'Alien Ant Farm']
11:59:28 1109.236206 T:1690301424   DEBUG: [Artist Slideshow] cleaning up from refreshing slideshow

If someone can help me with the issue described, please let me know!

Thanks in advance,

BM


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2016-12-17

(2016-12-15, 12:39)JohnyBee Wrote:
Code:
artists_info.append( (artist_name.strip(), self._get_musicbrainz_id( artist_name, mbid )) )
not working for me Sad

line 881 in default.py
Code:
return response.replace('ft.',' / ').replace('feat.',' / ').split(' / ')
This command does not remove the old spaces (space after the first and before the second artist).

this code:
Code:
return response.replace(' feat. ', ' / ').replace(' Feat. ', ' / ').replace(' Feat ', ' / ').replace(' feat ', ' / ').replace(' ft ', ' / ').replace(' ft. ', ' / ').replace(' Ft ', ' / ').replace(' Ft. ', ' / ').split(' / ')
working for me Blush

Can you add additional separator for artists? (' feat. ',' Feat. ',' Feat ',' feat ',' ft ',' ft. ',' Ft ',' Ft. ').
Functions:
line 439
Code:
def _get_featured_artists( self, data ):
and line 880
Code:
def _split_artists( self, response):

I would be very pleased.
Thanks Smile

I'll have to look at this some more. Unfortunately, your fix will break the case where the song title has Song Name (feat. Artist) which is very common with the iTunes and Amazon stores. First step is to try and reproduce the error here, then I'll start looking at fixes. I'm about to go on vacation, so that either means I'll have lots of time to look at this or no time. Not sure which one yet. Wink


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2016-12-17

(2016-12-16, 15:19)Beranmuden Wrote: Recently I've upgraded to Jarvis and I switched to the Xonfluence skin, a modded Confluence.
Ever since though, I cannot seem to get Artist Slideshow working. For all I know it could be a skin setting, but I've been through most of them already.

First, do you know for a fact that Xonfluence supports AS? If it doesn't, then there is nothing to be done except modify the skin yourself or find one that does.

If Xonfuence does support AS, then I would want to see a complete log file, not snippets. In every case you posted you didn't show the part of the log that might have let me help you. You can paste an entire log to something like pastebin and then post a link to it here.


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Beranmuden - 2016-12-17

(2016-12-17, 02:12)pkscout Wrote: First, do you know for a fact that Xonfluence supports AS? If it doesn't, then there is nothing to be done except modify the skin yourself or find one that does.

Actually I don't. And I also haven' t found a real answer to that question yet.
I kinda assumed it should work, because it' s based on the Confluence skin, which IS compatible with AS.
Several users, including me, have asked about this issue on the Xonfluence forum part as well, alas no answer there.

Maybe it's more likely my assumption was wrong, and that Xonfluence doesn't support AS.
Which is a shame, I really enjoy the Slideshow, but the skin is the part I use for the most time.
Thank you very much for your quick answer and your assistance!
And keep up the good work!


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - Beranmuden - 2016-12-17

Well a quick update here. I can confirm Xonfluence should be able to support AS.
In the System > Skin Settings > Scripts, there is a tab called "Supported addons and scripts.
Here is an option to disable/enable AS. In my case it was allready enabled.

I did however change the option in Skin Settings > General > Global skin options called "Enable background playing media". I enabled this option, and presto, AS is working. I'm not sure if I overlooked this option, or if I tried it before as well.

For now, it' s working again like a charm.

Thanks a buch and regards,

BM


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2016-12-19

Estuary MOD with AS support Available

For those of you running Kodi 17 with the 2.0 Estuary (I think that means beta 6 or later), I now have a mod of that skin that has basic support for AS. By basic I mean it will show the background artist images, but none of the artist bio information and such). Please see the AS wiki entry for information on downloading my skin mod repo. You can get the Estuary mod from there.

This mod also lets you disable widgets on the home screen (for Movies, TV Shows, Music, Live TV, and Add-ons). You can also swap the Movie and TV Show order so TV Shows is first and enable an option to have the Music Visualization activated when you start playing music.

This mod has very, very, very limited support. I will add the AS bio stuff at some point, and I'll try and keep it up to date with the production version of Estuary.


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - hoschilo - 2016-12-22

update: ok got it, it is the missing MBID - that leads me to the question whether it would be possible to generate the MBID on the spot (query MB database) and use it to[/code] query the Fanart.tv database.

I'm using googlemusic.exp. AS does not download any fanart from fanart.tv
. Is this because the music from google does not have the Musicbrainz ID

[code]
12:57:19 T:6540 DEBUG: [Artist Slideshow] checking fanarttv for images
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: HTTP/1.1 200 OK
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Date: Thu, 22 Dec 2016 11:57:20 GMT
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Content-Type: image/jpeg
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Content-Length: 695048
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Connection: keep-alive
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Last-Modified: Thu, 08 May 2014 22:04:59 GMT
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Expires: Fri, 15 Sep 2017 09:40:18 GMT
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Cache-Control: max-age=31536000
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: X-Varnish: 1030655673 141133881
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Via: 1.1 varnish-v4
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: X-Varnish: 428900450 52037677
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Age: 8475422
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Via: 1.1 varnish-v4
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Accept-Ranges: bytes
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: Server: cloudflare-nginx
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_IN: CF-RAY: 3153654bc10e3e98-ZRH
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - TEXT: Connection #0 to host assets.fanart.tv left intact
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - TEXT: Found bundle for host assets.fanart.tv: 0xc93fc40
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - TEXT: Re-using existing connection! (#0) with host assets.fanart.tv
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - TEXT: Connected to assets.fanart.tv (2400:cb00:2048:1::6819:2723) port 80 (#0)
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_OUT: HEAD /fanart/music/dc99e6fd-c710-4f79-b74b-127b4d0b7849/artistbackground/labrinth-536bff8b95d8b.jpg HTTP/1.1
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_OUT: Host: assets.fanart.tv
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_OUT: User-Agent: Kodi/16.1 (Windows NT 10.0; WOW64) App_Bitness/32 Version/16.1-Git:20160424-c327c53
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_OUT: Accept: */*
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_OUT: Cookie: __cfduid=da531787e82ddc6ee5a861f49e39418911482406513
12:57:19 T:7508 DEBUG: Curl:Big Grinebug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
12:57:19 T:6540 DEBUG: [Artist Slideshow] checking for C:\Users\hoschis nuc\AppData\Roaming\Kodi\userdata\addon_data\script.artistslideshow\ArtistInformation\583dffdc\fanarttvartistimages.nfo
12:57:19 T:6540 DEBUG: [Artist Slideshow] C:\Users\hoschis nuc\AppData\Roaming\Kodi\userdata\addon_data\script.artistslideshow\ArtistInformation\583dffdc\fanarttvartistimages.nfo does not exist
12:57:19 T:6540 DEBUG: [Artist Slideshow] no fanarttv cachetime file found, creating it
12:57:19 T:6540 DEBUG: [Artist Slideshow] [u'successfuly wrote data to C:\\Users\\hoschis nuc\\AppData\\Roaming\\Kodi\\userdata\\addon_data\\script.artistslideshow\\ArtistInformation\\583dffdc\\fanarttvcachetime.nfo']
12:57:19 T:6540 DEBUG: [Artist Slideshow] the url is: http://webservice.fanart.tv/v3/music/?api_key=7a93c84fe1c9999e6f0fec206a66b0f5&client_key=ad4219f08951392faa0c95036b4fcf42
12:57:19 T:6540 DEBUG: [Artist Slideshow] the params are:
12:57:19 T:6540 DEBUG: [Artist Slideshow] {'api_key': '7a93c84fe1c9999e6f0fec206a66b0f5', 'client_key': 'ad4219f08951392faa0c95036b4fcf42'}
12:57:19 T:6540 DEBUG: [Artist Slideshow] the data are:
12:57:19 T:6540 DEBUG: [Artist Slideshow] -----URL OBJECT RETURNED-----
12:57:19 T:6540 DEBUG: [Artist Slideshow] checking for C:\Users\hoschis nuc\AppData\Roaming\Kodi\userdata\addon_data\script.artistslideshow\ArtistInformation\583dffdc\fanarttvartistimages.nfo
12:57:19 T:6540 DEBUG: [Artist Slideshow] C:\Users\hoschis nuc\AppData\Roaming\Kodi\userdata\addon_data\script.artistslideshow\ArtistInformation\583dffdc\fanarttvartistimages.nfo does not exist
12:57:19 T:6540 DEBUG: [Artist Slideshow] no images downloaded
12:57:19 T:6540 DEBUG: [Artist Slideshow] setting slideshow directory to blank directory
12:57:19 T:6540 DEBUG: [Artist Slideshow] ArtistSlideshow set to C:\Users\hoschis nuc\AppData\Roaming\Kodi\addons\script.artistslideshow/resources/black
12:57:19 T:6540 DEBUG: [Artist Slideshow] no remote artist artwork found, looking for local artwork
12:57:19 T:6540 DEBUG: [Artist Slideshow] cachedir = Labrinth\extrafanart
12:57:19 T:6540 DEBUG: [Artist Slideshow] checking Labrinth\extrafanart for artist images
12:57:19 T:6540 ERROR: XFILE::CDirectory::GetDirectory - Error getting Labrinth\extrafanart
12:57:19 T:6540 DEBUG: [Artist Slideshow] current artist is Emeli Sandé with a mbid of
12:57:19 T:6540 DEBUG: [Artist Slideshow] checking for C:\Users\hoschis nuc\AppData\Roaming\Kodi\userdata\addon_data\script.artistslideshow\ArtistInformation\a5f838c4\
12:57:19 T:6540 DEBUG: [Artist Slideshow] C:\Users\hoschis nuc\AppData\Roaming\Kodi\userdata\addon_data\script.artistslideshow\ArtistInformation\a5f838c4\ exists


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2016-12-22

(2016-12-22, 14:24)hoschilo Wrote: update: ok got it, it is the missing MBID - that leads me to the question whether it would be possible to generate the MBID on the spot (query MB database) and use it to[/code] query the Fanart.tv database.

I'm using googlemusic.exp. AS does not download any fanart from fanart.tv
. Is this because the music from google does not have the Musicbrainz ID

The technical answer is, yes, you could get the MBID real time. The practical answer is, no, you can't. MBID returns very fuzzy results when you search on an artists name, so unless you have a way to have the user pick the correct artist, you have to brute force it by trying to them match on album or song name. AS used to do this, but it put such a heavy load on the MBID server that I dropped support for this. So for artists that aren't in your library with a MBID, you're stuck with just theaudiodb.com for images.


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - hoschilo - 2016-12-24

(2016-12-22, 20:17)pkscout Wrote:
(2016-12-22, 14:24)hoschilo Wrote: update: ok got it, it is the missing MBID - that leads me to the question whether it would be possible to generate the MBID on the spot (query MB database) and use it to[/code] query the Fanart.tv database.

I'm using googlemusic.exp. AS does not download any fanart from fanart.tv
. Is this because the music from google does not have the Musicbrainz ID

The technical answer is, yes, you could get the MBID real time. The practical answer is, no, you can't. MBID returns very fuzzy results when you search on an artists name, so unless you have a way to have the user pick the correct artist, you have to brute force it by trying to them match on album or song name. AS used to do this, but it put such a heavy load on the MBID server that I dropped support for this. So for artists that aren't in your library with a MBID, you're stuck with just theaudiodb.com for images.

Ok I see - but maybe there is another way: the MBID is already included in "theaudiodbartistbio.nfo". If you could extract "strMusicBrainzID": "596ffa74-3d08-44ef-b113-765d43d12738" and copy it to the musicbrainz.nfo file there would be no traffic to MB-server at all. What do you think ?


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2016-12-24

(2016-12-24, 02:51)hoschilo Wrote:
(2016-12-22, 20:17)pkscout Wrote:
(2016-12-22, 14:24)hoschilo Wrote: update: ok got it, it is the missing MBID - that leads me to the question whether it would be possible to generate the MBID on the spot (query MB database) and use it to[/code] query the Fanart.tv database.

I'm using googlemusic.exp. AS does not download any fanart from fanart.tv
. Is this because the music from google does not have the Musicbrainz ID

The technical answer is, yes, you could get the MBID real time. The practical answer is, no, you can't. MBID returns very fuzzy results when you search on an artists name, so unless you have a way to have the user pick the correct artist, you have to brute force it by trying to them match on album or song name. AS used to do this, but it put such a heavy load on the MBID server that I dropped support for this. So for artists that aren't in your library with a MBID, you're stuck with just theaudiodb.com for images.

Ok I see - but maybe there is another way: the MBID is already included in "theaudiodbartistbio.nfo". If you could extract "strMusicBrainzID": "596ffa74-3d08-44ef-b113-765d43d12738" and copy it to the musicbrainz.nfo file there would be no traffic to MB-server at all. What do you think ?

That seems doable. Let me take a look and see what I can do. There will be an order of operation issue. theaudiodb will have to be checked as an image source before fanart.tv, or you won't get any fanart.tv images until the next time the artist comes up. That is set in the preferences.


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - hurricane51 - 2016-12-24

(2016-12-03, 22:13)pkscout Wrote:
(2016-12-03, 05:14)hurricane51 Wrote: I have used Artist Slideshow successfully since Eden (?). Certainly since Gotham. After I installed Jarvis (16.1), I get this behavior:

Launch Kodi. Go to Music to see my list of artists

Select an artist and see their albums. Select an album and begin playing (song or complete album -- doesn't matter)

Switch to the visualization window (I call it the "Now Playing" window). I get the default background that appears with a new Kodi installation.

I disable Artist Slideshow. I get a solid black background

I leave the now playing window, then return. I re-enable Artist Slideshow and it works properly for as long as Kodi is running.

When I restart Kodi, the problem returns.

This also happens when I play internet radio..

I'd need a debug log to help any. Make sure you enable BOTH debug logging in Kodi AND the debug logging in AS (via the advanced panel in the settings).

Where does AS store its log? Also, where do I send these files for you to access? Thanks.


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - nono123 - 2016-12-24

Hi,

I use AS for my music-library, and that work great !! and i get a lot of artist images.

But when i play streaming music (radio) i only get 2 image for 1 artist/band.

My specs:
-Rpi3
-Openelec
-MQ aeon7

I already read in this thread AS have no limit for images, so i thing i missing something?
Or maybe can it be skin thing?

EDIT: logfile = https://nono123.home.xs4all.nl/kodi.log

Thanks, NoNo


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2016-12-24

(2016-12-24, 06:31)hurricane51 Wrote: Where does AS store its log? Also, where do I send these files for you to access? Thanks.

AS writes its log information to the main Kodi log.


RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - pkscout - 2016-12-24

(2016-12-24, 14:55)nono123 Wrote: But when i play streaming music (radio) i only get 2 image for 1 artist/band.

Fanart.tv requires a MusicBrainz ID for an artist to get any images, and with streaming services you don't get that. With the current shipping version of AS that means you are restricted to theaudiodb.com for images, and they usually have two or three.

I did push a new beta (2.04~beta2) to my beta repo yesterday that should resolve that (thanks to a suggestion to extract the MusicBrainz ID from information theaudiodb.com sends). If you want to try it, please check out the AS wiki page (link in signature) for information on how to download and install my beta repo.