mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2024-12-28 02:26:14 +00:00
Fixed blank artist field when only one artist was present
This commit is contained in:
parent
0d5abf18de
commit
75b6950aff
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue