beets 1.3.18
This update adds a new hook
that lets you integrate beets with command-line tools and an export
that can dump data from the beets database as JSON. You can also automatically translate lyrics using a machine translation service.
The echonest
plugin has been removed in this version because the API it used is shutting down. You might want to try the acousticbrainz
instead.
Some of the larger new features:
- The new
hook
lets you execute commands in response to beets events. - The new
export
can export data from beets' database as JSON. Thanks to @GuilhermeHideki. lyrics
: The plugin can now translate the fetched lyrics to your native language using the Bing translation API. Thanks to @Kraymer.fetchart
: Album art can now be fetched from fanart.tv.
Smaller new things:
- There are two new functions available in templates:
%first
and%ifdef
. See template-functions. convert
: A newalbum_art_maxwidth
setting lets you resize album art while copying it.convert
: Theextension
setting is now optional for conversion formats. By default, the extension is the same as the name of the configured format.importadded
: A newpreserve_write_mtimes
option lets you preserve mtime of files even when beets updates their metadata.fetchart
: Theenforce_ratio
option now lets you tolerate images that are almost square but differ slightly from an exact 1:1 aspect ratio.fetchart
: The plugin can now optionally save the artwork's source in an attribute in the database.- The terminal_encoding configuration option can now also override the input encoding. (Previously, it only affected the encoding of the standard output stream.)
- A new ignore_hidden configuration option lets you ignore files that your OS marks as invisible.
web
: A newvalues
endpoint lets you get the distinct values of a field. Thanks to @sumpfralle. #2010
Fixes:
- Fix a problem with the
stats
command in exact mode when filenames on Windows use non-ASCII characters. #1891 - Fix a crash when iTunes Sound Check tags contained invalid data. #1895
mbcollection
: The plugin now redacts your MusicBrainz password in thebeet config
output. #1907scrub
: Fix an occasional problem where scrubbing on import could undo the id3v23 setting. #1903lyrics
: Add compatibility with some changes to the LyricsWiki page markup. #1912 #1909lyrics
: Fix retrieval from Musixmatch by improving the way we guess the URL for lyrics on that service. #1880edit
: Fail gracefully when the configured text editor command can't be invoked. #1927fetchart
: Fix a crash in the Wikipedia backend on non-ASCII artist and album names. #1960convert
: Change the defaultogg
encoding quality from 2 to 3 (to fit the default from theoggenc(1)
manpage). #1982convert
: Thenever_convert_lossy_files
option now considers AIFF a lossless format. #2005web
: A proper 404 error, instead of an internal exception, is returned when missing album art is requested. Thanks to
@sumpfralle. #2011- Tolerate more malformed floating-point numbers in metadata tags. #2014
- The ignore configuration option now includes the
lost+found
directory by default. acousticbrainz
: AcousticBrainz lookups are now done over HTTPS. Thanks to @Freso. #2007