convert: write tags from library to copied files

This commit is contained in:
Jakob Schnitzer 2012-10-25 01:05:06 +02:00
parent 02fd9bf809
commit cf98bfcbe6

View file

@ -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):