From b30c6975a1b3bafcc83bed9e689947e79189e2f6 Mon Sep 17 00:00:00 2001 From: Bruno Cauet Date: Fri, 23 Jan 2015 18:06:37 +0100 Subject: [PATCH] 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 --- beetsplug/embedart.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beetsplug/embedart.py b/beetsplug/embedart.py index ecdf57d66..1ed5cad98 100644 --- a/beetsplug/embedart.py +++ b/beetsplug/embedart.py @@ -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