mirror of
https://github.com/beetbox/beets.git
synced 2026-01-20 15:14:13 +01:00
Merge branch 'master' into spotify
This commit is contained in:
commit
a3c2e383f4
3 changed files with 8 additions and 2 deletions
|
|
@ -1588,7 +1588,7 @@ class FetchArtPlugin(plugins.BeetsPlugin, RequestMixin):
|
|||
message = ui.colorize(
|
||||
"text_highlight_minor", "has album art"
|
||||
)
|
||||
self._log.info("{}: {}", album, message)
|
||||
ui.print_(f"{album}: {message}")
|
||||
else:
|
||||
# In ordinary invocations, look for images on the
|
||||
# filesystem. When forcing, however, always go to the Web
|
||||
|
|
@ -1601,4 +1601,4 @@ class FetchArtPlugin(plugins.BeetsPlugin, RequestMixin):
|
|||
message = ui.colorize("text_success", "found album art")
|
||||
else:
|
||||
message = ui.colorize("text_error", "no art found")
|
||||
self._log.info("{}: {}", album, message)
|
||||
ui.print_(f"{album}: {message}")
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ New features:
|
|||
differences in metadata source styles.
|
||||
- :doc:`plugins/spotify`: Added support for multi-artist albums and tracks,
|
||||
saving all contributing artists to the respective fields.
|
||||
- :doc:`plugins/fetchart`: Fix colorized output text.
|
||||
- :doc:`plugins/ftintitle`: Featured artists are now inserted before brackets
|
||||
containing remix/edit-related keywords (e.g., "Remix", "Live", "Edit") instead
|
||||
of being appended at the end. This improves formatting for titles like "Song 1
|
||||
|
|
|
|||
|
|
@ -98,3 +98,8 @@ class FetchartCliTest(PluginTestCase):
|
|||
self.run_command("fetchart")
|
||||
self.album.load()
|
||||
self.check_cover_is_stored()
|
||||
|
||||
def test_colorization(self):
|
||||
self.config["ui"]["color"] = True
|
||||
out = self.run_with_output("fetchart")
|
||||
assert " - the älbum: \x1b[1;31mno art found\x1b[39;49;00m\n" == out
|
||||
|
|
|
|||
Loading…
Reference in a new issue