X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sima%2Fclient.py;h=0bfc8826be36ca0027df7b6df3af3598456527f7;hb=41048503e9b3cf0fdc58e14f35f483889a0b05ae;hp=d127442e6b79f90209d019c6774c8e5d6c6ad9f5;hpb=1b5cfb4c9187df891bd840b51c044d72ad0077d5;p=mpd-sima.git diff --git a/sima/client.py b/sima/client.py index d127442..0bfc882 100644 --- a/sima/client.py +++ b/sima/client.py @@ -317,6 +317,16 @@ class PlayerClient(Player): raise PlayerError('Could connect to "%s", ' 'but command "%s" not available' % (host, nddcmd)) + + # Controls use of MusicBrainzIdentifier + if Artist.use_mbid: + if 'MUSICBRAINZ_ARTISTID' not in self._client.tagtypes(): + self.log.warning('Use of MusicBrainzIdentifier is set but MPD is ' + 'not providing related metadata') + self.log.info(self._client.tagtypes()) + else: + self.log.warning('Use of MusicBrainzIdentifier disabled!') + self.log.info('Consider using MusicBrainzIdentifier for your music library') self._flush_cache() def disconnect(self):