mirror of
https://github.com/beetbox/beets.git
synced 2026-01-15 20:51:38 +01:00
convert: fix processing singletons w/ "embed" on
This commit is contained in:
parent
49ae56e455
commit
4222b37bc2
1 changed files with 6 additions and 3 deletions
|
|
@ -73,9 +73,12 @@ def convert_item(lib, dest_dir):
|
|||
item.path = dest
|
||||
item.write()
|
||||
|
||||
artpath = lib.get_album(item).artpath
|
||||
if artpath and conf['embed']:
|
||||
_embed(artpath, [item])
|
||||
if conf['embed']:
|
||||
album = lib.get_album(item)
|
||||
if album:
|
||||
artpath = album.artpath
|
||||
if artpath:
|
||||
_embed(artpath, [item])
|
||||
|
||||
|
||||
def convert_func(lib, config, opts, args):
|
||||
|
|
|
|||
Loading…
Reference in a new issue