Merge pull request #1181 from marcaddeo/fix-ftintitle-duplicate-album-artist

Fix handling of duplicate album artists in ftintitle
This commit is contained in:
Adrian Sampson 2014-12-28 18:58:36 -04:00
commit d0dcc74c7e

View file

@ -84,7 +84,7 @@ def ft_in_title(item, drop_feat, loglevel=logging.DEBUG):
# Look for the album artist in the artist field. If it's not # Look for the album artist in the artist field. If it's not
# present, give up. # present, give up.
albumartist_split = artist.split(albumartist) albumartist_split = artist.split(albumartist, 1)
if len(albumartist_split) <= 1: if len(albumartist_split) <= 1:
log.log(loglevel, 'album artist not present in artist') log.log(loglevel, 'album artist not present in artist')