From 56300e08f142a0ef15b5c9ae03e230fe77a5304c Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 29 Dec 2020 21:07:45 +0100 Subject: [PATCH] Fixed various artists issue with playlists and local tracks --- deemix/app/track.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deemix/app/track.py b/deemix/app/track.py index b99358d..eb6a8e9 100644 --- a/deemix/app/track.py +++ b/deemix/app/track.py @@ -113,6 +113,8 @@ class Track: self.album['genre'] = [] self.album['label'] = "Unknown" self.album['mainArtist'] = self.mainArtist + self.album['mainArtist']['isVariousArtists'] = False + self.album['rootArtist'] = None self.album['recordType'] = "album" self.album['trackTotal'] = "0" self.bpm = 0 @@ -380,6 +382,7 @@ class Track: self.playlist['mainArtist'] = { 'id': playlist['various_artist']['id'], 'name': playlist['various_artist']['name'], + 'isVariousArtists': True, 'pic': { 'md5': playlist['various_artist']['picture_small'][ playlist['various_artist']['picture_small'].find('artist/') + 7:-24],