Fixed blank artist field when only one artist was present

This commit is contained in:
RemixDev 2020-12-31 15:03:40 +01:00
parent 0d5abf18de
commit 75b6950aff
No known key found for this signature in database
GPG key ID: B33962B465BDB51C

View file

@ -339,7 +339,7 @@ class Track:
isVariousArtists = artist['id'] == VARIOUS_ARTISTS
isMainArtist = artist['role'] == "Main"
if isVariousArtists or len(trackAPI['contributors']) == 1 and not isVariousArtists:
if len(trackAPI['contributors']) > 1 and isVariousArtists:
continue
if artist['name'] not in self.artists: