X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sima%2Fclient.py;h=e171c0b1d6c1934d728470e649b06c104e486992;hb=d86ba5f99e61ff81ab750aba226df8b8a78dcae5;hp=f64277e8f1bd21b2325d62a654dbe74362a73d08;hpb=2cddb244c6813cecf5bc24ce95d84e5136ea3f7e;p=mpd-sima.git diff --git a/sima/client.py b/sima/client.py index f64277e..e171c0b 100644 --- a/sima/client.py +++ b/sima/client.py @@ -159,8 +159,8 @@ class PlayerClient(Player): else: self.log.info('Player: Initialising cache!') self._cache = { - 'artists': None, - 'nombid_artists': None, + 'artists': frozenset(), + 'nombid_artists': frozenset(), } self._cache['artists'] = frozenset(self._execute('list', ['artist'])) if Artist.use_mbid: