From: kaliko Date: Mon, 11 May 2020 17:21:14 +0000 (+0200) Subject: Fixed MPD client (issue when no albumartist is set) X-Git-Tag: 0.16.0.dev0~13 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=9c66f81c62417954329cc702a6cb8adc9af59394;p=mpd-sima.git Fixed MPD client (issue when no albumartist is set) --- 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}