From 180433e72c8a07d98573363020a74f07d66c02ed Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Wed, 21 May 2014 17:16:40 +0200 Subject: [PATCH] Convert path to bytestring This is in line with `beets/library.py:336`. Closes #757 --- beets/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/library.py b/beets/library.py index 2c3d4b37a..e598bd065 100644 --- a/beets/library.py +++ b/beets/library.py @@ -366,7 +366,7 @@ class Item(LibModel): else: path = normpath(path) try: - mediafile = MediaFile(path) + mediafile = MediaFile(syspath(path)) except (OSError, IOError) as exc: raise ReadError(self.path, exc)