From cf98bfcbe6ef2caf5befe3b8891058d4aa041fca Mon Sep 17 00:00:00 2001 From: Jakob Schnitzer Date: Thu, 25 Oct 2012 01:05:06 +0200 Subject: [PATCH] convert: write tags from library to copied files --- beetsplug/convert.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 79f487b2e..4ea3b60e3 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -88,12 +88,13 @@ def convert_item(lib, dest_dir): util.copy(item.path, dest) else: encode(item.path, dest) - item.path = dest - item.write() + + item.path = dest + item.write() artpath = lib.get_album(item).artpath if artpath and conf['embed']: - _embed(artpath, [library.Item.from_path(dest)]) + _embed(artpath, [item]) def convert_func(lib, config, opts, args):