From 9c66f81c62417954329cc702a6cb8adc9af59394 Mon Sep 17 00:00:00 2001 From: kaliko Date: Mon, 11 May 2020 19:21:14 +0200 Subject: [PATCH] Fixed MPD client (issue when no albumartist is set) --- sima/mpdclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sima/mpdclient.py b/sima/mpdclient.py index a0dbfdf..9b8df6a 100644 --- a/sima/mpdclient.py +++ b/sima/mpdclient.py @@ -442,7 +442,7 @@ class MPD(MPDClient): if 'Various Artists' in [tr.albumartist for tr in album_trks]: self.log.debug('Discarding %s ("Various Artists" set)', album) continue - if name not in album_artists: + if album_artists and name not in album_artists: self.log.debug('Discarding "%s", "%s" not set as albumartist', album, name) continue arts = {trk.artist for trk in album_trks} -- 2.39.5