diff --git a/HISTORY.rst b/HISTORY.rst index 025d2a0d..bb39cf33 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,24 @@ Release History .. :changelog: +v0.8.6 (2018-05-27) : Robot Man +------------------------ + +New +~~~ +- Art plugin can now download album covers from last.fm. + +Changes +~~~~~~~ +- Use os.fwalk for its better performance (esp. >= py37) Fixes #166 +- TagTemplate `path_friendly` is now a string, namely the delimiter to use. + +Fix +~~~ +- Classic plugin: --write-image will work with --quiet. Fixes #188 +- Multiple fixes for display plugin %images% replacements. Fixes #176 +- Allow --remove-* options to work when there are no tags. Fixes #183 + v0.8.5 (2018-03-27) : 30$ Bag ----------------------------- diff --git a/src/eyed3/__about__.py b/src/eyed3/__about__.py index f727064f..a9796826 100644 --- a/src/eyed3/__about__.py +++ b/src/eyed3/__about__.py @@ -15,8 +15,8 @@ def __parse_version(v): # pragma: nocover return ver, rel, ver_info -__version__ = "0.8.5" -__release_name__ = "30$ Bag" +__version__ = "0.8.6" +__release_name__ = "Robot Man" __years__ = "2002-2018" _, __release__, __version_info__ = __parse_version(__version__) diff --git a/src/eyed3/plugins/art.py b/src/eyed3/plugins/art.py index c8ff7cde..db714b2a 100644 --- a/src/eyed3/plugins/art.py +++ b/src/eyed3/plugins/art.py @@ -26,9 +26,10 @@ from eyed3 import compat, log from eyed3.utils import guessMimetype from eyed3.plugins import LoaderPlugin +from eyed3.core import VARIOUS_ARTISTS from eyed3.id3.frames import ImageFrame from eyed3.utils import makeUniqueFileName -from eyed3.utils.console import printMsg, printWarning, cformat, Fore, Style +from eyed3.utils.console import printMsg, printWarning, cformat, Fore DESCR_FNAME_PREFIX = "filename: " md5_file_cache = {} @@ -42,7 +43,7 @@ _have_lastfm = False try: - from eyed3.plugins.lastfm import getAlbumArt, getArtistArt + from eyed3.plugins.lastfm import getAlbumArt import requests _have_lastfm = True except ImportError: @@ -155,9 +156,9 @@ def handleDirectory(self, d, _): # --download handling if not dir_art and self.args.download and _have_lastfm: tag = all_tags[0] - artists = set([t.artist for t in all_tags]) + artists = set([t.artist for t in all_tags]) if len(artists) > 1: - artist_query = "Various Artists" + artist_query = VARIOUS_ARTISTS else: artist_query = tag.album_artist or tag.artist