From 33841e8eea23d68659ff5279cc64976632bc4c5b Mon Sep 17 00:00:00 2001 From: kaliko Date: Tue, 3 Feb 2015 00:32:33 +0100 Subject: [PATCH] Better non MBID set up integration --- sima/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sima/client.py b/sima/client.py index 667242c..63c2632 100644 --- a/sima/client.py +++ b/sima/client.py @@ -163,7 +163,8 @@ class PlayerClient(Player): 'nombid_artists': None, } self._cache['artists'] = frozenset(self._client.list('artist')) - self._cache['nombid_artists'] = frozenset(self._client.list('artist', 'musicbrainz_artistid', '')) + if Artist.use_mbid: + self._cache['nombid_artists'] = frozenset(self._client.list('artist', 'musicbrainz_artistid', '')) @blacklist(track=True) def find_track(self, artist, title=None): -- 2.39.5