X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Fclient.py;h=0bfc8826be36ca0027df7b6df3af3598456527f7;hb=70bf86ca3f65a550436cdc70326cb8601f24e5a6;hp=d127442e6b79f90209d019c6774c8e5d6c6ad9f5;hpb=fadd1129df18b9140f08b99682409eba7d912553;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):