syspath-ify call to pyacoustid (GC-464)

This commit is contained in:
Adrian Sampson 2012-12-07 14:49:11 -08:00
parent 128a881bb4
commit 3e9135ee7c
2 changed files with 2 additions and 1 deletions

View file

@ -52,7 +52,7 @@ def acoustid_match(path):
_matches, _fingerprints, and _acoustids dictionaries accordingly.
"""
try:
duration, fp = acoustid.fingerprint_file(path)
duration, fp = acoustid.fingerprint_file(util.syspath(path))
except acoustid.FingerprintGenerationError as exc:
log.error('fingerprinting of %s failed: %s' %
(repr(path), str(exc)))

View file

@ -79,6 +79,7 @@ Changelog
* Fix some problem with identifying files on Windows with Unicode directory
names in their path.
* Fix a crash when Unicode queries were used with ``import -L`` re-imports.
* Fix an error when fingerprinting files with Unicode filenames on Windows.
* Add human-readable error messages when writing files' tags fails or when a
directory can't be created.
* Changed plugin loading so that modules can be imported without