mirror of
https://github.com/beetbox/beets.git
synced 2026-01-10 18:07:00 +01:00
NEWS note; check for missing art when extracting
This commit is contained in:
parent
415fe0be31
commit
e8d54af9df
2 changed files with 12 additions and 3 deletions
8
NEWS
8
NEWS
|
|
@ -13,8 +13,12 @@
|
|||
support matching individual items as well.
|
||||
* The importer/autotagger system has been heavily refactored in this
|
||||
release. If anything breaks as a result, please let me know.
|
||||
* Support for album art embedded in files. The "embedcoverart" plugin
|
||||
provides this functionality. (Thanks, daenney!)
|
||||
* Support for album art embedded in files. A new plugin, called
|
||||
"embedart", implements this functionality. Enable the plugin to
|
||||
automatically embed downloaded album art into your music files'
|
||||
metadata. The plugin also provides the "embedart" and "extractart"
|
||||
commands for moving image files in and out of metadata. See the
|
||||
wiki for more details. (Thanks, daenney!)
|
||||
* The "distance" number, which quantifies how different an album's
|
||||
current and proposed metadata are, is now displayed as "similarity"
|
||||
instead. This should be less noisy and confusing; you'll now see
|
||||
|
|
|
|||
|
|
@ -84,7 +84,12 @@ def extract(lib, outpath, query):
|
|||
# Extract the art.
|
||||
print syspath(item.path)
|
||||
mf = mediafile.MediaFile(syspath(item.path))
|
||||
data, kind = mf.art
|
||||
art = mf.art
|
||||
if not art:
|
||||
log.error('No album art present in %s - %s.' %
|
||||
(item.artist, item.title))
|
||||
return
|
||||
data, kind = art
|
||||
|
||||
# Add an extension to the filename.
|
||||
if kind == mediafile.imagekind.JPEG:
|
||||
|
|
|
|||
Loading…
Reference in a new issue