Clarify log-label: keep any, no-force

This commit is contained in:
J0J0 Todos 2025-01-21 13:40:29 +01:00
parent d5cf376a51
commit 44901873f7

View file

@ -342,8 +342,8 @@ class LastGenrePlugin(plugins.BeetsPlugin):
if not self.config["force"]:
# Without force pre-populated tags are returned as-is.
if isinstance(obj, library.Item):
return obj.get("genre", with_album=False), "keep, no-force"
return obj.get("genre"), "keep, no-force"
return obj.get("genre", with_album=False), "keep any, no-force"
return obj.get("genre"), "keep any, no-force"
if self.config["force"]:
# Force doesn't keep any unless keep_existing is set.