mirror of
https://github.com/beetbox/beets.git
synced 2025-12-13 20:13:09 +01:00
merge fix from master
This commit is contained in:
commit
582851a6fe
1 changed files with 6 additions and 3 deletions
|
|
@ -86,9 +86,12 @@ def convert_item(lib, dest_dir):
|
|||
item.path = dest
|
||||
item.write()
|
||||
|
||||
artpath = lib.get_album(item).artpath
|
||||
if artpath and config['convert']['embed']:
|
||||
_embed(artpath, [item])
|
||||
if config['convert']['embed']:
|
||||
album = lib.get_album(item)
|
||||
if album:
|
||||
artpath = album.artpath
|
||||
if artpath:
|
||||
_embed(artpath, [item])
|
||||
|
||||
|
||||
def convert_func(lib, opts, args):
|
||||
|
|
|
|||
Loading…
Reference in a new issue