diff --git a/beets/util/__init__.py b/beets/util/__init__.py index bc07460e8..f50ce109e 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -633,7 +633,7 @@ def command_output(cmd, shell=False): Python 2.6 and which can have problems if lots of output is sent to stderr. """ - proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, + proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=platform.system() != 'Windows', shell=shell) diff --git a/beetsplug/embedart.py b/beetsplug/embedart.py index 06360bc96..1c48387bc 100644 --- a/beetsplug/embedart.py +++ b/beetsplug/embedart.py @@ -225,6 +225,7 @@ def extract(outpath, item): # 'clearart' command. + def clear(lib, query): log.info(u'Clearing album art from items:') for item in lib.items(query): diff --git a/docs/plugins/embedart.rst b/docs/plugins/embedart.rst index 681260b2e..c0451b720 100644 --- a/docs/plugins/embedart.rst +++ b/docs/plugins/embedart.rst @@ -34,9 +34,10 @@ the two does not exceed a given threshold. The threshold used is given by the ``compare_threshold`` option: * use '0' to always embed image (disable similarity check) + * use any positive integer to define a similarity threshold. The smaller the -value, the more similar the images must be. A value in the range [10,100] is -recommended. + value, the more similar the images must be. A value in the range [10,100] is + recommended. Requires `ImageMagick`_