Update log message for keeping artist in ftintitle

Update the log message when the artist is kept unchanged due to setting
the keep_in_artist option to true.
This commit is contained in:
Karl Besser 2024-09-05 12:28:51 +02:00
parent aa891d21d4
commit 15d652dbae

View file

@ -130,7 +130,9 @@ class FtInTitlePlugin(plugins.BeetsPlugin):
"""
# In case the artist is kept, do not update the artist fields.
if keep_in_artist_field:
self._log.info("artist: {0} -> {1}", item.artist, item.artist)
self._log.info(
"artist: {0} (Not changing due to keep_in_artist)", item.artist
)
else:
self._log.info("artist: {0} -> {1}", item.artist, item.albumartist)
item.artist = item.albumartist