From 67875b9616d2e1bc9ad089b91954dd7f391e1e5f Mon Sep 17 00:00:00 2001 From: kaliko Date: Sat, 6 Feb 2021 12:30:12 +0100 Subject: [PATCH] Fixed "artist with quotes not found" (closes #41) --- doc/Changelog | 1 + sima/mpdclient.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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) -- 2.39.2