From 32934bd16a61b8b676e54a8c2699ccf936ae6e50 Mon Sep 17 00:00:00 2001 From: reiv Date: Tue, 3 Nov 2015 22:43:05 +0100 Subject: [PATCH] Preserve album art on re-import (fixes #314) Copy the replaced album's artpath attribute to the new album. This causes the image file to be moved along with the music files. --- beets/importer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beets/importer.py b/beets/importer.py index 95163b6fd..85d6e0824 100644 --- a/beets/importer.py +++ b/beets/importer.py @@ -718,6 +718,7 @@ class ImportTask(BaseImportTask): if replaced_album: self.album.added = replaced_album.added self.album.update(replaced_album._values_flex) + self.album.artpath = replaced_album.artpath self.album.store() log.debug( u'Reimported album: added {0}, flexible '