Fix missing keep_in_artist option in ftintitle plugin (introduced in #5356) (#5433)

This commit is contained in:
J0J0 Todos 2024-09-21 09:38:07 +02:00 committed by GitHub
commit 9f29c36439
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,9 +117,10 @@ class FtInTitlePlugin(plugins.BeetsPlugin):
def imported(self, session, task):
"""Import hook for moving featuring artist automatically."""
drop_feat = self.config["drop"].get(bool)
keep_in_artist_field = self.config["keep_in_artist"].get(bool)
for item in task.imported_items():
self.ft_in_title(item, drop_feat)
self.ft_in_title(item, drop_feat, keep_in_artist_field)
item.store()
def update_metadata(self, item, feat_part, drop_feat, keep_in_artist_field):