normalize relative paths as they opened

This commit is contained in:
Adrian Sampson 2010-09-22 21:40:12 -07:00
parent ea26e6660e
commit 0b0db17743
2 changed files with 3 additions and 0 deletions

1
NEWS
View file

@ -27,6 +27,7 @@
* Fixed bug that completely broke non-autotagged imports ("import -A").
* Fixed bug that logged the wrong paths when using "import -l".
* Fixed autotagging for the creatively-named band !!!.
* Fixed normalization of relative paths.
* Efficiency tweak should reduce the number of MusicBrainz queries per
autotagged album.
* A new "-v" command line switch enables debugging output.

View file

@ -283,6 +283,8 @@ class Item(object):
"""
if read_path is None:
read_path = self.path
else:
read_path = _normpath(read_path)
f = MediaFile(read_path)
for key in ITEM_KEYS_META: