From cfe82e9736c3cbc6c971ed687eb0b254cfe6f41c Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Tue, 9 Sep 2014 23:41:47 +0200 Subject: [PATCH] convert: Pipepline stage yields result --- beetsplug/convert.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 2799355a8..b840078af 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -135,8 +135,9 @@ def should_transcode(item, format): def convert_item(dest_dir, keep_new, path_formats, format, pretend=False): command, ext = get_format(format) + item, original, converted = None, None, None while True: - item = yield + item = yield (item, original, converted) dest = item.destination(basedir=dest_dir, path_formats=path_formats) # When keeping the new file in the library, we first move the