From ac57ef0e67edca143e62f17f3492ed1d8022f29f Mon Sep 17 00:00:00 2001 From: Fabrice Laporte Date: Tue, 14 Oct 2014 20:58:36 +0200 Subject: [PATCH] restore write argument for ft_in_title --- beetsplug/ftintitle.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/beetsplug/ftintitle.py b/beetsplug/ftintitle.py index f783cfa32..eaeb641e9 100644 --- a/beetsplug/ftintitle.py +++ b/beetsplug/ftintitle.py @@ -72,7 +72,7 @@ def update_metadata(item, feat_part, drop_feat): item.title = new_title -def ft_in_title(item, drop_feat): +def ft_in_title(item, drop_feat, write): """Look for featured artists in the item's artist fields and move them to the title. """ @@ -114,7 +114,9 @@ def ft_in_title(item, drop_feat): ui.print_(u'no featuring artists found') ui.print_() - + if write: + item.try_write() + item.store() class FtInTitlePlugin(BeetsPlugin): def __init__(self):