Release Artist Slideshow addon (with skin and addon integration)
(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
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
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
RE: [RELEASE] Artist Slideshow 1.3.0 addon (with skin and addon integration) - by JohnyBee - 2016-12-15, 12:39
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