mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 19:42:42 +01:00
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.
This commit is contained in:
parent
21f926fb89
commit
32934bd16a
1 changed files with 1 additions and 0 deletions
|
|
@ -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 '
|
||||
|
|
|
|||
Loading…
Reference in a new issue