mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 17:43:52 +01:00
Embedart extraction: 'cover' is already the default
'cover' is already the default filename (in the absence of a custom config) so there is no need to re-write that value in the embertart plugin. Improve #1258
This commit is contained in:
parent
b3803d3472
commit
b30c6975a1
1 changed files with 1 additions and 2 deletions
|
|
@ -88,8 +88,7 @@ class EmbedCoverArtPlugin(BeetsPlugin):
|
|||
help='image output file')
|
||||
|
||||
def extract_func(lib, opts, args):
|
||||
outpath = normpath(opts.outpath or (config['art_filename'].get()
|
||||
or 'cover'))
|
||||
outpath = normpath(opts.outpath or config['art_filename'].get())
|
||||
item = lib.items(decargs(args)).get()
|
||||
self.extract(outpath, item)
|
||||
extract_cmd.func = extract_func
|
||||
|
|
|
|||
Loading…
Reference in a new issue