diff --git a/beetsplug/convert.py b/beetsplug/convert.py index e72f8c75a9..770c583266 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -355,6 +355,7 @@ def convert_item( item, original, converted = None, None, None while True: item = yield (item, original, converted) + item.format = fmt.upper() dest = item.destination(basedir=dest_dir, path_formats=path_formats) # Ensure that desired item is readable before processing it. Needed diff --git a/docs/changelog.rst b/docs/changelog.rst index 9a8fc539b2..58871c24f4 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -30,6 +30,8 @@ Bug fixes: - |BeetsPlugin|: load the last plugin class defined in the plugin namespace. :bug:`6093` +- Fixed convert plugin not taking into account the new format when determining + the target path. :bug:`1360` For packagers: