From 75b6950affa1a80710e97d701abff5e269b46642 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Thu, 31 Dec 2020 15:03:40 +0100 Subject: [PATCH] Fixed blank artist field when only one artist was present --- deemix/app/track.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/app/track.py b/deemix/app/track.py index bcf35ac..1842e1f 100644 --- a/deemix/app/track.py +++ b/deemix/app/track.py @@ -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: