From: kaliko Date: Sat, 6 Feb 2021 11:30:12 +0000 (+0100) Subject: Fixed "artist with quotes not found" (closes #41) X-Git-Tag: 0.17.0~22 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=67875b9616d2e1bc9ad089b91954dd7f391e1e5f;p=mpd-sima.git Fixed "artist with quotes not found" (closes #41) --- diff --git a/doc/Changelog b/doc/Changelog index fb506c5..8b0ebf9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,7 @@ MPD_sima v0.16.2.dev0 * Fixed issue with un-tagged titles (closes #40) + * Fixed "artist with quotes not found" (closes #41) -- kaliko UNRELEASED diff --git a/sima/mpdclient.py b/sima/mpdclient.py index 4634025..95cfb57 100644 --- a/sima/mpdclient.py +++ b/sima/mpdclient.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2009-2020 kaliko +# Copyright (c) 2009-2021 kaliko # # This file is part of sima # @@ -343,7 +343,7 @@ class MPD(MPDClient): tracks = set() if artist.mbid: tracks |= set(self.find('musicbrainz_artistid', artist.mbid)) - for name in artist.names_sz: + for name in artist.names: tracks |= set(self.find('artist', name)) return list(tracks)