Skip to content

Commit

Permalink
Release 0.8.6 prep
Browse files Browse the repository at this point in the history
  • Loading branch information
nicfit committed May 28, 2018
1 parent 052f4be commit f440d50
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
18 changes: 18 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------------------

Expand Down
4 changes: 2 additions & 2 deletions src/eyed3/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down
9 changes: 5 additions & 4 deletions src/eyed3/plugins/art.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand All @@ -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:
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit f440d50

Please sign in to comment.