From d991e2a7d8cf3a55dbad4797f084fe24f4d8016d Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Sun, 17 Feb 2019 21:51:09 +0100 Subject: [PATCH] playlist: Normalize path before lookup in changes dict --- beetsplug/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/playlist.py b/beetsplug/playlist.py index 393449217..68b2adb49 100644 --- a/beetsplug/playlist.py +++ b/beetsplug/playlist.py @@ -162,7 +162,7 @@ class PlaylistPlugin(beets.plugins.BeetsPlugin): lookup = original_path try: - new_path = self.changes[lookup] + new_path = self.changes[beets.util.normpath(lookup)] except KeyError: tempfp.write(line) else: