2016-12-15, 12:39
(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
Code:
artists_info.append( (artist_name.strip(), self._get_musicbrainz_id( artist_name, mbid )) )
line 881 in default.py
Code:
return response.replace('ft.',' / ').replace('feat.',' / ').split(' / ')
this code:
Code:
return response.replace(' feat. ', ' / ').replace(' Feat. ', ' / ').replace(' Feat ', ' / ').replace(' feat ', ' / ').replace(' ft ', ' / ').replace(' ft. ', ' / ').replace(' Ft ', ' / ').replace(' Ft. ', ' / ').split(' / ')
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 ):
Code:
def _split_artists( self, response):
I would be very pleased.
Thanks