`), beets now stops with an
error instead of silently ignoring the query component.
For developers:
* The ``database_change`` event now sends the item or album that is subject to
a change.
* The ``OptionParser`` is now a ``CommonOptionsParser`` that offers facilities
for adding usual options (``--album``, ``--path`` and ``--format``). See
:ref:`add_subcommands`. :bug:`1271`
* The logging system in beets has been overhauled. Plugins now each have their
own logger, which helps by automatically adjusting the verbosity level in
import mode and by prefixing the plugin's name. Logging levels are
dynamically set when a plugin is called, depending on how it is called
(import stage, event or direct command). Finally, logging calls can (and
should!) use modern ``{}``-style string formatting lazily. See
:ref:`plugin-logging` in the plugin API docs.
* A new ``import_task_created`` event lets you manipulate import tasks
immediately after they are initialized. It's also possible to replace the
originally created tasks by returning new ones using this event.
.. _bs1770gain: http://bs1770gain.sourceforge.net
1.3.10 (January 5, 2015)
------------------------
This version adds a healthy helping of new features and fixes a critical
MPEG-4--related bug. There are more lyrics sources, there new plugins for
managing permissions and integrating with `Plex`_, and the importer has a new
``--pretend`` flag that shows which music *would* be imported.
One backwards-compatibility note: the :doc:`/plugins/lyrics` now requires the
`requests`_ library. If you use this plugin, you will need to install the
library by typing ``pip install requests`` or the equivalent for your OS.
Also, as an advance warning, this will be one of the last releases to support
Python 2.6. If you have a system that cannot run Python 2.7, please consider
upgrading soon.
The new features are:
* A new :doc:`/plugins/permissions` makes it easy to fix permissions on music
files as they are imported. Thanks to :user:`xsteadfastx`. :bug:`1098`
* A new :doc:`/plugins/plexupdate` lets you notify a `Plex`_ server when the
database changes. Thanks again to xsteadfastx. :bug:`1120`
* The :ref:`import-cmd` command now has a ``--pretend`` flag that lists the
files that will be imported. Thanks to :user:`mried`. :bug:`1162`
* :doc:`/plugins/lyrics`: Add `Musixmatch`_ source and introduce a new
``sources`` config option that lets you choose exactly where to look for
lyrics and in which order.
* :doc:`/plugins/lyrics`: Add Brazilian and Spanish sources to Google custom
search engine.
* Add a warning when importing a directory that contains no music. :bug:`1116`
:bug:`1127`
* :doc:`/plugins/zero`: Can now remove embedded images. :bug:`1129` :bug:`1100`
* The :ref:`config-cmd` command can now be used to edit the configuration even
when it has syntax errors. :bug:`1123` :bug:`1128`
* :doc:`/plugins/lyrics`: Added a new ``force`` config option. :bug:`1150`
As usual, there are loads of little fixes and improvements:
* Fix a new crash with the latest version of Mutagen (1.26).
* :doc:`/plugins/lyrics`: Avoid fetching truncated lyrics from the Google
backed by merging text blocks separated by empty ```` tags before
scraping.
* We now print a better error message when the database file is corrupted.
* :doc:`/plugins/discogs`: Only prompt for authentication when running the
:ref:`import-cmd` command. :bug:`1123`
* When deleting fields with the :ref:`modify-cmd` command, do not crash when
the field cannot be removed (i.e., when it does not exist, when it is a
built-in field, or when it is a computed field). :bug:`1124`
* The deprecated ``echonest_tempo`` plugin has been removed. Please use the
``echonest`` plugin instead.
* ``echonest`` plugin: Fingerprint-based lookup has been removed in
accordance with `API changes`_. :bug:`1121`
* ``echonest`` plugin: Avoid a crash when the song has no duration
information. :bug:`896`
* :doc:`/plugins/lyrics`: Avoid a crash when retrieving non-ASCII lyrics from
the Google backend. :bug:`1135` :bug:`1136`
* :doc:`/plugins/smartplaylist`: Sort specifiers are now respected in queries.
Thanks to :user:`djl`. :bug:`1138` :bug:`1137`
* :doc:`/plugins/ftintitle` and :doc:`/plugins/lyrics`: Featuring artists can
now be detected when they use the Spanish word *con*. :bug:`1060`
:bug:`1143`
* :doc:`/plugins/mbcollection`: Fix an "HTTP 400" error caused by a change in
the MusicBrainz API. :bug:`1152`
* The ``%`` and ``_`` characters in path queries do not invoke their
special SQL meaning anymore. :bug:`1146`
* :doc:`/plugins/convert`: Command-line argument construction now works
on Windows. Thanks to :user:`mluds`. :bug:`1026` :bug:`1157` :bug:`1158`
* :doc:`/plugins/embedart`: Fix an erroneous missing-art error on Windows.
Thanks to :user:`mluds`. :bug:`1163`
* :doc:`/plugins/importadded`: Now works with in-place and symlinked imports.
:bug:`1170`
* :doc:`/plugins/ftintitle`: The plugin is now quiet when it runs as part of
the import process. Thanks to :user:`Freso`. :bug:`1176` :bug:`1172`
* :doc:`/plugins/ftintitle`: Fix weird behavior when the same artist appears
twice in the artist string. Thanks to Marc Addeo. :bug:`1179` :bug:`1181`
* :doc:`/plugins/lastgenre`: Match songs more robustly when they contain
dashes. Thanks to :user:`djl`. :bug:`1156`
* The :ref:`config-cmd` command can now use ``$EDITOR`` variables with
arguments.
.. _API changes: https://web.archive.org/web/20160814092627/https://developer.echonest.com/forums/thread/3650
.. _Plex: https://plex.tv/
.. _musixmatch: https://www.musixmatch.com/
1.3.9 (November 17, 2014)
-------------------------
This release adds two new standard plugins to beets: one for synchronizing
Last.fm listening data and one for integrating with Linux desktops. And at
long last, imports can now create symbolic links to music files instead of
copying or moving them. We also gained the ability to search for album art on
the iTunes Store and a new way to compute ReplayGain levels.
The major new features are:
* A new :doc:`/plugins/lastimport` lets you download your play count data from
Last.fm into a flexible attribute. Thanks to Rafael Bodill.
* A new :doc:`/plugins/freedesktop` creates metadata files for
Freedesktop.org--compliant file managers. Thanks to :user:`kerobaros`.
:bug:`1056`, :bug:`707`
* A new :ref:`link` option in the ``import`` section creates symbolic links
during import instead of moving or copying. Thanks to Rovanion Luckey.
:bug:`710`, :bug:`114`
* :doc:`/plugins/fetchart`: You can now search for art on the iTunes Store.
There's also a new ``sources`` config option that lets you choose exactly
where to look for images and in which order.
* :doc:`/plugins/replaygain`: A new Python Audio Tools backend was added.
Thanks to Francesco Rubino. :bug:`1070`
* :doc:`/plugins/embedart`: You can now automatically check that new art looks
similar to existing art---ensuring that you only get a better "version" of
the art you already have. See :ref:`image-similarity-check`.
* :doc:`/plugins/ftintitle`: The plugin now runs automatically on import. To
disable this, unset the ``auto`` config flag.
There are also core improvements and other substantial additions:
* The ``media`` attribute is now a *track-level field* instead of an
album-level one. This field stores the delivery mechanism for the music, so
in its album-level incarnation, it could not represent heterogeneous
releases---for example, an album consisting of a CD and a DVD. Now, tracks
accurately indicate the media they appear on. Thanks to Heinz Wiesinger.
* Re-imports of your existing music (see :ref:`reimport`) now preserve its
added date and flexible attributes. Thanks to Stig Inge Lea Bjørnsen.
* Slow queries, such as those over flexible attributes, should now be much
faster when used with certain commands---notably, the :doc:`/plugins/play`.
* :doc:`/plugins/bpd`: Add a new configuration option for setting the default
volume. Thanks to IndiGit.
* :doc:`/plugins/embedart`: A new ``ifempty`` config option lets you only
embed album art when no album art is present. Thanks to kerobaros.
* :doc:`/plugins/discogs`: Authenticate with the Discogs server. The plugin
now requires a Discogs account due to new API restrictions. Thanks to
:user:`multikatt`. :bug:`1027`, :bug:`1040`
And countless little improvements and fixes:
* Standard cover art in APEv2 metadata is now supported. Thanks to Matthias
Kiefer. :bug:`1042`
* :doc:`/plugins/convert`: Avoid a crash when embedding cover art
fails.
* :doc:`/plugins/mpdstats`: Fix an error on start (introduced in the previous
version). Thanks to Zach Denton.
* :doc:`/plugins/convert`: The ``--yes`` command-line flag no longer expects
an argument.
* :doc:`/plugins/play`: Remove the temporary .m3u file after sending it to
the player.
* The importer no longer tries to highlight partial differences in numeric
quantities (track numbers and durations), which was often confusing.
* Date-based queries that are malformed (not parse-able) no longer crash
beets and instead fail silently.
* :doc:`/plugins/duplicates`: Emit an error when the ``checksum`` config
option is set incorrectly.
* The migration from pre-1.1, non-YAML configuration files has been removed.
If you need to upgrade an old config file, use an older version of beets
temporarily.
* :doc:`/plugins/discogs`: Recover from HTTP errors when communicating with
the Discogs servers. Thanks to Dustin Rodriguez.
* :doc:`/plugins/embedart`: Do not log "embedding album art into..." messages
during the import process.
* Fix a crash in the autotagger when files had only whitespace in their
metadata.
* :doc:`/plugins/play`: Fix a potential crash when the command outputs special
characters. :bug:`1041`
* :doc:`/plugins/web`: Queries typed into the search field are now treated as
separate query components. :bug:`1045`
* Date tags that use slashes instead of dashes as separators are now
interpreted correctly. And WMA (ASF) files now map the ``comments`` field to
the "Description" tag (in addition to "WM/Comments"). Thanks to Matthias
Kiefer. :bug:`1043`
* :doc:`/plugins/embedart`: Avoid resizing the image multiple times when
embedding into an album. Thanks to :user:`kerobaros`. :bug:`1028`,
:bug:`1036`
* :doc:`/plugins/discogs`: Avoid a situation where a trailing comma could be
appended to some artist names. :bug:`1049`
* The output of the :ref:`stats-cmd` command is slightly different: the
approximate size is now marked as such, and the total number of seconds only
appears in exact mode.
* :doc:`/plugins/convert`: A new ``copy_album_art`` option puts images
alongside converted files. Thanks to Ángel Alonso. :bug:`1050`, :bug:`1055`
* There is no longer a "conflict" between two plugins that declare the same
field with the same type. Thanks to Peter Schnebel. :bug:`1059` :bug:`1061`
* :doc:`/plugins/chroma`: Limit the number of releases and recordings fetched
as the result of an Acoustid match to avoid extremely long processing times
for very popular music. :bug:`1068`
* Fix an issue where modifying an album's field without actually changing it
would not update the corresponding tracks to bring differing tracks back in
line with the album. :bug:`856`
* ``echonest`` plugin: When communicating with the Echo Nest servers
fails repeatedly, log an error instead of exiting. :bug:`1096`
* :doc:`/plugins/lyrics`: Avoid an error when the Google source returns a
result without a title. Thanks to Alberto Leal. :bug:`1097`
* Importing an archive will no longer leave temporary files behind in
``/tmp``. Thanks to :user:`multikatt`. :bug:`1067`, :bug:`1091`
1.3.8 (September 17, 2014)
--------------------------
This release has two big new chunks of functionality. Queries now support
**sorting** and user-defined fields can now have **types**.
If you want to see all your songs in reverse chronological order, just type
``beet list year-``. It couldn't be easier. For details, see
:ref:`query-sort`.
Flexible field types mean that some functionality that has previously only
worked for built-in fields, like range queries, can now work with plugin- and
user-defined fields too. For starters, the ``echonest`` plugin and
:doc:`/plugins/mpdstats` now mark the types of the fields they provide---so
you can now say, for example, ``beet ls liveness:0.5..1.5`` for the Echo Nest
"liveness" attribute. The :doc:`/plugins/types` makes it easy to specify field
types in your config file.
One upgrade note: if you use the :doc:`/plugins/discogs`, you will need to
upgrade the Discogs client library to use this version. Just type
``pip install -U discogs-client``.
Other new features:
* :doc:`/plugins/info`: Target files can now be specified through library
queries (in addition to filenames). The ``--library`` option prints library
fields instead of tags. Multiple files can be summarized together with the
new ``--summarize`` option.
* :doc:`/plugins/mbcollection`: A new option lets you automatically update
your collection on import. Thanks to Olin Gay.
* :doc:`/plugins/convert`: A new ``never_convert_lossy_files`` option can
prevent lossy transcoding. Thanks to Simon Kohlmeyer.
* :doc:`/plugins/convert`: A new ``--yes`` command-line flag skips the
confirmation.
Still more fixes and little improvements:
* Invalid state files don't crash the importer.
* :doc:`/plugins/lyrics`: Only strip featured artists and
parenthesized title suffixes if no lyrics for the original artist and
title were found.
* Fix a crash when reading some files with missing tags.
* :doc:`/plugins/discogs`: Compatibility with the new 2.0 version of the
`discogs_client`_ Python library. If you were using the old version, you wil
need to upgrade to the latest version of the library to use the
correspondingly new version of the plugin (e.g., with
``pip install -U discogs-client``). Thanks to Andriy Kohut.
* Fix a crash when writing files that can't be read. Thanks to Jocelyn De La
Rosa.
* The :ref:`stats-cmd` command now counts album artists. The album count also
more accurately reflects the number of albums in the database.
* :doc:`/plugins/convert`: Avoid crashes when tags cannot be written to newly
converted files.
* Formatting templates with item data no longer confusingly shows album-level
data when the two are inconsistent.
* Resuming imports and beginning incremental imports should now be much faster
when there is a lot of previously-imported music to skip.
* :doc:`/plugins/lyrics`: Remove ``