diff --git a/beetsplug/chroma.py b/beetsplug/chroma.py index 036024b57..af77a35cf 100644 --- a/beetsplug/chroma.py +++ b/beetsplug/chroma.py @@ -52,6 +52,10 @@ def acoustid_match(path, metadata=None): try: res = acoustid.match(API_KEY, path, meta='recordings releases', parse=False) + except acoustid.FingerprintGenerationError, exc: + log.error('fingerprinting of %s failed: %s' % + (repr(path), str(exc))) + return None except acoustid.AcoustidError, exc: log.debug('fingerprint matching %s failed: %s' % (repr(path), str(exc))) diff --git a/docs/changelog.rst b/docs/changelog.rst index 123b695b2..f6e6917d5 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -45,6 +45,7 @@ lays the foundation for more features to come in the next couple of releases. * The import log file is now flushed and closed properly so that it can be used to monitor import progress, even when the import crashes. * Duplicate track matches are no longer shown when autotagging singletons. +* The ``chroma`` plugin now logs errors when fingerprinting fails. * Fix a bug in the ``rewrite`` plugin that broke the use of multiple rules for a single field. * Fix a crash with non-ASCII characters in bytestring metadata fields (e.g.,