2016-12-17, 02:08
(2016-12-15, 12:39)JohnyBee Wrote:not working for meCode:artists_info.append( (artist_name.strip(), self._get_musicbrainz_id( artist_name, mbid )) )
line 881 in default.py
This command does not remove the old spaces (space after the first and before the second artist).Code:return response.replace('ft.',' / ').replace('feat.',' / ').split(' / ')
this code:
working for meCode: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
and line 880Code:def _get_featured_artists( self, data ):
Code:def _split_artists( self, response):
I would be very pleased.
Thanks
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.