Debian Codegraph @

docs/changelog.rst

raw
1 Changelog
2 =========
3
4 Changelog goes here! Please add your entry to the bottom of one of the lists
5 below!
6
7 .. Uncomment the relevant section when you add the first entry
8
9 Unreleased
10 ----------
11
12 ..
13 New features
14 ~~~~~~~~~~~~
15
16 ..
17 Bug fixes
18 ~~~~~~~~~
19
20 ..
21 For plugin developers
22 ~~~~~~~~~~~~~~~~~~~~~
23
24 ..
25 Other changes
26 ~~~~~~~~~~~~~
27
28 2.14.1 (September 17, 2026)
29 ---------------------------
30
31 ..
32 New features
33 ~~~~~~~~~~~~
34
35 Bug fixes
36 ~~~~~~~~~
37
38 - :doc:`plugins/lyrics`: Support 3-decimal millisecond timestamps (e.g.
39 ``[mm:ss.xxx]``) in LRC parsing, fixing an issue where synced lyrics with
40 millisecond precision were erroneously rejected and fell back to plain lyrics.
41 :bug:`7001`
42 - Skip archive importer tests (``TestImport7z`` and ``TestImportRar``) when
43 their optional dependencies (``py7zr`` or ``rarfile`` / ``unrar``) are not
44 available. :bug:`7002`
45 - :doc:`plugins/discogs`: Read the release month and day from the API's
46 ``released`` field instead of only the year. Fix Discogs match overwriting
47 month and day tags on import.
48 - Empty leading path-format fields (e.g. from missing metadata) combined with a
49 custom ``replace`` configuration no longer produce an absolute destination
50 path that escapes the library or :doc:`plugins/convert` destination directory;
51 leading path separators are now stripped from the rendered path. :bug:`4889`
52 - Add a configurable ``tempfile_prefix`` for temporary files created during
53 cross-filesystem moves, avoiding hidden-file behavior on Windows and Samba
54 shares caused by a hard-coded leading dot ('.'). :bug:`7033`
55 - :ref:`import-cmd` Fix interactive importer ignoring candidates from manual
56 search (``e``) and manual ID (``i``) entry. :bug:`7000`
57
58 ..
59 For plugin developers
60 ~~~~~~~~~~~~~~~~~~~~~
61
62 Other changes
63 ~~~~~~~~~~~~~
64
65 - :doc:`plugins/duplicates`: Improve the documentation of the ``checksum``
66 option: explain how the external command is run, remove the broken ``md5sum
67 {file}`` example and show how to use such commands through a wrapper script.
68 :bug:`3979`
69 - Use ``bytes`` instead of ``memoryview`` for SQLite path storage and query
70 parameters.
71
72 2.14.0 (September 07, 2026)
73 ---------------------------
74
75 New features
76 ~~~~~~~~~~~~
77
78 - :doc:`plugins/plexupdate`: Add ``beet plexupdate --auth``, an interactive
79 plex.tv login following Plex' traditional PIN authentication flow: the access
80 token for the local server is stored in a token file. The manual ``token``
81 configuration option is now deprecated.
82 - :ref:`duplicate_action`: Add an ``upgrade`` option that replaces individual
83 duplicate tracks only if the new copy has a higher bitrate, adds any genuinely
84 new tracks, and keeps the album together rather than splitting it. The option
85 is available both through configuration and from the interactive duplicate
86 prompt. :bug:`4471`
87 - The interactive import prompt now offers a "Rescan directory" choice for album
88 tasks. It re-reads the album's directory from disk and re-runs the match, so
89 files can be cleaned up (duplicates, junk) while the import is paused at the
90 prompt, without restarting the whole ``beet import`` run.
91 - :ref:`list-cmd` Add ``-l / --limit LIMIT`` flag to the ``list`` command to
92 limit query results. :bug:`5076`
93
94 Bug fixes
95 ~~~~~~~~~
96
97 - Add ``editor`` config option to allow users to permanently set their preferred
98 editor, overriding ``$VISUAL`` and ``$EDITOR`` environment variables.
99 :bug:`6641`
100 - ``beet update`` no longer crashes when a plugin-added media field is stored as
101 a flexible attribute. :bug:`5580`
102 - A date range query written back to front (for example ``added:2024..2020``) no
103 longer crashes with an uncaught ``ValueError``. The endpoints are now swapped,
104 so such a range means the same as ``added:2020..2024``.
105 - Deduplicating a file whose name already ends in a counter of two or more
106 digits no longer restarts the numbering: ``track.10.mp3`` now yields
107 ``track.11.mp3`` instead of ``track.1.mp3``. The counter was matched with
108 ``\.(\d)+$``, which captures only the final digit.
109 - Autotagging distance calculations no longer treat ordinary words containing
110 "ft" (such as "draft", "left", "gift", "craft") as a "featuring artist"
111 suffix, which was silently making genuinely different titles/artists score as
112 near-identical matches.
113 - :doc:`plugins/lyrics`: ``beet lyrics`` no longer crashes with an
114 ``AttributeError`` on tracks that have no stored lyrics when ``force`` is
115 enabled; a missing lyrics body is now treated as empty text. :bug:`6860`
116 - :doc:`plugins/deezer`: Detect compilations that Deezer credits to a single
117 "main" artist instead of "Various Artists", so they are tagged as such rather
118 than getting every track artist in the album artist field. :bug:`4057`
119 - Flexible attributes whose names contain uppercase characters (for example
120 ``beet import --set Tag_With_Uppercase=true``) can now be found by queries.
121 Field names are lowercased when a query is parsed, so such attributes could
122 never be matched; flexible attribute lookups now fall back to a
123 case-insensitive key match. :bug:`4565`
124 - :doc:`plugins/deezer`: Singleton searches now use plain free text rather than
125 ``<title> artist:"<artist>"``. Deezer discards unquoted free text as soon as a
126 query contains any ``field:"value"`` filter, so the old query was evaluated as
127 ``artist:"<artist>"`` alone -- every track by the artist, in Deezer's own
128 relevance order and truncated to ``search_limit``. For artists with more
129 releases than that window, the track being imported was never among the
130 candidates offered.
131 - :doc:`plugins/tidal`: The ``label`` field no longer stores Tidal's raw
132 copyright/rights-statement text verbatim. It's now normalized to a concise
133 label name, stripping copyright markers, years, and corporate, licensing, and
134 territorial boilerplate. Affects both album and track metadata. :bug:`6796`
135 - :doc:`plugins/deezer`: Track conversion no longer assumes the API sends both
136 ``contributors`` and ``artist``. The fallback to ``artist`` was evaluated even
137 when ``contributors`` was present, so a track payload without ``artist``
138 raised ``KeyError``. Albums were already guarded; this fixes the remaining
139 call site. :bug:`4339`
140 - :doc:`plugins/discogs`: Retry a search once when Discogs returns an invalid
141 JSON response instead of immediately discarding all Discogs candidates.
142 - Plugins built on ``SearchApiMetadataSourcePlugin``
143 (:doc:`plugins/musicbrainz`, :doc:`plugins/spotify`, :doc:`plugins/deezer` and
144 :doc:`plugins/discogs`) no longer send a search request when both the query
145 text and the filters are empty. :bug:`6862`
146 - :doc:`plugins/ipfs`: Fix ``beet ipfs --play`` option to invoke the Play plugin
147 through its command interface.
148 - :doc:`plugins/lyrics`: LRCLib entries that carry no lyrics text at all, with
149 both ``plainLyrics`` and ``syncedLyrics`` null while ``instrumental`` is
150 ``False``, are no longer considered matches. Previously such an entry was
151 accepted and its null text propagated, raising ``AttributeError: 'NoneType'
152 object has no attribute 'splitlines'``. During an import this aborted the
153 whole run rather than a single track. A null ``plainLyrics`` now also falls
154 back to the synced lyrics instead of discarding them.
155 - :ref:`modify-cmd`: Fix applying changes when choosing objects in interactive
156 select mode. :bug:`4880`
157 - :ref:`move-cmd`: Fix moving albums in interactive select/timid mode.
158 :bug:`2802`
159 - :doc:`plugins/bpd`: Fix ``search`` command when ``any`` field is used.
160 - :doc:`plugins/aura`: Prevent multi-valued field filters from crashing with an
161 ``sqlite3.InterfaceError``.
162 - :doc:`plugins/aura`: When sorting by ``field``, do not exclude resources that
163 have no value for ``field``.
164 - :doc:`plugins/scrub`: The scrub plugin now respects the ``--nowrite`` (``-W``)
165 flag during import. Previously, ``beet import -W`` with the scrub plugin
166 enabled would still remove tags from imported files; the plugin now skips
167 scrubbing when ``should_write()`` returns ``False``. :bug:`6958`
168 - :doc:`plugins/convert`: Fixed convert plugin not taking into account the new
169 format when determining the target path. :bug:`1360`
170 - :doc:`plugins/edit`: Item-only fields rejected from the album header remain
171 available in per-track documents during interactive import when they are also
172 configured in ``itemfields``. :bug:`6953`
173 - :doc:`plugins/tidal`: Pass the converted track duration as ``length`` so it
174 contributes to the autotagging track-length distance instead of being silently
175 stored as a ``duration`` flexible attribute.
176 - :doc:`plugins/tidal`: Restore catalog searches after TIDAL moved search
177 queries from the request path to the required ``filter[query]`` parameter.
178 :bug:`6989`
179 - :ref:`import-cmd`: Restore the ability to import from tar and 7z archives.
180 Both failed with an ``'... object has no attribute 'infolist'`` error because
181 ``tarfile.TarFile`` lost its ``ZipFileCompat`` interface in Python 3 and
182 ``py7zr.SevenZipFile`` exposes ``list()`` rather than ``infolist()``.
183 :bug:`5664`
184 - :doc:`plugins/listenbrainz` and :doc:`plugins/lastimport`: Play counts are now
185 matched more accurately. An exact MusicBrainz recording ID match is preferred
186 when one exists, and titles are matched exactly (confirmed by the artist or
187 album) before falling back to the previous substring-based matching.
188 Previously all queries were combined, so a listen for "Song" also updated
189 "Song (inst.)" or any other item whose title only contained the listened
190 title.
191 - :doc:`plugins/limit` Deprecate the ``limit`` plugin in favor of the new ``-l``
192 / ``--limit`` flag for the :ref:`list-cmd` command.
193
194 ..
195 For plugin developers
196 ~~~~~~~~~~~~~~~~~~~~~
197
198 Other changes
199 ~~~~~~~~~~~~~
200
201 - :doc:`plugins/bpd`: Replace the bundled Bluelet scheduler with Python's
202 standard ``asyncio`` event loop.
203 - Docs: fix broken link to ``test/dbcore/test_query.py`` in
204 ``CONTRIBUTING.rst``; add crawler-blocking and unreachable sites to
205 ``linkcheck_ignore`` in ``docs/conf.py``.
206
207 2.13.1 (July 29, 2026)
208 ----------------------
209
210 Bug fixes
211 ~~~~~~~~~
212
213 - Fixed source distributions not including the bundled man pages. :bug:`6882`
214
215 2.13.0 (July 27, 2026)
216 ----------------------
217
218 New features
219 ~~~~~~~~~~~~
220
221 - :doc:`plugins/spotify`: Recognize native Spotify URIs (e.g.
222 ``spotify:album:<id>`` and ``spotify:track:<id>``) when extracting
223 release/track IDs, in addition to full ``open.spotify.com`` URLs and bare IDs
224 - :doc:`/plugins/convert`: Add new configuration option ``convert.refresh`` and
225 command-line option ``--refresh``, allowing to force ``convert`` operation
226 when original file is newer than existing converted file.
227 - :doc:`plugins/lyrics`: Added a ``rest_directory`` configuration option for
228 specifying a reStructuredText output directory, semantically equivalent to
229 ``-r, --write-rest``. :bug:`2806`
230 - A database backup is now automatically created before running schema
231 migrations. Control with the ``create_backup_before_migrations`` option
232 (default: yes).
233 - :doc:`plugins/tidal`: Add cover art support. Album metadata now includes
234 ``cover_art_url`` from Tidal's ``coverArt`` relationship, which the
235 :doc:`plugins/fetchart` plugin can retrieve.
236 - :ref:`modify-cmd`: Support ``+=`` and ``-=`` operators to add or remove
237 individual values from multi-valued fields without replacing the whole field.
238 :bug:`6587`
239 - :doc:`plugins/edit`: The interactive import editor now shows album-level
240 fields (as configured by ``albumfields``) as a YAML header section when
241 editing an album import. Fields that appear in both ``itemfields`` and
242 ``albumfields`` are shown only in the header, not per-track.
243 - :doc:`plugins/ftintitle`: Apply featured-artist rewriting to fetched metadata
244 before commands such as :doc:`plugins/mbsync` use it. :bug:`1153`
245 - :doc:`plugins/fetchart`: Add ``fetch_for_asis`` setting that enables fetching
246 album art from online sources even when imported files are not modified by the
247 auto-tagger. Default is ``no`` which means ``fetchart`` looks for art only in
248 the local filesystem when the user (or ``quiet_fallback``) chooses ``asis``.
249 - :doc:`plugins/lyrics`: Added a ``--no-keep-synced`` command option to override
250 ``keep_synced: yes`` for a single manual lyrics fetch.
251 - :doc:`plugins/lastgenre`: Add support for normalizing genre spellings and
252 naming variants with a new configuration option ``aliases``. The feature is
253 enabled by default and ships with a built-in list of regex patterns. These
254 patterns can be replaced via the user's configuration. The default whitelist
255 and genre tree were audited against the top 1,000 Last.fm tags: canonical
256 names are now consistent across both files, long-standing mismatches between
257 them have been resolved, and entries align with the built-in alias patterns.
258 :bug:`6466`
259 - :doc:`plugins/lyrics`: Add ``lrcmux`` backend, which aggregates lyrics from
260 various other sources.
261 - :doc:`plugins/replaygain`: Add a ``metaflac`` backend that computes ReplayGain
262 for FLAC files using the ``metaflac`` command-line tool. :bug:`1203`
263
264 Bug fixes
265 ~~~~~~~~~
266
267 - :doc:`plugins/edit`: Preserve missing album art paths when editing album
268 metadata, instead of turning ``artpath: null`` into a path ending in ``None``.
269 :bug:`2438`
270 - :doc:`plugins/subsonicupdate`: Log a clearer error when the Subsonic server
271 returns a non-JSON response. :bug:`5635`
272 - :doc:`plugins/missing`: Honor the ``-f``/``--format`` option (and the
273 ``format_album`` configuration) when listing missing albums in album mode.
274 :bug:`3804`
275 - :doc:`plugins/importfeeds`: ``beet import`` no longer aborts the whole run
276 when a symlink cannot be created (e.g. on Windows or a read-only directory);
277 the failure is logged and the import continues. :bug:`840`
278 - Album ``store`` no longer copies ``artpath`` onto its items as an absolute
279 path, which broke relative-path portability. A database migration removes any
280 such stale ``artpath`` attributes left on items by earlier versions.
281 :bug:`6756`
282 - :doc:`plugins/convert`: ``convert -a`` with ``copy_album_art`` enabled no
283 longer crashes when the stored album art path points to a missing file (for
284 example a multi-disc album whose cover lives in the album root rather than a
285 per-disc directory); the missing art is skipped instead. :bug:`4692`
286 - :doc:`plugins/tidal`: Normalize Tidal album types to lowercase.
287 - :doc:`plugins/lyrics`: Leave lyrics empty when a source reports an
288 instrumental track, and store that state in ``lyrics_instrumental`` flexible
289 attribute. Existing ``[Instrumental]`` lyrics are migrated automatically.
290 :bug:`6719`
291 - Sorting by a nullable field (for example a flexible attribute with a declared
292 type whose null value is ``None``) that is present on only some items no
293 longer crashes with a ``TypeError``. Missing values are now grouped together,
294 ordered before present ones when sorting ascending and after them when
295 descending. :bug:`3461`
296 - :doc:`plugins/smartplaylist`: ``splupdate`` no longer crashes with
297 ``TypeError: unhashable type: 'list'`` when a playlist configuration includes
298 a ``playlist:`` query. :bug:`5354`
299 - A date query containing a stray ``|`` (for example ``added:2000|2001``, as
300 might be typed by a user expecting ``|`` to mean "or") now raises a clean "a
301 valid date/time string" error instead of crashing with an uncaught
302 ``KeyError``. A ``|`` was being accepted as a relative-date unit due to a
303 regular expression character-class typo.
304
305 ..
306 For plugin developers
307 ~~~~~~~~~~~~~~~~~~~~~
308
309 Other changes
310 ~~~~~~~~~~~~~
311
312 - :doc:`/guides/installation` Add Homebrew to the list of supported package
313 managers in the installation guide.
314 - :doc:`/guides/installation`: Note that Windows users should run beets in a
315 terminal emulator (such as Windows Terminal or cmder) for output to display
316 correctly. :bug:`2848`
317 - :doc:`contributing`: The project now uses ``uv`` for packaging, virtual
318 environment, and dependency management, replacing ``poetry``. The build
319 backend has changed from ``poetry-core`` to ``hatchling``. Please see updates
320 in :ref:`development-tools` and :ref:`getting-the-source` for more
321 information. :bug:`5783`
322 - :doc:`guides/installation`: Switch isolated tool installation guidance and
323 GitHub workflow setup to ``uv tool`` commands.
324 - :doc:`plugins/lastgenre`: Add a new "Choosing the Right Tool" documentation
325 section to guide users in picking the right approach across genre fetching,
326 filtering, and normalization.
327 - :doc:`plugins/spotify`: Retry on ``503 Service Unavailable`` responses from
328 the Spotify API instead of immediately aborting, matching the existing ``429``
329 rate-limit retry behavior.
330
331 2.12.0 (June 22, 2026)
332 ----------------------
333
334 New features
335 ~~~~~~~~~~~~
336
337 - :doc:`plugins/convert`: The ``--force`` and ``--keep-new`` CLI flags are now
338 also available as config options via ``force`` and ``keep_new``.
339 - :ref:`import-cmd`: The ``--nomove`` / ``-M`` CLI flag can now be used to
340 override the ``move: yes`` config option during import.
341 - :doc:`plugins/lyrics`: Write synced (LRC) lyrics to the ``SYLT`` (synchronized
342 lyrics) ID3 frame and plain text to ``USLT`` for ID3-tagged files, instead of
343 storing raw LRC timestamps in ``USLT``. Players that only support ``USLT``
344 continue to see readable plain lyrics. :bug:`6541`
345 - :doc:`plugins/listenbrainz`: Add support for importing ListenBrainz listening
346 history from an export file. Use the ``-f`` / ``--export-file`` flag to
347 specify the path to the ListenBrainz export file.
348 - :doc:`plugins/musicbrainz`: Introduce
349 :conf:`plugins.musicbrainz:aliases_as_credits` to make
350 aliases-as-artist-credit optional.
351 - :doc:`plugins/badfiles`: Added settings for auto error and warning actions.
352 - :doc:`plugins/tidal`: New flexible attributes are now populated during
353 imports, including ``tidal_track_id``, ``tidal_album_id``,
354 ``tidal_artist_id``, ``tidal_track_popularity``, ``tidal_album_popularity``,
355 and ``tidal_updated``. Added a new ``beet tidalsync`` command to refresh
356 popularity data for imported items by default, or albums with ``--album``,
357 with ``--force`` to re-fetch and ``--write`` to update file tags.
358
359 **Migration**: Existing Tidal imports can copy the previously stored IDs into
360 the new flexible attributes with ``beet modify``: run ``beet modify
361 data_source:tidal tidal_album_id='$mb_albumid' -a`` for albums and ``beet
362 modify data_source:tidal tidal_track_id='$mb_trackid'`` for items.
363
364 Bug fixes
365 ~~~~~~~~~
366
367 - :doc:`plugins/lyrics`: Add rate limiting and exponential backoff to HTTP
368 requests to prevent ``429 Too Many Requests`` errors from lyrics sources
369 during bulk imports. :bug:`6728`
370 - :doc:`plugins/replace`: Fix ``TypeError`` when invoking the ``replace``
371 command. :bug:`6260`
372 - :doc:`plugins/mpdstats`: Fix crashes and invalid configuration when passing
373 ``--host``, ``--port``, or ``--password`` on the command line. :bug:`5404`
374 - :ref:`import-cmd`: Fix duplicate album merge during import when running in
375 threaded mode. The merge action no longer creates a duplicate folder or
376 reports ``could not get filesize`` errors. :bug:`6601`
377 - :doc:`plugins/mbpseudo`: Fix crashes when applying a pseudo-release. One in
378 ``PseudoAlbumInfo.raw_data`` and a ``sqlite3.ProgrammingError``.
379 - :doc:`plugins/duplicates`: Fix plugin output: information about duplicate
380 items was not displayed by default. --count option was ignored :bug:`6476`
381 - :doc:`plugins/mbsync` / :doc:`plugins/bpsync`: Do not clear items metadata
382 when ``import.from_scratch`` is enabled. :bug:`6613`
383 - :doc:`plugins/tidal`: add ``tidal`` dependency extra to make sure
384 ``requests-oauthlib`` is installed. :bug:`6633`
385 - Path format queries now correctly match multi-value fields such as ``genres``
386 when using exact string matches like ``genres:=Classical`` or
387 ``genres:=~Classical``. :bug:`6598`
388 - Fix a CLI help formatting regression that moved command descriptions to
389 separate lines; descriptions are inline again, with regression test coverage.
390 - :ref:`modify-cmd`: Fix ``beet modify -a`` splitting multi-value field strings
391 (like ``artists``, ``genres``) into individual characters when modifying
392 albums. Album field types now fall back to the corresponding item field type
393 definitions. :bug:`5690`
394 - ``AttrDict.__getattribute__`` now unmasks ``AttributeError`` raised inside a
395 ``cached_property`` body. Previously such errors were swallowed by the
396 ``__getattr__`` fallback, producing a misleading message about the property
397 name itself. The wrapped ``RuntimeError`` keeps the original traceback so it
398 still points at the real failing line. :bug:`6558`
399 - ``ReadError`` and ``WriteError`` now include the file path and the underlying
400 reason in their message instead of a ``<super: ...>`` object representation.
401 :bug:`6560`
402 - :doc:`plugins/mbcollection`: Handle MusicBrainz ``401 Unauthorized`` errors
403 during ``mbupdate`` without crashing, and log a clearer message that points
404 users to ``musicbrainz.user`` and ``musicbrainz.pass`` configuration.
405 :bug:`6651`
406 - :doc:`plugins/musicbrainz`: Fix ``KeyError: 'aliases'`` crash when looking up
407 releases with more than 500 tracks.
408 - :doc:`plugins/fetchart`: Catch ``OSError`` in ``_set_art`` so that permission
409 errors (e.g. a file locked by another process) are logged as warnings instead
410 of crashing beets. :bug:`6193`
411 - :doc:`plugins/lyrics`: Improve Musica.com lyric scraping so fetched lyrics no
412 longer omit the opening verse or include non-lyric page content.
413 - :doc:`plugins/convert`: Tidy the ``--playlist`` help text so it no longer has
414 awkward indentation in CLI output.
415 - :doc:`plugins/spotify`: Improved Spotify API parsing to handle missing label
416 data :bug:`6679`
417 - :ref:`move-cmd`: ``beet move`` no longer crashes when an item referenced in
418 the database has been deleted from disk. Missing items are now skipped with a
419 warning and the command continues. :bug:`6720`
420 - :doc:`plugins/fish`: Fix error on plugin initialization.
421 - :doc:`plugins/spotify`: Use single instead of double quotes in spotify
422 queries.
423 - :doc:`plugins/tidal`: Fix auth URL not printed in environments without a
424 configured browser :bug:`6710`
425
426 For plugin developers
427 ~~~~~~~~~~~~~~~~~~~~~
428
429 - Plugin authors can import all autotagger helpers directly from
430 ``beets.autotag``, including match classes, distance helpers, and
431 ``assign_items``, without relying on lower-level autotag modules.
432 - Introduced ``beets.importer.DuplicateAction`` to simplify handling of
433 duplicates.
434
435 Other changes
436 ~~~~~~~~~~~~~
437
438 - :doc:`plugins/lyrics`: Fold rate limiting and 429 retry from the
439 lyrics-specific ``LyricsSession`` into the shared
440 :class:`~beetsplug._utils.requests.TimeoutAndRetrySession` so all plugins
441 benefit. The standalone ``LyricsSession`` class has been removed.
442 - :doc:`plugins/spotify`: ``spotifysync`` now batches its SQLite commit for a
443 sync run, follows the standard beets write-before-store pattern, and logs
444 audio-features API unavailability only once per run.
445 - :doc:`plugins/titlecase`: Correct the path format example and document the
446 ``%titlecase{text}`` template function. :bug:`6697`
447 - Log message prefix formatting (``musicbrainz: msg``) moved from a filter to
448 ``LegacyFormatter``, making future customization easier.
449
450 2.11.0 (May 06, 2026)
451 ---------------------
452
453 New features
454 ~~~~~~~~~~~~
455
456 - :doc:`plugins/smartplaylist`: The ``splupdate`` command output is
457 restructured. The per-playlist summary now includes a track count. Per-track
458 details are shown only when ``-v`` flag is provided (``beet -v splupdate``).
459 The ``--pretend`` flag produces the same output but reports *"N playlists
460 would be updated"* instead of *"N playlists updated"*. The ``--format`` option
461 allows customizing the track line format. The ``--pretend-paths`` option was
462 removed (use ``--format='$path'`` instead). :bug:`6183`
463 - :ref:`import-cmd`: When importing an archive (zip, tar, rar, or 7z) with
464 ``move: yes``, the source archive is now removed after a successful import.
465 Archives are preserved if any file in the archive was not imported (e.g.
466 skipped as a duplicate, or the import was aborted), and in non-move import
467 modes.
468 - :doc:`plugins/fromfilename`: Support ``track`` prefix when parsing the track
469 number from the filename (e.g., ``track01.m4a``).
470 - **Tidal plugin**: Introduces a new plugin for fetching metadata from Tidal. It
471 supports album and track lookups by ID, including batch operations via
472 ``albums_for_ids`` and ``tracks_for_ids``. It also enables search by query as
473 well as identifier-based retrieval, with support for ISRC codes (tracks) and
474 barcode/EANs (albums).
475
476 This is an initial, relatively minimal implementation, but already fully
477 usable for common metadata workflows. We welcome feedback, improvement ideas,
478 and community contributions to further extend its capabilities.
479
480 See :doc:`plugins/tidal` for more information.
481
482 - Add support for adding or modifying a subtitle (ID3 tag ``TIT3``) field
483
484 Bug fixes
485 ~~~~~~~~~
486
487 - :ref:`import-cmd`: Multi-disc album detection now recognizes ``cassette``,
488 ``digital media``, and ``vinyl`` as disc markers (e.g. ``vinyl 1``, ``12 vinyl
489 2``), in addition to the existing ``disc``, ``disk``, and ``cd`` markers.
490 - :ref:`import-cmd`: Tags with a zero distance penalty are no longer shown as
491 differences in the match display. Previously, custom ``distance_weights``
492 could cause fields with no actual mismatch to appear in the ``≠`` line.
493 - Library path migration now also handles manually edited database rows where
494 item or album-art paths were stored as SQLite ``TEXT`` values instead of
495 bytes, so upgrading to the portable-path storage format no longer fails for
496 those libraries. :bug:`6561`
497 - :ref:`import-cmd`: Fix duplicate album art files (e.g. ``cover.2.jpg``) being
498 created when re-importing albums with the :doc:`plugins/fetchart` plugin
499 enabled. Old album art is now properly removed when replacing duplicate albums
500 during import. :bug:`1264` :bug:`6205`
501 - :doc:`plugins/discogs`: Prevent duplicate featured artists in track artist
502 fields when the same artist is credited both in ``artists`` (for example with
503 ``Feat.`` join text) and ``extraartists`` as ``Featuring``. :bug:`6166`
504 - :ref:`import-cmd`: Metadata source plugin ID lookups now correctly call each
505 plugin's own lookup method when running in parallel. :bug:`6583`
506 - Improve ``DBAccessError`` messages to help users diagnose database permission
507 issues more easily. The error message now mentions directory missing and file
508 permissions as potential causes. :bug:`1676`
509 - :doc:`plugins/lyrics`: Fix apostrophe handling in the ``musixmatch`` backend
510 slug. :bug:`4759`
511 - :ref:`import-cmd`: With ``original_date: yes``, album-level ``year``,
512 ``month``, and ``day`` now use the original release date. :bug:`6577`
513 - :doc:`plugins/musicbrainz`: Correctly handle release dates where leading or
514 intermediate components are missing, e.g. 2008-??-02
515 - :doc:`plugins/badfiles`: Respect quiet mode (the ``--quiet`` flag or
516 ``import.quiet: yes`` config) during import so the corrupt-file prompt is
517 suppressed in non-interactive imports. :bug:`4736`
518
519 Other changes
520 ~~~~~~~~~~~~~
521
522 - :doc:`plugins/spotify`: Batch ``spotifysync`` track and audio-features API
523 requests and deduplicate repeated Spotify track IDs within a run.
524
525 2.10.0 (April 19, 2026)
526 -----------------------
527
528 New features
529 ~~~~~~~~~~~~
530
531 - **Beets library is now made portable**: item and album-art paths are now
532 stored relative to the library root in the database while remaining absolute
533 in the rest of beets. Path queries continue matching both library-relative
534 paths and absolute paths under the currently configured music directory under
535 the new storage model. The existing paths in the database are migrated
536 automatically the first time you run any ``beet`` command after the update.
537 :bug:`133`
538
539 .. warning::
540
541 make sure you run ``beet version`` (or any other command) at least once
542 after upgrading to trigger the migration. Only then you can safely move
543 the library to a new location.
544
545 - :doc:`plugins/inline`: Add access to the ``album`` or ``item`` object as
546 ``db_obj`` in inline fields.
547 - :doc:`plugins/discogs`: Import Discogs remixer, lyricist, composer, and
548 arranger credits into the multi-value ``remixers``, ``lyricists``,
549 ``composers``, and ``arrangers`` fields. :bug:`6380`
550 - :doc:`plugins/lyrics`: Add ``keep_synced`` config option and ``--keep-synced``
551 CLI flag to skip re-fetching lyrics for tracks that already have synced
552 lyrics, even when ``force`` is enabled. :bug:`5249`
553 - :doc:`plugins/musicbrainz`: Use aliases for artist credit.
554 - Metadata source plugin searches and lookups are now executed concurrently,
555 speeding up lookups when multiple plugins (e.g. MusicBrainz and Spotify) are
556 enabled.
557
558 Bug fixes
559 ~~~~~~~~~
560
561 - :ref:`import-cmd` Automatically remux WAV files containing MP3 streams
562 (``WAVE_FORMAT_MPEGLAYER3``) to proper MP3 files during import, instead of
563 silently importing them with incorrect metadata. :bug:`6455`
564 - :doc:`plugins/listenbrainz`: Retry listenbrainz requests for temporary
565 failures.
566 - :doc:`plugins/chroma`: Do not produce MusicBrainz-sourced autotagger
567 candidates when the :doc:`plugins/musicbrainz` plugin is not enabled. The
568 chroma plugin now looks up the musicbrainz plugin through the metadata-source
569 registry instead of unconditionally instantiating its own private instance,
570 which also restores compatibility with :doc:`plugins/mbpseudo` for
571 chroma-triggered lookups. :bug:`6212` :bug:`6441`
572 - :ref:`import-cmd` Remove clutter from imported album folders. :bug:`5016`
573 - :doc:`plugins/web`: Fix a stored XSS vulnerability where unescaped metadata
574 fields (artist, album, title, comments, lyrics) could execute arbitrary
575 JavaScript in the browser. Template tags now use ``<%-`` (escaped
576 interpolation) instead of ``<%=`` (raw interpolation).
577
578 For plugin developers
579 ~~~~~~~~~~~~~~~~~~~~~
580
581 - Consumers of :py:class:`beetsplug._utils.musicbrainz.MusicBrainzAPI` now
582 receive normalized MusicBrainz payloads with underscore-separated field names
583 (for example ``artist_credit`` and ``release_group``) and grouped relation
584 lists such as ``work_relations``, ``release_relations``, and
585 ``url_relations``. The API responses are also now fully typed with concrete
586 ``TypedDict`` models for releases, recordings, works, and relations. Update
587 direct access to raw MusicBrainz response keys if needed.
588
589 2.9.0 (April 11, 2026)
590 ----------------------
591
592 Beets now officially supports Python 3.14.
593
594 New features
595 ~~~~~~~~~~~~
596
597 - :ref:`import-cmd` Use ffprobe to recognize format of any import music file
598 that has no extension. If the file cannot be recognized as a music file, leave
599 it alone. :bug:`4881`
600 - Query: Add ``has_cover_art`` computed field to query items by embedded cover
601 art presence. Users can now search for tracks with or without embedded artwork
602 using ``beet list has_cover_art:true`` or ``beet list has_cover_art:false``.
603 - :doc:`plugins/autobpm`: Add ``force`` configuration and CLI option and
604 deprecate ``overwrite``.
605 - :doc:`plugins/autobpm`: The "BPM already exists for item" log message can now
606 be hidden with the ``--quiet`` flag.
607 - :doc:`plugins/smartplaylist`: The list of available playlists shown when an
608 unknown playlist name is passed as an argument is now sorted alphabetically
609 and printed space-delimited and POSIX shell-quoted when required. This makes
610 it easier to copy and paste multiple playlists for further use in the shell.
611 - :doc:`plugins/chroma`: Add new command ``chromasearch`` to search the local
612 library by chromaprint fingerprint.
613 - Store track remixers, lyricists, composers, and arrangers in the multi-valued
614 ``remixers``, ``lyricists``, ``composers``, and ``arrangers`` fields instead
615 of the legacy single-value ``remixer``, ``lyricist``, ``composer``, and
616 ``arranger`` fields. Existing libraries are migrated automatically, and
617 :doc:`plugins/musicbrainz` now preserves each MusicBrainz ``remixer``,
618 ``lyricist``, ``composer``, and ``arranger`` relation as a separate value.
619 - :doc:`plugins/musicbrainz`: Store MBIDs for remixers, lyricists, composers,
620 and arrangers in the new multi-valued fields ``remixers_mbid``,
621 ``lyricists_mbid``, ``composers_mbid``, and ``arrangers_mbid``. :bug:`5698`
622 - :doc:`plugins/replaygain`: Conflicting replay gain tags are now removed on
623 write. RG_* tags are removed when setting R128_* and vice versa.
624 - :doc:`plugins/fetchart`: Add support for WebP images.
625 - :doc:`plugins/lastgenre`: Add support for a user-configurable ignorelist to
626 exclude unwanted or incorrect Last.fm (or existing) genres, either per artist
627 or globally :bug:`6449`
628
629 Bug fixes
630 ~~~~~~~~~
631
632 - :doc:`plugins/deezer`: Fix Various Artists albums being tagged with a
633 localized string instead of the configured ``va_name``. Detection now uses
634 Deezer's artist ID rather than the artist name string. :bug:`4956`
635 - :doc:`plugins/listenbrainz`: Paginate through all ListenBrainz listens instead
636 of fetching only 25, aggregate individual listen events into correct play
637 counts, use ``recording_mbid`` from the ListenBrainz mapping when available,
638 and avoid per-listen MusicBrainz API lookups that caused imports to hang on
639 large listen histories. :bug:`6469`
640 - Correctly handle semicolon-delimited genre values from externally-tagged
641 files. :bug:`6450`
642 - :doc:`plugins/listenbrainz`: Fix ``lbimport`` crashing when ListenBrainz
643 tracks are processed through Last.fm-specific play-count import logic.
644 Play-count imports now use source-specific fields so
645 :doc:`plugins/listenbrainz`, :doc:`plugins/lastimport`, and
646 :doc:`plugins/mpdstats` do not clash. :bug:`6469`
647 - :ref:`import-cmd` Fix ``albumartists_sort`` (and related fields) incorrectly
648 prepending the full combined artist credit as the first element for
649 multi-artist releases. :bug:`6470`
650 - :doc:`plugins/discogs`: Store specific Discogs styles in beets ``genres`` and
651 broader Discogs genres in the ``style`` field. When
652 :conf:`plugins.discogs:append_style_genre` is enabled, the broader Discogs
653 genres are also appended to the ``genres`` list. :bug:`6390`
654 - :doc:`plugins/deezer`: Fix a regression in 2.8.0 where selecting a Deezer
655 match during import could crash with ``AttributeError: 'AlbumInfo' object has
656 no attribute 'raw_data'`` when Deezer returned numeric artist IDs. :bug:`6503`
657 - :ref:`modify-cmd` accepts legacy singular field names such as ``genre``,
658 ``composer``, ``lyricist``, ``remixer``, and ``arranger`` in assignments,
659 rewrites them to the corresponding multi-valued fields, and warns users to
660 switch to the plural field names. :ref:`list-cmd`, and query expressions,
661 accept the same legacy singular field names and warn users to switch to the
662 plural field names. :bug:`6483`
663 - :doc:`plugins/fetchart`: Error when a configured source does not exist or
664 sources configuration is empty. :bug:`6336`
665 - :doc:`plugins/rewrite` :doc:`plugins/advancedrewrite`: Fix rewriting
666 multi-valued fields such as ``genres`` by applying rules to each matching list
667 entry. Additionally, apply rewrite rules in config order, so that multiple
668 rules can be applied to the same field. :bug:`6515`
669
670 For plugin developers
671 ~~~~~~~~~~~~~~~~~~~~~
672
673 - If you maintain a metadata source plugin that populates any of ``arranger``,
674 ``composer``, ``lyricist``, ``remixer`` fields, update it to populate the
675 respective multi-valued fields instead (``arrangers``, ``composers``,
676 ``lyricists``, ``remixers``).
677
678 2.8.0 (March 28, 2026)
679 ----------------------
680
681 New features
682 ~~~~~~~~~~~~
683
684 - :doc:`plugins/discogs`: Add :conf:`plugins.discogs:extra_tags` option to use
685 additional tags (such as ``barcode``, ``catalognum``, ``country``, ``label``,
686 ``media``, and ``year``) in Discogs search queries.
687 - :doc:`plugins/smartplaylist`: Add new configuration option ``dest_regen`` to
688 regenerate items' path in the generated playlist instead of using those in the
689 library. This is useful when items have been imported in don't copy-move (``-C
690 -M``) mode in the library but are later passed through the ``convert`` plugin
691 which will regenerate new paths according to the Beets path format.
692 - :doc:`plugins/missing`: When running in missing album mode, allows users to
693 specify MusicBrainz release types to show using the ``--release-type`` flag.
694 The default behavior is also changed to just show releases of type ``album``.
695 :bug:`2661`
696 - :doc:`plugins/play`: Added ``-R``/``--randomize`` flag to shuffle the playlist
697 order before passing it to the player.
698 - :doc:`plugins/lyrics`: Add ``auto_ignore`` configuration option to skip
699 fetching lyrics for items matching a beets query during auto import.
700 - :doc:`plugins/musicbrainz`: Use title aliases for releases, release groups,
701 and recordings.
702
703 Bug fixes
704 ~~~~~~~~~
705
706 - :doc:`plugins/missing`: Fix ``--album`` mode incorrectly reporting albums
707 already in the library as missing. The comparison now correctly uses
708 ``mb_releasegroupid``.
709 - :ref:`replace`: Made ``drive_sep_replace`` regex logic more precise to prevent
710 edge-case mismatches (e.g., a song titled "1:00 AM" would incorrectly be
711 considered a Windows drive path).
712 - :doc:`plugins/fish`: Fix AttributeError. :bug:`6340`
713 - :ref:`import-cmd` Autotagging by explicit release or recording IDs now keeps
714 candidates from all enabled metadata sources instead of dropping matches when
715 different providers share the same ID. :bug:`6178` :bug:`6181`
716 - :doc:`plugins/mbsync` and :doc:`plugins/missing` now use each item's stored
717 ``data_source`` for ID lookups, with a fallback to ``MusicBrainz``.
718 - :doc:`plugins/musicbrainz`: Use ``va_name`` config for ``albumartist_sort``,
719 ``albumartists_sort``, ``albumartist_credit``, ``albumartists_credit``, and
720 ``albumartists`` on VA releases instead of hardcoded "Various Artists".
721 :bug:`6316`
722 - :doc:`plugins/beatport`: Use ``va_name`` config for the album artist on VA
723 releases instead of hardcoded "Various Artists". :bug:`6316`
724 - :ref:`config-cmd` on Windows now uses ``cmd /c start ""`` for the default
725 editor fallback so ``beet config -e`` works when ``VISUAL`` and ``EDITOR`` are
726 unset. :bug:`6436`
727 - :doc:`plugins/lastimport`: Rename flexible field ``play_count`` to
728 ``lastfm_play_count`` to avoid conflicts with :doc:`plugins/mpdstats`.
729 **Migration**: This cannot be migrated automatically because of the field
730 clash. If you use ``lastimport`` without ``mpdstats``, migrate manually with
731 ``beet modify lastfm_play_count='$play_count'``.
732 - :ref:`import-cmd` Simplify autotag metadata application for albums and
733 singletons, fixing null-overwrite handling and keeping singular/plural artist
734 metadata fields in sync during tagging.
735
736 For plugin developers
737 ~~~~~~~~~~~~~~~~~~~~~
738
739 - :py:func:`beets.metadata_plugins.album_for_id` and
740 :py:func:`beets.metadata_plugins.track_for_id` now require a ``data_source``
741 argument and query only that provider.
742 - Colorisation, diff and layout utility helpers previously imported from
743 :mod:`beets.ui` now live in :mod:`beets.util.color`, :mod:`beets.util.diff`,
744 and :mod:`beets.util.layout`. Update external imports accordingly.
745 - The lastgenre ``tunelog`` helper was generalized into
746 :py:meth:`beets.logging.BeetsLogger.extra_debug`, which emits ``DEBUG``
747 messages only at verbosity level 3 or higher (for example ``-vvv``). Plugin
748 authors can use it via ``self._log.extra_debug(...)``.
749
750 Other changes
751 ~~~~~~~~~~~~~
752
753 - Deprecate the :doc:`plugins/beatport` and :doc:`plugins/bpsync` plugins.
754 Beatport has retired the API these plugins rely on, making them
755 non-functional. :bug:`3862`
756 - API-backed metadata source plugins can now use
757 :py:class:`~beets.metadata_plugins.SearchApiMetadataSourcePlugin` for shared
758 search orchestration. Implement provider behavior in
759 :py:meth:`~beets.metadata_plugins.SearchApiMetadataSourcePlugin.get_search_query_with_filters`
760 and
761 :py:meth:`~beets.metadata_plugins.SearchApiMetadataSourcePlugin.get_search_response`.
762 - :doc:`guides/installation`: Remove redundant macOS section from the
763 installation guide. :bug:`5993`
764 - :doc:`guides/installation`: Update installation guide to document plugin
765 management with pipx and move package manager instructions to the FAQ.
766 - :doc:`guides/main`: Update quick installation section to reflect current
767 installation guide structure.
768 - :doc:`guides/installation`: Update pipx installation guide link
769 - :doc:`contributing`: Update pipx installation guide link
770
771 2.7.1 (March 08, 2026)
772 ----------------------
773
774 Bug fixes
775 ~~~~~~~~~
776
777 - Tests that depend on the optional ``langdetect`` package are now skipped when
778 the package is not installed. :bug:`6421`
779
780 2.7.0 (March 07, 2026)
781 ----------------------
782
783 New features
784 ~~~~~~~~~~~~
785
786 - :doc:`plugins/lastgenre`: Added ``cleanup_existing`` configuration flag to
787 allow whitelist canonicalization of existing genres.
788 - Add native support for multiple genres per album/track. The ``genres`` field
789 now stores genres as a list and is written to files as multiple individual
790 genre tags (e.g., separate GENRE tags for FLAC/MP3) while the singular
791 ``genre`` field has been removed. The :doc:`plugins/musicbrainz`,
792 :doc:`plugins/beatport`, :doc:`plugins/discogs` and :doc:`plugins/lastgenre`
793 plugins have been updated to populate the ``genres`` field as a list.
794
795 **Migration**: Existing libraries with comma-separated, semicolon-separated,
796 or slash-separated genre strings (e.g., ``"Rock, Alternative, Indie"``) are
797 automatically migrated to the ``genres`` list when you first run beets after
798 upgrading. The migration runs once when the database schema is updated,
799 splitting genre strings and writing the changes to the database. The updated
800 ``genres`` values will be written to media files the next time you run a
801 command that writes tags (such as ``beet write`` or during import). No manual
802 action or ``mbsync`` is required.
803
804 The existing values in the legacy ``genre`` field are split by the first
805 separator found in the string, in the following order of precedence:
806
807 1. :doc:`plugins/lastgenre` ``separator`` configuration
808 2. Semicolon followed by a space
809 3. Comma followed by a space
810 4. Slash wrapped by spaces
811
812 - :doc:`plugins/lyrics`: With ``synced`` enabled, existing synced lyrics are no
813 longer replaced by newly fetched plain lyrics, even when ``force`` is enabled.
814 - :doc:`plugins/lyrics`: Remove ``Source: <lyrics-url>`` suffix from lyrics.
815 Store the backend name in ``lyrics_backend``, URL in ``lyrics_url``, language
816 in ``lyrics_language`` and translation language (if translations present) in
817 ``lyrics_translation_language`` flexible attributes. Lyrics are automatically
818 migrated on the first beets run. :bug:`6370`
819
820 Bug fixes
821 ~~~~~~~~~
822
823 - :doc:`plugins/ftintitle`: Fix handling of multiple featured artists with
824 ampersand.
825 - :doc:`plugins/zero`: When the ``omit_single_disc`` option is set,
826 ``disctotal`` is zeroed alongside ``disc``.
827 - :doc:`plugins/fetchart`: Prevent deletion of configured fallback cover art
828 - :ref:`import-cmd` When autotagging, initialise empty multi-valued fields with
829 ``None`` instead of empty list, which caused beets to overwrite existing
830 metadata with empty list values instead of leaving them unchanged. :bug:`6403`
831 - :doc:`plugins/fuzzy`: Improve fuzzy matching when the query is shorter than
832 the field value so substring-style searches produce more useful results.
833 :bug:`2043`
834 - :doc:`plugins/fuzzy`: Force slow query evaluation whenever the fuzzy prefix is
835 used (for example ``~foo`` or ``%%foo``), so fuzzy matching is applied
836 consistently. :bug:`5638`
837 - :ref:`import-cmd` Duplicate detection now works for as-is imports (when
838 ``autotag`` is disabled). Previously, ``duplicate_keys`` and
839 ``duplicate_action`` config options were silently ignored for as-is imports.
840 - :doc:`/plugins/convert`: Fix extension substitution inside path of the
841 exported playlist.
842
843 For plugin developers
844 ~~~~~~~~~~~~~~~~~~~~~
845
846 - If you maintain a metadata source plugin that populates the ``genre`` field,
847 please update it to populate a list of ``genres`` instead. You will see a
848 deprecation warning for now, but support for populating the single ``genre``
849 field will be removed in version ``3.0.0``.
850
851 Other changes
852 ~~~~~~~~~~~~~
853
854 - :ref:`modify-cmd`: Use the following separator to delimit multiple field
855 values: |semicolon_space|. For example ``beet modify albumtypes="album; ep"``.
856 Previously, ``\␀`` was used as a separator. This applies to fields such as
857 ``artists``, ``albumtypes`` etc.
858 - Improve highlighting of multi-valued fields changes.
859 - :doc:`plugins/edit`: Editing multi-valued fields now behaves more naturally,
860 with list values handled directly to make metadata edits smoother and more
861 predictable.
862 - :doc:`plugins/lastgenre`: The ``separator`` configuration option is removed.
863 Since genres are now stored as a list in the ``genres`` field and written to
864 files as individual genre tags, this option has no effect and has been
865 removed.
866 - :doc:`plugins/lyrics`: To cut down noise from the ``lrclib`` lyrics source,
867 synced lyrics are now checked to ensure the final verse falls within the
868 track's duration.
869 - Updated URLs in the documentation to use HTTPS where possible and updated
870 outdated links.
871
872 2.6.2 (February 22, 2026)
873 -------------------------
874
875 Bug fixes
876 ~~~~~~~~~
877
878 - :doc:`plugins/musicbrainz`: Fix crash when release mediums lack the ``tracks``
879 key. :bug:`6302`
880 - :doc:`plugins/musicbrainz`: Fix search terms escaping. :bug:`6347`
881 - :doc:`plugins/musicbrainz`: Fix support for ``alias`` and ``tracks``
882 :conf:`plugins.musicbrainz:extra_tags`.
883 - :doc:`plugins/musicbrainz`: Fix fetching very large releases that have more
884 than 500 tracks. :bug:`6355`
885 - :doc:`plugins/badfiles`: Fix number of found errors in log message
886 - :doc:`plugins/replaygain`: Avoid magic Windows prefix in calls to command
887 backends, such as ``mp3gain``. :bug:`2946`
888 - :doc:`plugins/mbpseudo`: Fix crash due to missing ``artist_credit`` field in
889 the MusicBrainz API response. :bug:`6339`
890 - :ref:`config-cmd`: Improved error message when user-configured editor does not
891 exist. :bug:`6176`
892
893 Other changes
894 ~~~~~~~~~~~~~
895
896 - :doc:`plugins/lyrics`: Disable ``tekstowo`` by default because it blocks the
897 beets User-Agent.
898
899 2.6.1 (February 02, 2026)
900 -------------------------
901
902 Bug fixes
903 ~~~~~~~~~
904
905 - Make ``packaging`` a required dependency. :bug:`6332`
906
907 2.6.0 (February 01, 2026)
908 -------------------------
909
910 Beets now requires Python 3.10 or later since support for EOL Python 3.9 has
911 been dropped.
912
913 New features
914 ~~~~~~~~~~~~
915
916 - :doc:`plugins/fetchart`: Added config setting for a fallback cover art image.
917 - :doc:`plugins/ftintitle`: Added argument for custom feat. words in ftintitle.
918 - :doc:`plugins/ftintitle`: Added album template value ``album_artist_no_feat``.
919 - :doc:`plugins/musicbrainz`: Allow selecting tags or genres to populate the
920 genres tag.
921 - :doc:`plugins/ftintitle`: Added argument to skip the processing of artist and
922 album artist are the same in ftintitle.
923 - :doc:`plugins/play`: Added ``$playlist`` marker to precisely edit the playlist
924 filepath into the command calling the player program.
925 - :doc:`plugins/lastgenre`: For tuning plugin settings ``-vvv`` can be passed to
926 receive extra verbose logging around last.fm results and how they are
927 resolved. The ``extended_debug`` config setting and ``--debug`` option have
928 been removed.
929 - :doc:`plugins/importsource`: Added new plugin that tracks original import
930 paths and optionally suggests removing source files when items are removed
931 from the library.
932 - :doc:`plugins/mbpseudo`: Add a new ``mbpseudo`` plugin to proactively receive
933 MusicBrainz pseudo-releases as recommendations during import.
934 - Added support for Python 3.13.
935 - :doc:`/plugins/convert`: ``force`` can be passed to override checks like
936 no_convert, never_convert_lossy_files, same format, and max_bitrate
937 - :doc:`plugins/titlecase`: Add the ``titlecase`` plugin to allow users to
938 resolve differences in metadata source styles.
939 - :doc:`plugins/spotify`: Added support for multi-artist albums and tracks,
940 saving all contributing artists to the respective fields.
941 - :doc:`plugins/fetchart`: Fix colorized output text.
942 - :doc:`plugins/ftintitle`: Featured artists are now inserted before brackets
943 containing remix/edit-related keywords (e.g., "Remix", "Live", "Edit") instead
944 of being appended at the end. This improves formatting for titles like "Song 1
945 (Carol Remix) ft. Bob" which becomes "Song 1 ft. Bob (Carol Remix)". A variety
946 of brackets are supported and a new ``bracket_keywords`` configuration option
947 allows customizing the keywords. Setting ``bracket_keywords`` to an empty list
948 matches any bracket content regardless of keywords.
949 - :doc:`plugins/discogs`: Added support for multi value fields. :bug:`6068`
950 - :doc:`plugins/embedart`: Embedded arts can now be cleared during import with
951 the ``clearart_on_import`` config option. Also, ``beet clearart`` is only
952 going to update the files matching the query and with an embedded art, leaving
953 untouched the files without.
954 - :doc:`plugins/fish`: Filenames are now completed in more places, like after
955 ``beet import``.
956 - :doc:`plugins/random`: Added ``--field`` option to specify which field to use
957 for equal-chance sampling (default: ``albumartist``).
958
959 Bug fixes
960 ~~~~~~~~~
961
962 - :doc:`/plugins/lastgenre`: Canonicalize genres when ``force`` and
963 ``keep_existing`` are ``on``, yet no genre info on lastfm could be found.
964 :bug:`6303`
965 - Handle potential OSError when unlinking temporary files in ArtResizer.
966 :bug:`5615`
967 - :doc:`/plugins/spotify`: Updated Spotify API credentials. :bug:`6270`
968 - :doc:`/plugins/smartplaylist`: Fixed an issue where multiple queries in a
969 playlist configuration were not preserving their order, causing items to
970 appear in database order rather than the order specified in the config.
971 :bug:`6183`
972 - :doc:`plugins/inline`: Fix recursion error when an inline field definition
973 shadows a built-in item field (e.g., redefining ``track_no``). Inline
974 expressions now skip self-references during evaluation to avoid infinite
975 recursion. :bug:`6115`
976 - When hardlinking from a symlink (e.g. importing a symlink with hardlinking
977 enabled), dereference the symlink then hardlink, rather than creating a new
978 (potentially broken) symlink :bug:`5676`
979 - :doc:`/plugins/spotify`: The plugin now gracefully handles audio-features API
980 deprecation (HTTP 403 errors). When a 403 error is encountered from the
981 audio-features endpoint, the plugin logs a warning once and skips audio
982 features for all remaining tracks in the session, avoiding unnecessary API
983 calls and rate limit exhaustion.
984 - Running ``beet --config <mypath> config -e`` now edits ``<mypath>`` rather
985 than the default config path. :bug:`5652`
986 - :doc:`plugins/lyrics`: Accepts strings for lyrics sources (previously only
987 accepted a list of strings). :bug:`5962`
988 - Fix a bug introduced in release 2.4.0 where import from any valid
989 import-log-file always threw a "none of the paths are importable" error.
990 - :doc:`/plugins/web`: repair broken ``/item/values/…`` and `/albums/values/…`
991 endpoints. Previously, due to single-quotes (ie. string literal) in the SQL
992 query, the query eg. ``GET /item/values/albumartist`` would return the literal
993 "albumartist" instead of a list of unique album artists.
994 - Sanitize log messages by removing control characters preventing terminal
995 rendering issues.
996 - When using :doc:`plugins/fromfilename` together with :doc:`plugins/edit`,
997 temporary tags extracted from filenames are no longer lost when discarding or
998 cancelling an edit session during import. :bug:`6104`
999 - :ref:`update-cmd` :doc:`plugins/edit` fix display formatting of field changes
1000 to clearly show added and removed flexible fields.
1001 - :doc:`plugins/lastgenre`: Fix the issue where last.fm doesn't return any
1002 result in the artist genre stage because "concatenation" words in the artist
1003 name (like "feat.", "+", or "&") prevent it. Using the albumartists list field
1004 and fetching a genre for each artist separately improves the chance of
1005 receiving valid results in that stage.
1006 - :doc:`/plugins/ftintitle`: Fixed artist name splitting to prioritize explicit
1007 featuring tokens (feat, ft, featuring) over generic separators (&, and),
1008 preventing incorrect splits when both are present.
1009 - :doc:`reference/cli`: Fix 'from_scratch' option for singleton imports: delete
1010 all (old) metadata when new metadata is applied. :bug:`3706`
1011 - :doc:`/plugins/convert`: ``auto_keep`` now respects ``no_convert`` and
1012 ``never_convert_lossy_files`` when deciding whether to copy/transcode items,
1013 avoiding extra lossy duplicates.
1014 - :doc:`plugins/discogs`: Fixed unexpected flex attr from the Discogs plugin.
1015 :bug:`6177`
1016 - Errors in metadata plugins during autotage process will now be logged but
1017 won't crash beets anymore. If you want to raise exceptions instead, set the
1018 new configuration option ``raise_on_error`` to ``yes`` :bug:`5903`,
1019 :bug:`4789`.
1020
1021 For plugin developers
1022 ~~~~~~~~~~~~~~~~~~~~~
1023
1024 - A new plugin event, ``album_matched``, is sent when an album that is being
1025 imported has been matched to its metadata and the corresponding distance has
1026 been calculated.
1027 - Added a reusable requests handler which can be used by plugins to make HTTP
1028 requests with built-in retry and backoff logic. It uses beets user-agent and
1029 configures timeouts. See :class:`~beetsplug._utils.requests.RequestHandler`
1030 for documentation.
1031 - Replaced dependency on ``python-musicbrainzngs`` with a lightweight custom
1032 MusicBrainz client implementation and updated relevant plugins accordingly:
1033
1034 - :doc:`plugins/listenbrainz`
1035 - :doc:`plugins/mbcollection`
1036 - :doc:`plugins/mbpseudo`
1037 - :doc:`plugins/missing`
1038 - :doc:`plugins/musicbrainz`
1039 - :doc:`plugins/parentwork`
1040
1041 See :class:`~beetsplug._utils.musicbrainz.MusicBrainzAPI` for documentation.
1042
1043 For packagers
1044 ~~~~~~~~~~~~~
1045
1046 - The minimum supported Python version is now 3.10.
1047 - An unused dependency on ``mock`` has been removed.
1048
1049 Other changes
1050 ~~~~~~~~~~~~~
1051
1052 - The documentation chapter :doc:`dev/paths` has been moved to the "For
1053 Developers" section and revised to reflect current best practices (pathlib
1054 usage).
1055 - Refactored the ``beets/ui/commands.py`` monolithic file (2000+ lines) into
1056 multiple modules within the ``beets/ui/commands`` directory for better
1057 maintainability.
1058 - :doc:`plugins/bpd`: Raise ImportError instead of ValueError when GStreamer is
1059 unavailable, enabling ``importorskip`` usage in pytest setup.
1060 - Finally removed gmusic plugin and all related code/docs as the Google Play
1061 Music service was shut down in 2020.
1062 - Updated color documentation with ``bright_*`` and ``bg_bright_*`` entries.
1063 - Moved ``beets/random.py`` into ``beetsplug/random.py`` to cleanup core module.
1064 - dbcore: Allow models to declare SQL indices; add an ``items.album_id`` index
1065 to speed up ``album.items()`` queries. :bug:`5809`
1066
1067 2.5.1 (October 14, 2025)
1068 ------------------------
1069
1070 New features
1071 ~~~~~~~~~~~~
1072
1073 - :doc:`plugins/zero`: Add new configuration option, ``omit_single_disc``, to
1074 allow zeroing the disc number on write for single-disc albums. Defaults to
1075 False.
1076
1077 Bug fixes
1078 ~~~~~~~~~
1079
1080 - |BeetsPlugin|: load the last plugin class defined in the plugin namespace.
1081 :bug:`6093`
1082
1083 For packagers
1084 ~~~~~~~~~~~~~
1085
1086 - Fixed issue with legacy metadata plugins not copying properties from the base
1087 class.
1088 - Reverted the following: When installing ``beets`` via git or locally the
1089 version string now reflects the current git branch and commit hash.
1090 :bug:`6089`
1091
1092 Other changes
1093 ~~~~~~~~~~~~~
1094
1095 - Removed outdated mailing list contact information from the documentation
1096 :bug:`5462`.
1097 - :doc:`guides/main`: Modernized the *Getting Started* guide with tabbed
1098 sections and dropdown menus. Installation instructions have been streamlined,
1099 and a new subpage now provides additional setup details.
1100 - Documentation: introduced a new role ``conf`` for documenting configuration
1101 options. This role provides consistent formatting and creates references
1102 automatically. Applied it to :doc:`plugins/deezer`, :doc:`plugins/discogs`,
1103 :doc:`plugins/musicbrainz` and :doc:`plugins/spotify` plugins documentation.
1104
1105 2.5.0 (October 11, 2025)
1106 ------------------------
1107
1108 New features
1109 ~~~~~~~~~~~~
1110
1111 - :doc:`plugins/lastgenre`: Add a ``--pretend`` option to preview genre changes
1112 without storing or writing them.
1113 - :doc:`plugins/convert`: Add a config option to disable writing metadata to
1114 converted files.
1115 - :doc:`plugins/discogs`: New config option
1116 :conf:`plugins.discogs:strip_disambiguation` to toggle stripping discogs
1117 numeric disambiguation on artist and label fields.
1118 - :doc:`plugins/discogs` Added support for featured artists. :bug:`6038`
1119 - :doc:`plugins/discogs` New configuration option
1120 :conf:`plugins.discogs:featured_string` to change the default string used to
1121 join featured artists. The default string is ``Feat.``.
1122 - :doc:`plugins/discogs` Support for ``artist_credit`` in Discogs tags.
1123 :bug:`3354`
1124 - :doc:`plugins/discogs` Support for name variations and config options to
1125 specify where the variations are written. :bug:`3354`
1126 - :doc:`plugins/web` Support for ``nexttrack`` keyboard press
1127
1128 Bug fixes
1129 ~~~~~~~~~
1130
1131 - :doc:`plugins/musicbrainz` Refresh flexible MusicBrainz metadata on reimport
1132 so format changes are applied. :bug:`6036`
1133 - :doc:`plugins/spotify` Ensure ``spotifysync`` keeps popularity, ISRC, and
1134 related fields current even when audio features requests fail. :bug:`6061`
1135 - :doc:`plugins/spotify` Fixed an issue where track matching and lookups could
1136 return incorrect or misleading results when using the Spotify plugin. The
1137 problem occurred primarily when no album was provided or when the album field
1138 was an empty string. :bug:`5189`
1139 - :doc:`plugins/spotify` Removed old and undocumented config options
1140 ``artist_field``, ``album_field`` and ``track`` that were causing issues with
1141 track matching. :bug:`5189`
1142 - :doc:`plugins/spotify` Fixed an issue where candidate lookup would not find
1143 matches due to query escaping (single vs double quotes).
1144 - :doc:`plugins/discogs` Fixed inconsistency in stripping disambiguation from
1145 artists but not labels. :bug:`5366`
1146 - :doc:`plugins/chroma` :doc:`plugins/bpsync` Fix plugin loading issue caused by
1147 an import of another |BeetsPlugin| class. :bug:`6033`
1148 - :doc:`/plugins/fromfilename`: Fix :bug:`5218`, improve the code (refactor
1149 regexps, allow for more cases, add some logging), add tests.
1150 - Metadata source plugins: Fixed data source penalty calculation that was
1151 incorrectly applied during import matching. The
1152 :conf:`plugins.index:source_weight` configuration option has been renamed to
1153 :conf:`plugins.index:data_source_mismatch_penalty` to better reflect its
1154 purpose. :bug:`6066`
1155
1156 Other changes
1157 ~~~~~~~~~~~~~
1158
1159 - :doc:`plugins/index`: Clarify that musicbrainz must be mentioned if plugin
1160 list modified :bug:`6020`
1161 - :doc:`/faq`: Add check for musicbrainz plugin if auto-tagger can't find a
1162 match :bug:`6020`
1163 - :doc:`guides/tagger`: Section on no matching release found, related to
1164 possibly disabled musicbrainz plugin :bug:`6020`
1165 - Moved ``art.py`` utility module from ``beets`` into ``beetsplug`` namespace as
1166 it is not used in the core beets codebase. It can now be found in
1167 ``beetsplug._utils``.
1168 - Moved ``vfs.py`` utility module from ``beets`` into ``beetsplug`` namespace as
1169 it is not used in the core beets codebase. It can now be found in
1170 ``beetsplug._utils``.
1171 - :class:`beets.metadata_plugins.MetadataSourcePlugin`: Remove discogs specific
1172 disambiguation stripping.
1173 - When installing ``beets`` via git or locally the version string now reflects
1174 the current git branch and commit hash. :bug:`4448`
1175 - :ref:`match-config`: ``match.distance_weights.source`` configuration has been
1176 renamed to ``match.distance_weights.data_source`` for consistency with the
1177 name of the field it refers to.
1178
1179 For developers and plugin authors
1180 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1181
1182 - Typing improvements in ``beets/logging.py``: ``getLogger`` now returns
1183 ``BeetsLogger`` when called with a name, or ``RootLogger`` when called without
1184 a name.
1185 - The ``track_distance()`` and ``album_distance()`` methods have been removed
1186 from ``MetadataSourcePlugin``. Distance calculation for data source mismatches
1187 is now handled automatically by the core matching logic. This change
1188 simplifies the plugin architecture and fixes incorrect penalty calculations.
1189 :bug:`6066`
1190 - Metadata source plugins are now registered globally when instantiated, which
1191 makes their handling slightly more efficient.
1192
1193 2.4.0 (September 13, 2025)
1194 --------------------------
1195
1196 New features
1197 ~~~~~~~~~~~~
1198
1199 - :doc:`plugins/musicbrainz`: The MusicBrainz autotagger has been moved to a
1200 separate plugin. The default :ref:`plugins-config` includes ``musicbrainz``,
1201 but if you've customized your ``plugins`` list in your configuration, you'll
1202 need to explicitly add ``musicbrainz`` to continue using this functionality.
1203 Configuration option :conf:`plugins.musicbrainz:enabled` has thus been
1204 deprecated. :bug:`2686` :bug:`4605`
1205 - :doc:`plugins/web`: Show notifications when a track plays. This uses the Media
1206 Session API to customize media notifications.
1207 - :doc:`plugins/discogs`: Add configurable :conf:`plugins.discogs:search_limit`
1208 option to limit the number of results returned by the Discogs metadata search
1209 queries.
1210 - :doc:`plugins/discogs`: Implement ``track_for_id`` method to allow retrieving
1211 singletons by their Discogs ID. :bug:`4661`
1212 - :doc:`plugins/replace`: Add new plugin.
1213 - :doc:`plugins/duplicates`: Add ``--remove`` option, allowing to remove from
1214 the library without deleting media files. :bug:`5832`
1215 - :doc:`plugins/playlist`: Support files with the ``.m3u8`` extension.
1216 :bug:`5829`
1217 - :doc:`plugins/mbcollection`: When getting the user collections, only consider
1218 collections of releases, and ignore collections of other entity types.
1219 - :doc:`plugins/mpdstats`: Add new configuration option,
1220 ``played_ratio_threshold``, to allow configuring the percentage the song must
1221 be played for it to be counted as played instead of skipped.
1222 - :doc:`plugins/web`: Display artist and album as part of the search results.
1223 - :doc:`plugins/spotify` :doc:`plugins/deezer`: Add new configuration option
1224 :conf:`plugins.index:search_limit` to limit the number of results returned by
1225 search queries.
1226
1227 Bug fixes
1228 ~~~~~~~~~
1229
1230 - :doc:`plugins/musicbrainz`: fix regression where user configured
1231 :conf:`plugins.musicbrainz:extra_tags` have been read incorrectly. :bug:`5788`
1232 - tests: Fix library tests failing on Windows when run from outside ``D:/``.
1233 :bug:`5802`
1234 - Fix an issue where calling ``Library.add`` would cause the ``database_change``
1235 event to be sent twice, not once. :bug:`5560`
1236 - Fix ``HiddenFileTest`` by using ``bytestring_path()``.
1237 - tests: Fix tests failing without ``langdetect`` (by making it required).
1238 :bug:`5797`
1239 - :doc:`plugins/musicbrainz`: Fix the MusicBrainz search not taking into account
1240 the album/recording aliases
1241 - :doc:`/plugins/spotify`: Fix the issue with that every query to spotify was
1242 ascii encoded. This resulted in bad matches for queries that contained special
1243 e.g. non latin characters as 盗作. If you want to keep the legacy behavior set
1244 the config option ``spotify.search_query_ascii: yes``. :bug:`5699`
1245 - :doc:`plugins/discogs`: Beets will no longer crash if a release has been
1246 deleted, and returns a 404.
1247 - :doc:`plugins/lastgenre`: Fix the issue introduced in Beets 2.3.0 where
1248 non-whitelisted last.fm genres were not canonicalized to parent genres.
1249 :bug:`5930`
1250 - :doc:`plugins/chroma`: AcoustID lookup HTTP requests will now time out after
1251 10 seconds, rather than hanging the entire import process.
1252 - :doc:`/plugins/deezer`: Fix the issue with that every query to deezer was
1253 ascii encoded. This resulted in bad matches for queries that contained special
1254 e.g. non latin characters as 盗作. If you want to keep the legacy behavior set
1255 the config option ``deezer.search_query_ascii: yes``. :bug:`5860`
1256 - Fixed regression with :doc:`/plugins/listenbrainz` where the plugin could not
1257 be loaded :bug:`5975`
1258 - :doc:`/plugins/fromfilename`: Beets will no longer crash if a track's title
1259 field is missing.
1260
1261 For packagers
1262 ~~~~~~~~~~~~~
1263
1264 - Optional :conf:`plugins.musicbrainz:extra_tags` parameter has been removed
1265 from ``BeetsPlugin.candidates`` method signature since it is never passed in.
1266 If you override this method in your plugin, feel free to remove this
1267 parameter.
1268 - Loosened ``typing_extensions`` dependency in pyproject.toml to apply to every
1269 python version.
1270
1271 For plugin developers
1272 ~~~~~~~~~~~~~~~~~~~~~
1273
1274 - The ``fetchart`` plugins has seen a few changes to function signatures and
1275 source registration in the process of introducing typings to the code. Custom
1276 art sources might need to be adapted.
1277 - We split the responsibilities of plugins into two base classes
1278
1279 1. |BeetsPlugin| is the base class for all plugins, any plugin needs to
1280 inherit from this class.
1281 2. :class:`beets.metadata_plugins.MetadataSourcePlugin` allows plugins to act
1282 like metadata sources. E.g. used by the MusicBrainz plugin. All plugins in
1283 the beets repo are opted into this class where applicable. If you are
1284 maintaining a plugin that acts like a metadata source, i.e. you expose any
1285 of ``track_for_id``, ``album_for_id``, ``candidates``, ``item_candidates``,
1286 ``album_distance``, ``track_distance`` methods, please update your plugin
1287 to inherit from the new baseclass, as otherwise your plugin will stop
1288 working with the next major release.
1289
1290 - Several definitions have been moved:
1291
1292 - ``BLOB_TYPE`` constant, ``PathQuery`` and ``SingletonQuery`` queries have
1293 moved from ``beets.library`` to ``beets.dbcore.query`` module
1294 - ``DateType``, ``DurationType``, ``PathType`` types and ``MusicalKey`` class
1295 have moved from ``beets.library`` to ``beets.dbcore.types`` module.
1296 - ``Distance`` has moved from ``beets.autotag`` to ``beets.autotag.distance``
1297 module.
1298 - ``beets.autotag.current_metadata`` has been renamed to
1299 ``beets.util.get_most_common_tags``.
1300
1301 Old imports are now deprecated and will be removed in version ``3.0.0``.
1302
1303 - ``beets.ui.decargs`` is deprecated and will be removed in version ``3.0.0``.
1304 - Beets is now PEP 561 compliant, which means that it provides type hints for
1305 all public APIs. This allows IDEs to provide better autocompletion and type
1306 checking for downstream users of the beets API.
1307 - ``plugins.find_plugins`` function does not anymore load plugins. You need to
1308 explicitly call ``plugins.load_plugins()`` to load them.
1309 - ``plugins.load_plugins`` function does not anymore accept the list of plugins
1310 to load. Instead, it loads all plugins that are configured by
1311 :ref:`plugins-config` configuration.
1312 - Flexible fields, which can be used by plugins to store additional metadata,
1313 now also support list values. Previously, beets would throw an error while
1314 storing the data in the SQL database due to missing type conversion.
1315 :bug:`5698`
1316
1317 Other changes
1318 ~~~~~~~~~~~~~
1319
1320 - Refactor: Split responsibilities of Plugins into MetaDataPlugins and general
1321 Plugins.
1322 - Documentation structure for auto generated API references changed slightly.
1323 Autogenerated API references are now located in the ``docs/api`` subdirectory.
1324 - :doc:`/plugins/substitute`: Fix rST formatting for example cases so that each
1325 case is shown on separate lines.
1326 - :doc:`/plugins/ftintitle`: Process items whose albumartist is not contained in
1327 the artist field, including compilations using Various Artists as an
1328 albumartist and album tracks by guest artists featuring a third artist.
1329 - Refactored library.py file by splitting it into multiple modules within the
1330 beets/library directory.
1331 - Added a test to check that all plugins can be imported without errors.
1332 - :doc:`/guides/main`: Add instructions to install beets on Void Linux.
1333 - :doc:`plugins/lastgenre`: Refactor loading whitelist and canonicalization
1334 file. :bug:`5979`
1335 - :doc:`plugins/lastgenre`: Updated and streamlined the genre whitelist and
1336 canonicalization tree :bug:`5977`
1337 - UI: Update default ``text_diff_added`` color from **bold red** to **bold
1338 green.**
1339 - UI: Use ``text_diff_added`` and ``text_diff_removed`` colors in **all** diff
1340 comparisons, including case differences.
1341
1342 2.3.1 (May 14, 2025)
1343 --------------------
1344
1345 Bug fixes
1346 ~~~~~~~~~
1347
1348 - :doc:`/reference/pathformat`: Fixed a regression where path legalization
1349 incorrectly removed parts of user-configured path formats that followed a dot
1350 (**.**). :bug:`5771`
1351
1352 For packagers
1353 ~~~~~~~~~~~~~
1354
1355 - Force ``poetry`` version below 2 to avoid it mangling file modification times
1356 in ``sdist`` package. :bug:`5770`
1357
1358 2.3.0 (May 07, 2025)
1359 --------------------
1360
1361 Beets now requires Python 3.9 or later since support for EOL Python 3.8 has been
1362 dropped.
1363
1364 New features
1365 ~~~~~~~~~~~~
1366
1367 - :doc:`plugins/lastgenre`: The new configuration option, ``keep_existing``,
1368 provides more fine-grained control over how pre-populated genre tags are
1369 handled. The ``force`` option now behaves in a more conventional manner.
1370 :bug:`4982`
1371 - :doc:`plugins/lyrics`: Add new configuration option ``dist_thresh`` to control
1372 the maximum allowed distance between the lyrics search result and the tagged
1373 item's artist and title. This is useful for preventing false positives when
1374 fetching lyrics.
1375 - :doc:`plugins/lyrics`: Rewrite lyrics translation functionality to use Azure
1376 AI Translator API and add relevant instructions to the documentation.
1377 - :doc:`plugins/missing`: Add support for all metadata sources.
1378 - :doc:`plugins/mbsync`: Add support for all metadata sorces.
1379
1380 Bug fixes
1381 ~~~~~~~~~
1382
1383 - :doc:`plugins/thumbnails`: Fix API call to GIO on big endian architectures
1384 (like s390x) in thumbnails plugin. :bug:`5708`
1385 - :doc:`plugins/listenbrainz`: Fix rST formatting for URLs of Listenbrainz API
1386 Key documentation and config.yaml.
1387 - :doc:`plugins/listenbrainz`: Fix ``UnboundLocalError`` in cases where 'mbid'
1388 is not defined.
1389 - :doc:`plugins/fetchart`: Fix fetchart bug where a tempfile could not be
1390 deleted due to never being properly closed. :bug:`5521`
1391 - :doc:`plugins/lyrics`: LRCLib will fallback to plain lyrics if synced lyrics
1392 are not found and ``synced`` flag is set to ``yes``.
1393 - Synchronise files included in the source distribution with what we used to
1394 have before the introduction of Poetry. :bug:`5531` :bug:`5526`
1395 - :ref:`write-cmd`: Fix the issue where for certain files differences in
1396 ``mb_artistid``, ``mb_albumartistid`` and ``albumtype`` fields are shown on
1397 every attempt to write tags. Note: your music needs to be reimported with
1398 ``beet import -LI`` or synchronised with ``beet mbsync`` in order to fix this!
1399 :bug:`5265` :bug:`5371` :bug:`4715`
1400 - :ref:`import-cmd`: Fix ``MemoryError`` and improve performance tagging large
1401 albums by replacing ``munkres`` library with ``lap.lapjv``. :bug:`5207`
1402 - :ref:`query-sort`: Fix a bug that would raise an exception when sorting on a
1403 non-string field that is not populated in all items. :bug:`5512`
1404 - :doc:`plugins/lastgenre`: Fix track-level genre handling. Now when an
1405 album-level genre is set already, single tracks don't fall back to the album's
1406 genre and request their own last.fm genre. Also log messages regarding what's
1407 been tagged are now more polished. :bug:`5582`
1408 - Fix ambiguous column name ``sqlite3.OperationalError`` that occured in album
1409 queries that filtered album track titles, for example ``beet list -a keyword
1410 title:foo``.
1411 - :doc:`plugins/lyrics`: Rewrite lyrics tests using pytest to provide isolated
1412 configuration for each test case. This fixes the issue where some tests failed
1413 because they read developers' local lyrics configuration. :bug:`5133`
1414 - :doc:`plugins/lyrics`: Do not attempt to search for lyrics if either the
1415 artist or title is missing and ignore ``artist_sort`` value if it is empty.
1416 :bug:`2635`
1417 - :doc:`plugins/lyrics`: Fix fetching lyrics from ``lrclib`` source. If we
1418 cannot find lyrics for a specific album, artist, title combination, the plugin
1419 now tries to search for the artist and title and picks the most relevant
1420 result. Update the default ``sources`` configuration to prioritize ``lrclib``
1421 over other sources since it returns reliable results quicker than others.
1422 :bug:`5102`
1423 - :doc:`plugins/lyrics`: Fix the issue with ``genius`` backend not being able to
1424 match lyrics when there is a slight variation in the artist name. :bug:`4791`
1425 - :doc:`plugins/lyrics`: Fix plugin crash when ``genius`` backend returns empty
1426 lyrics. :bug:`5583`
1427 - ImageMagick 7.1.1-44 is now supported.
1428 - :doc:`plugins/parentwork`: Only output parentwork changes when running in
1429 verbose mode.
1430
1431 For packagers
1432 ~~~~~~~~~~~~~
1433
1434 - The minimum supported Python version is now 3.9.
1435 - External plugin developers: ``beetsplug/__init__.py`` file can be removed from
1436 your plugin as beets now uses native/implicit namespace package setup.
1437
1438 Other changes
1439 ~~~~~~~~~~~~~
1440
1441 - Release workflow: fix the issue where the new release tag is created for the
1442 wrong (outdated) commit. Now the tag is created in the same workflow step
1443 right after committing the version update. :bug:`5539`
1444 - :doc:`/plugins/smartplaylist`: URL-encode additional item ``fields`` within
1445 generated EXTM3U playlists instead of JSON-encoding them.
1446 - typehints: ``./beets/importer.py`` file now has improved typehints.
1447 - typehints: ``./beets/plugins.py`` file now includes typehints.
1448 - :doc:`plugins/ftintitle`: Optimize the plugin by avoiding unnecessary writes
1449 to the database.
1450 - Database models are now serializable with pickle.
1451
1452 2.2.0 (December 02, 2024)
1453 -------------------------
1454
1455 New features
1456 ~~~~~~~~~~~~
1457
1458 - :doc:`/plugins/substitute`: Allow the replacement string to use capture groups
1459 from the match. It is thus possible to create more general rules, applying to
1460 many different artists at once.
1461
1462 Bug fixes
1463 ~~~~~~~~~
1464
1465 - Check if running python from the Microsoft Store and provide feedback to
1466 install from python.org. :bug:`5467`
1467 - Fix bug where matcher doesn't consider medium number when importing. This
1468 makes it difficult to import hybrid SACDs and other releases with duplicate
1469 tracks. :bug:`5148`
1470 - Bring back test files and the manual to the source distribution tarball.
1471 :bug:`5513`
1472
1473 Other changes
1474 ~~~~~~~~~~~~~
1475
1476 - Changed ``bitesize`` label to ``good first issue``. Our contribute_ page is
1477 now automatically populated with these issues. :bug:`4855`
1478
1479 .. _contribute: https://github.com/beetbox/beets/contribute
1480
1481 2.1.0 (November 22, 2024)
1482 -------------------------
1483
1484 New features
1485 ~~~~~~~~~~~~
1486
1487 - New template function added: ``%capitalize``. Converts the first letter of the
1488 text to uppercase and the rest to lowercase.
1489 - Ability to query albums with track db fields and vice-versa, for example
1490 ``beet list -a title:something`` or ``beet list artpath:cover``. Consequently
1491 album queries involving ``path`` field have been sped up, like ``beet list -a
1492 path:/path/``.
1493 - :doc:`plugins/ftintitle`: New ``keep_in_artist`` option for the plugin, which
1494 allows keeping the "feat." part in the artist metadata while still changing
1495 the title.
1496 - :doc:`plugins/autobpm`: Add new configuration option ``beat_track_kwargs``
1497 which enables adjusting keyword arguments supplied to librosa's ``beat_track``
1498 function call.
1499 - Beets now uses ``platformdirs`` to determine the default music directory. This
1500 location varies between systems -- for example, users can configure it on Unix
1501 systems via ``user-dirs.dirs(5)``.
1502
1503 Bug fixes
1504 ~~~~~~~~~
1505
1506 - :doc:`plugins/ftintitle`: The detection of a "feat. X" part in a song title
1507 does not produce any false positives caused by words like "and" or "with"
1508 anymore. :bug:`5441`
1509 - :doc:`plugins/ftintitle`: The detection of a "feat. X" part now also matches
1510 such parts if they are in parentheses or brackets. :bug:`5436`
1511 - Improve naming of temporary files by separating the random part with the file
1512 extension.
1513 - Fix the ``auto`` value for the :ref:`reflink` config option.
1514 - Fix lyrics plugin only getting part of the lyrics from ``Genius.com``
1515 :bug:`4815`
1516 - Album flexible fields are now correctly saved. For instance MusicBrainz
1517 external links such as ``bandcamp_album_id`` will be available on albums in
1518 addition to tracks. For albums already in your library, a re-import is
1519 required for the fields to be added. Such a re-import can be done with, in
1520 this case, ``beet import -L data_source:=MusicBrainz``.
1521 - :doc:`plugins/autobpm`: Fix the ``TypeError`` where tempo was being returned
1522 as a numpy array. Update ``librosa`` dependency constraint to prevent similar
1523 issues in the future. :bug:`5289`
1524 - :doc:`plugins/discogs`: Fix the ``TypeError`` when there is no description.
1525 - Use single quotes in all SQL queries :bug:`4709`
1526 - :doc:`plugins/lyrics`: Update ``tekstowo`` backend to fetch lyrics directly
1527 since recent updates to their website made it unsearchable. :bug:`5456`
1528 - :doc:`plugins/convert`: Fixed the convert plugin ``no_convert`` option so that
1529 it no longer treats "and" and "or" queries the same. To maintain previous
1530 behaviour add commas between your query keywords. For help see
1531 :ref:`combiningqueries`.
1532 - Fix the ``TypeError`` when :ref:`set_fields` is provided non-string values.
1533 :bug:`4840`
1534
1535 For packagers
1536 ~~~~~~~~~~~~~
1537
1538 - The minimum supported Python version is now 3.8.
1539 - The ``beet`` script has been removed from the repository.
1540 - The ``typing_extensions`` is required for Python 3.10 and below.
1541
1542 Other changes
1543 ~~~~~~~~~~~~~
1544
1545 - :doc:`contributing`: The project now uses ``poetry`` for packaging and
1546 dependency management. This change affects project management and mostly
1547 affects beets developers. Please see updates in :ref:`getting-the-source` and
1548 :ref:`testing` for more information.
1549 - :doc:`contributing`: Since ``poetry`` now manages local virtual environments,
1550 ``tox`` has been replaced by a task runner ``poethepoet``. This change affects
1551 beets developers and contributors. Please see updates in the
1552 :ref:`development-tools` section for more details. Type ``poe`` while in the
1553 project directory to see the available commands.
1554 - Installation instructions have been made consistent across plugins
1555 documentation. Users should simply install ``beets`` with an ``extra`` of the
1556 corresponding plugin name in order to install extra dependencies for that
1557 plugin.
1558 - GitHub workflows have been reorganised for clarity: style, linting, type and
1559 docs checks now live in separate jobs and are named accordingly.
1560 - Added caching for dependency installation in all CI jobs which speeds them up
1561 a bit, especially the tests.
1562 - The linting workflow has been made to run only when Python files or
1563 documentation is changed, and they only check the changed files. When
1564 dependencies are updated (``poetry.lock``), then the entire code base is
1565 checked.
1566 - The long-deprecated ``beets.util.confit`` module has been removed. This may
1567 cause extremely outdated external plugins to fail to load.
1568 - :doc:`plugins/autobpm`: Add plugin dependencies to ``pyproject.toml`` under
1569 the ``autobpm`` extra and update the plugin installation instructions in the
1570 docs. Since importing the bpm calculation functionality from ``librosa`` takes
1571 around 4 seconds, update the plugin to only do so when it actually needs to
1572 calculate the bpm. Previously this import was being done immediately, so every
1573 ``beet`` invocation was being delayed by a couple of seconds. :bug:`5185`
1574
1575 2.0.0 (May 30, 2024)
1576 --------------------
1577
1578 With this release, beets now requires Python 3.7 or later (it removes support
1579 for Python 3.6).
1580
1581 Major new features
1582 ~~~~~~~~~~~~~~~~~~
1583
1584 - The beets importer UI received a major overhaul. Several new configuration
1585 options are available for customizing layout and colors: :ref:`ui_options`.
1586 :bug:`3721` :bug:`5028`
1587
1588 New features
1589 ~~~~~~~~~~~~
1590
1591 - :doc:`/plugins/edit`: Prefer editor from ``VISUAL`` environment variable over
1592 ``EDITOR``.
1593 - :ref:`config-cmd`: Prefer editor from ``VISUAL`` environment variable over
1594 ``EDITOR``.
1595 - :doc:`/plugins/listenbrainz`: Add initial support for importing history and
1596 playlists from ``ListenBrainz`` :bug:`1719`
1597 - :doc:`plugins/mbsubmit`: add new prompt choices helping further to submit
1598 unmatched tracks to MusicBrainz faster.
1599 - :doc:`plugins/spotify`: We now fetch track's ISRC, EAN, and UPC identifiers
1600 from Spotify when using the ``spotifysync`` command. :bug:`4992`
1601 - :doc:`plugins/discogs`: supply a value for the ``cover_art_url`` attribute,
1602 for use by ``fetchart``. :bug:`429`
1603 - :ref:`update-cmd`: added ``-e`` flag for excluding fields from being updated.
1604 - :doc:`/plugins/deezer`: Import rank and other attributes from Deezer during
1605 import and add a function to update the rank of existing items. :bug:`4841`
1606 - resolve transl-tracklisting relations for pseudo releases and merge data with
1607 the actual release :bug:`654`
1608 - Fetchart: Use the right field (``spotify_album_id``) to obtain the Spotify
1609 album id :bug:`4803`
1610 - Prevent reimporting album if it is permanently removed from Spotify
1611 :bug:`4800`
1612 - Added option to use ``cover_art_url`` as an album art source in the
1613 ``fetchart`` plugin. :bug:`4707`
1614 - :doc:`/plugins/fetchart`: The plugin can now get album art from ``spotify``.
1615 - Added option to specify a URL in the ``embedart`` plugin. :bug:`83`
1616 - :ref:`list-cmd` ``singleton:true`` queries have been made faster
1617 - :ref:`list-cmd` ``singleton:1`` and ``singleton:0`` can now alternatively be
1618 used in queries, same as ``comp``
1619 - --from-logfile now parses log files using a UTF-8 encoding in
1620 ``beets/beets/ui/commands.py``. :bug:`4693`
1621 - :doc:`/plugins/bareasc` lookups have been made faster
1622 - :ref:`list-cmd` lookups using the pattern operator ``::`` have been made
1623 faster
1624 - Added additional error handling for ``spotify`` plugin. :bug:`4686`
1625 - We now import the remixer field from Musicbrainz into the library. :bug:`4428`
1626 - :doc:`/plugins/mbsubmit`: Added a new ``mbsubmit`` command to print track
1627 information to be submitted to MusicBrainz after initial import. :bug:`4455`
1628 - Added ``spotify_updated`` field to track when the information was last
1629 updated.
1630 - We now import and tag the ``album`` information when importing singletons
1631 using Spotify source. :bug:`4398`
1632 - :doc:`/plugins/spotify`: The plugin now provides an additional command
1633 ``spotifysync`` that allows getting track popularity and audio features
1634 information from Spotify. :bug:`4094`
1635 - :doc:`/plugins/spotify`: The plugin now records Spotify-specific IDs in the
1636 ``spotify_album_id``, ``spotify_artist_id``, and ``spotify_track_id`` fields.
1637 :bug:`4348`
1638 - Create the parental directories for database if they do not exist. :bug:`3808`
1639 :bug:`4327`
1640 - :ref:`musicbrainz-config`: a new :conf:`plugins.musicbrainz:enabled` option
1641 allows disabling the MusicBrainz metadata source during the autotagging
1642 process
1643 - :doc:`/plugins/kodiupdate`: Now supports multiple kodi instances :bug:`4101`
1644 - Add the item fields ``bitrate_mode``, ``encoder_info`` and
1645 ``encoder_settings``.
1646 - Add query prefixes ``=`` and ``~``.
1647 - A new configuration option, :ref:`duplicate_keys`, lets you change which
1648 fields the beets importer uses to identify duplicates. :bug:`1133` :bug:`4199`
1649 - Add :ref:`exact match <exact-match>` queries, using the prefixes ``=`` and
1650 ``=~``. :bug:`4251`
1651 - :doc:`/plugins/discogs`: Permit appending style to genre.
1652 - :doc:`plugins/discogs`: Implement item_candidates for matching singletons.
1653 - :doc:`plugins/discogs`: Check for compliant discogs_client module.
1654 - :doc:`/plugins/convert`: Add a new ``auto_keep`` option that automatically
1655 converts files but keeps the *originals* in the library. :bug:`1840`
1656 :bug:`4302`
1657 - Added a ``-P`` (or ``--disable-plugins``) flag to specify one/multiple
1658 plugin(s) to be disabled at startup.
1659 - :ref:`import-options`: Add support for re-running the importer on paths in log
1660 files that were created with the ``-l`` (or ``--logfile``) argument.
1661 :bug:`4379` :bug:`4387`
1662 - Preserve mtimes from archives :bug:`4392`
1663 - Add :ref:`%sunique{} <sunique>` template to disambiguate between singletons.
1664 :bug:`4438`
1665 - Add a new ``import.ignored_alias_types`` config option to allow for specific
1666 alias types to be skipped over when importing items/albums.
1667 - :doc:`/plugins/smartplaylist`: A new ``--pretend`` option lets the user see
1668 what a new or changed smart playlist saved in the config is actually
1669 returning. :bug:`4573`
1670 - :doc:`/plugins/fromfilename`: Add debug log messages that inform when the
1671 plugin replaced bad (missing) artist, title or tracknumber metadata.
1672 :bug:`4561` :bug:`4600`
1673 - :ref:`musicbrainz-config`: MusicBrainz release pages often link to related
1674 metadata sources like Discogs, Bandcamp, Spotify, Deezer and Beatport. When
1675 enabled via the :conf:`plugins.musicbrainz:external_ids` options, release ID's
1676 will be extracted from those URL's and imported to the library. :bug:`4220`
1677 - :doc:`/plugins/convert`: Add support for generating m3u8 playlists together
1678 with converted media files. :bug:`4373`
1679 - Fetch the ``release_group_title`` field from MusicBrainz. :bug:`4809`
1680 - :doc:`plugins/discogs`: Add support for applying album information on
1681 singleton imports. :bug:`4716`
1682 - :doc:`/plugins/smartplaylist`: During explicit runs of the ``splupdate``
1683 command, the log message "Creating playlist ..."" is now displayed instead of
1684 hidden in the debug log, which states some form of progress through the UI.
1685 :bug:`4861`
1686 - :doc:`plugins/subsonicupdate`: Updates are now triggered whenever either the
1687 beets database is changed or a smart playlist is created/updated. :bug:`4862`
1688 - :doc:`plugins/importfeeds`: Add a new output format allowing to save a
1689 playlist once per import session. :bug:`4863`
1690 - Make ArtResizer work with :pypi:`PIL`/:pypi:`pillow` 10.0.0 removals.
1691 :bug:`4869`
1692 - A new configuration option, :ref:`duplicate_verbose_prompt`, allows changing
1693 how duplicates are presented during import. :bug:`4866`
1694 - :doc:`/plugins/embyupdate`: Add handling for private users by adding
1695 ``userid`` config option. :bug:`4402`
1696 - :doc:`/plugins/substitute`: Add the new plugin ``substitute`` as an
1697 alternative to the ``rewrite`` plugin. The main difference between them being
1698 that ``rewrite`` modifies files' metadata and ``substitute`` does not.
1699 :bug:`2786`
1700 - Add support for ``artists`` and ``albumartists`` multi-valued tags. :bug:`505`
1701 - :doc:`/plugins/autobpm`: Add the ``autobpm`` plugin which uses Librosa to
1702 calculate the BPM of the audio. :bug:`3856`
1703 - :doc:`/plugins/fetchart`: Fix the error with CoverArtArchive where the
1704 ``maxwidth`` option would not be used to download a pre-sized thumbnail for
1705 release groups, as is already done with releases.
1706 - :doc:`/plugins/fetchart`: Fix the error with CoverArtArchive where no cover
1707 would be found when the ``maxwidth`` option matches a pre-sized thumbnail
1708 size, but no thumbnail is provided by CAA. We now fallback to the raw image.
1709 - :doc:`/plugins/advancedrewrite`: Add an advanced version of the ``rewrite``
1710 plugin which allows to replace fields based on a given library query.
1711 - :doc:`/plugins/lyrics`: Add LRCLIB as a new lyrics provider and a new
1712 ``synced`` option to prefer synced lyrics over plain lyrics.
1713 - :ref:`import-cmd`: Expose import.quiet_fallback as CLI option.
1714 - :ref:`import-cmd`: Expose ``import.incremental_skip_later`` as CLI option.
1715 - :doc:`/plugins/smartplaylist`: Expose config options as CLI options.
1716 - :doc:`/plugins/smartplaylist`: Add new option ``smartplaylist.output``.
1717 - :doc:`/plugins/smartplaylist`: Add new option ``smartplaylist.uri_format``.
1718 - Sorted the default configuration file into categories. :bug:`4987`
1719 - :doc:`/plugins/convert`: Don't treat WAVE (``.wav``) files as lossy anymore
1720 when using the ``never_convert_lossy_files`` option. They will get transcoded
1721 like the other lossless formats.
1722 - Add support for ``barcode`` field. :bug:`3172`
1723 - :doc:`/plugins/smartplaylist`: Add new config option ``smartplaylist.fields``.
1724 - :doc:`/plugins/fetchart`: Defer source removal config option evaluation to the
1725 point where they are used really, supporting temporary config changes.
1726
1727 Bug fixes
1728 ~~~~~~~~~
1729
1730 - Improve ListenBrainz error handling. :bug:`5459`
1731 - :doc:`/plugins/deezer`: Improve requests error handling.
1732 - :doc:`/plugins/lastimport`: Improve error handling in the ``process_tracks``
1733 function and enable it to be used with other plugins.
1734 - :doc:`/plugins/spotify`: Improve handling of ConnectionError.
1735 - :doc:`/plugins/deezer`: Improve Deezer plugin error handling and set requests
1736 timeout to 10 seconds. :bug:`4983`
1737 - :doc:`/plugins/spotify`: Add bad gateway (502) error handling.
1738 - :doc:`/plugins/spotify`: Add a limit of 3 retries, instead of retrying
1739 endlessly when the API is not available.
1740 - Fix a crash when the Spotify API timeouts or does not return a ``Retry-After``
1741 interval. :bug:`4942`
1742 - :doc:`/plugins/scrub`: Fixed the import behavior where scrubbed database tags
1743 were restored to newly imported tracks with config settings ``scrub.auto:
1744 yes`` and ``import.write: no``. :bug:`4326`
1745 - :doc:`/plugins/deezer`: Fixed the error where Deezer plugin would crash if
1746 non-Deezer id is passed during import.
1747 - :doc:`/plugins/fetchart`: Fix fetching from Cover Art Archive when the
1748 ``maxwidth`` option is set to one of the supported Cover Art Archive widths.
1749 - :doc:`/plugins/discogs`: Fix "Discogs plugin replacing Feat. or Ft. with a
1750 comma" by fixing an oversight that removed a functionality from the code base
1751 when the MetadataSourcePlugin abstract class was introduced in PR's #3335 and
1752 #3371. :bug:`4401`
1753 - :doc:`/plugins/convert`: Set default ``max_bitrate`` value to ``None`` to
1754 avoid transcoding when this parameter is not set. :bug:`4472`
1755 - :doc:`/plugins/replaygain`: Avoid a crash when errors occur in the analysis
1756 backend. :bug:`4506`
1757 - We now use Python's defaults for command-line argument encoding, which should
1758 reduce the chance for errors and "file not found" failures when invoking other
1759 command-line tools, especially on Windows. :bug:`4507`
1760 - We now respect the Spotify API's rate limiting, which avoids crashing when the
1761 API reports code 429 (too many requests). :bug:`4370`
1762 - Fix implicit paths OR queries (e.g. ``beet list /path/ , /other-path/``) which
1763 have previously been returning the entire library. :bug:`1865`
1764 - The Discogs release ID is now populated correctly to the discogs_albumid field
1765 again (it was no longer working after Discogs changed their release URL
1766 format). :bug:`4225`
1767 - The autotagger no longer considers all matches without a MusicBrainz ID as
1768 duplicates of each other. :bug:`4299`
1769 - :doc:`/plugins/convert`: Resize album art when embedding :bug:`2116`
1770 - :doc:`/plugins/deezer`: Fix auto tagger pagination issues (fetch beyond the
1771 first 25 tracks of a release).
1772 - :doc:`/plugins/spotify`: Fix auto tagger pagination issues (fetch beyond the
1773 first 50 tracks of a release).
1774 - :doc:`/plugins/lyrics`: Fix Genius search by using query params instead of
1775 body.
1776 - :doc:`/plugins/unimported`: The new ``ignore_subdirectories`` configuration
1777 option added in 1.6.0 now has a default value if it hasn't been set.
1778 - :doc:`/plugins/deezer`: Tolerate missing fields when searching for singleton
1779 tracks. :bug:`4116`
1780 - :doc:`/plugins/replaygain`: The type of the internal ``r128_track_gain`` and
1781 ``r128_album_gain`` fields was changed from integer to float to fix loss of
1782 precision due to truncation. :bug:`4169`
1783 - Fix a regression in the previous release that caused a ``TypeError`` when
1784 moving files across filesystems. :bug:`4168`
1785 - :doc:`/plugins/convert`: Deleting the original files during conversion no
1786 longer logs output when the ``quiet`` flag is enabled.
1787 - :doc:`plugins/web`: Fix handling of "query" requests. Previously queries
1788 consisting of more than one token (separated by a slash) always returned an
1789 empty result.
1790 - :doc:`/plugins/discogs`: Skip Discogs query on insufficiently tagged files
1791 (artist and album tags missing) to prevent arbitrary candidate results.
1792 :bug:`4227`
1793 - :doc:`plugins/lyrics`: Fixed issues with the Tekstowo.pl and Genius backends
1794 where some non-lyrics content got included in the lyrics
1795 - :doc:`plugins/limit`: Better header formatting to improve index
1796 - :doc:`plugins/replaygain`: Correctly handle the ``overwrite`` config option,
1797 which forces recomputing ReplayGain values on import even for tracks that
1798 already have the tags.
1799 - :doc:`plugins/embedart`: Fix a crash when using recent versions of ImageMagick
1800 and the ``compare_threshold`` option. :bug:`4272`
1801 - :doc:`plugins/lyrics`: Fixed issue with Genius header being included in
1802 lyrics, added test case of up-to-date Genius html
1803 - :doc:`plugins/importadded`: Fix a bug with recently added reflink import
1804 option that causes a crash when ImportAdded plugin enabled. :bug:`4389`
1805 - :doc:`plugins/convert`: Fix a bug with the ``wma`` format alias.
1806 - :doc:`/plugins/web`: Fix get file from item.
1807 - :doc:`/plugins/lastgenre`: Fix a duplicated entry for trip hop in the default
1808 genre list. :bug:`4510`
1809 - :doc:`plugins/lyrics`: Fixed issue with Tekstowo backend not actually checking
1810 if the found song matches. :bug:`4406`
1811 - :doc:`plugins/embedart`: Add support for ImageMagick 7.1.1-12 :bug:`4836`
1812 - :doc:`/plugins/fromfilename`: Fix failed detection of <track> <title> filename
1813 patterns. :bug:`4561` :bug:`4600`
1814 - Fix issue where deletion of flexible fields on an album doesn't cascade to
1815 items :bug:`4662`
1816 - Fix issue where ``beet write`` continuously retags the ``albumtypes`` metadata
1817 field in files. Additionally broken data could have been added to the library
1818 when the tag was read from file back into the library using ``beet update``.
1819 It is required for all users to **check if such broken data is present in the
1820 library**. Following the instructions `described here
1821 <https://github.com/beetbox/beets/pull/4582#issuecomment-1445023493>`_, a
1822 sanity check and potential fix is easily possible. :bug:`4528`
1823 - Fix updating "data_source" on re-imports and improve logging when flexible
1824 attributes are being re-imported. :bug:`4726`
1825 - :doc:`/plugins/fetchart`: Correctly select the cover art from fanart.tv with
1826 the highest number of likes
1827 - :doc:`/plugins/lyrics`: Fix a crash with the Google backend when processing
1828 some web pages. :bug:`4875`
1829 - Modifying flexible attributes of albums now cascade to the individual album
1830 tracks, similar to how fixed album attributes have been cascading to tracks
1831 already. A new option ``--noinherit/-I`` to :ref:`modify <modify-cmd>` allows
1832 changing this behaviour. :bug:`4822`
1833 - Fix bug where an interrupted import process poisons the database, causing a
1834 null path that can't be removed. :bug:`4906`
1835 - :doc:`/plugins/discogs`: Fix bug where empty artist and title fields would
1836 return None instead of an empty list. :bug:`4973`
1837 - Fix bug regarding displaying tracks that have been changed not being displayed
1838 unless the detail configuration is enabled.
1839 - :doc:`/plugins/web`: Fix range request support, allowing to play large audio/
1840 opus files using e.g. a browser/firefox or gstreamer/mopidy directly.
1841 - Fix bug where ``zsh`` completion script made assumptions about the specific
1842 variant of ``awk`` installed and required specific settings for ``sqlite3``
1843 and caching in ``zsh``. :bug:`3546`
1844 - Remove unused functions :bug:`5103`
1845 - Fix bug where all media types are reported as the first media type when
1846 importing with MusicBrainz as the data source :bug:`4947`
1847 - Fix bug where unimported plugin would not ignore children directories of
1848 ignored directories. :bug:`5130`
1849 - Fix bug where some plugin commands hang indefinitely due to a missing
1850 ``requests`` timeout.
1851 - Fix cover art resizing logic to support multiple steps of resizing :bug:`5151`
1852 - :doc:`/plugins/convert`: Fix attempt to convert and perform side-effects if
1853 library file is not readable.
1854
1855 For plugin developers
1856 ~~~~~~~~~~~~~~~~~~~~~
1857
1858 - beets now explicitly prevents multiple plugins to define replacement functions
1859 for the same field. When previously defining ``template_fields`` for the same
1860 field in two plugins, the last loaded plugin would silently overwrite the
1861 function defined by the other plugin. Now, beets will raise an exception when
1862 this happens. :bug:`5002`
1863 - Allow reuse of some parts of beets' testing components. This may ease the work
1864 for externally developed plugins or related software (e.g. the beets plugin
1865 for Mopidy), if they need to create an in-memory instance of a beets music
1866 library for their tests.
1867
1868 For packagers
1869 ~~~~~~~~~~~~~
1870
1871 - As noted above, the minimum Python version is now 3.7.
1872 - We fixed a version for the dependency on the Confuse_ library. :bug:`4167`
1873 - The minimum required version of :pypi:`mediafile` is now 0.9.0.
1874
1875 Other changes
1876 ~~~~~~~~~~~~~
1877
1878 - Add ``sphinx`` and ``sphinx_rtd_theme`` as dependencies for a new ``docs``
1879 extra :bug:`4643`
1880 - :doc:`/plugins/absubmit`: Deprecate the ``absubmit`` plugin since
1881 AcousticBrainz has stopped accepting new submissions. :bug:`4627`
1882 - :doc:`/plugins/acousticbrainz`: Deprecate the ``acousticbrainz`` plugin since
1883 the AcousticBrainz project has shut down. :bug:`4627`
1884 - :doc:`/plugins/limit`: Limit query results to head or tail (``lslimit``
1885 command only)
1886 - :doc:`/plugins/fish`: Add ``--output`` option.
1887 - :doc:`/plugins/lyrics`: Remove Musixmatch from default enabled sources as they
1888 are currently blocking requests from the beets user agent. :bug:`4585`
1889 - :doc:`/faq`: :ref:`multidisc`: Elaborated the multi-disc FAQ :bug:`4806`
1890 - :doc:`/faq`: :ref:`src`: Removed some long lines.
1891 - Refactor the test cases to avoid test smells.
1892
1893 1.6.0 (November 27, 2021)
1894 -------------------------
1895
1896 This release is our first experiment with time-based releases! We are aiming to
1897 publish a new release of beets every 3 months. We therefore have a healthy but
1898 not dizzyingly long list of new features and fixes.
1899
1900 With this release, beets now requires Python 3.6 or later (it removes support
1901 for Python 2.7, 3.4, and 3.5). There are also a few other dependency
1902 changes---if you're a maintainer of a beets package for a package manager, thank
1903 you for your ongoing efforts, and please see the list of notes below.
1904
1905 Major new features
1906 ~~~~~~~~~~~~~~~~~~
1907
1908 - When fetching genres from MusicBrainz, we now include genres from the release
1909 group (in addition to the release). We also prioritize genres based on the
1910 number of votes. Thanks to :user:`aereaux`.
1911 - Primary and secondary release types from MusicBrainz are now stored in a new
1912 ``albumtypes`` field. Thanks to :user:`edgars-supe`. :bug:`2200`
1913 - An accompanying new :doc:`/plugins/albumtypes` includes some options for
1914 formatting this new ``albumtypes`` field. Thanks to :user:`edgars-supe`.
1915 - The :ref:`modify-cmd` and :ref:`import-cmd` can now use
1916 :doc:`/reference/pathformat` formats when setting fields. For example, you can
1917 now do ``beet modify title='$track $title'`` to put track numbers into songs'
1918 titles. :bug:`488`
1919
1920 Other new things
1921 ~~~~~~~~~~~~~~~~
1922
1923 - :doc:`/plugins/permissions`: The plugin now sets cover art permissions to
1924 match the audio file permissions.
1925 - :doc:`/plugins/unimported`: A new configuration option supports excluding
1926 specific subdirectories in library.
1927 - :doc:`/plugins/info`: Add support for an ``--album`` flag.
1928 - :doc:`/plugins/export`: Similarly add support for an ``--album`` flag.
1929 - ``beet move`` now highlights path differences in color (when enabled).
1930 - When moving files and a direct rename of a file is not possible (for example,
1931 when crossing filesystems), beets now copies to a temporary file in the target
1932 folder first and then moves to the destination instead of directly copying the
1933 target path. This gets us closer to always updating files atomically. Thanks
1934 to :user:`catap`. :bug:`4060`
1935 - :doc:`/plugins/fetchart`: Add a new option to store cover art as
1936 non-progressive image. This is useful for DAPs that do not support progressive
1937 images. Set ``deinterlace: yes`` in your configuration to enable this
1938 conversion.
1939 - :doc:`/plugins/fetchart`: Add a new option to change the file format of cover
1940 art images. This may also be useful for DAPs that only support some image
1941 formats.
1942 - Support flexible attributes in ``%aunique``. :bug:`2678` :bug:`3553`
1943 - Make ``%aunique`` faster, especially when using inline fields. :bug:`4145`
1944
1945 Bug fixes
1946 ~~~~~~~~~
1947
1948 - :doc:`/plugins/lyrics`: Fix a crash when Beautiful Soup is not installed.
1949 :bug:`4027`
1950 - :doc:`/plugins/discogs`: Support a new Discogs URL format for IDs. :bug:`4080`
1951 - :doc:`/plugins/discogs`: Remove built-in rate-limiting because the Discogs
1952 Python library we use now has its own rate-limiting. :bug:`4108`
1953 - :doc:`/plugins/export`: Fix some duplicated output.
1954 - :doc:`/plugins/aura`: Fix a potential security hole when serving image files.
1955 :bug:`4160`
1956
1957 For plugin developers
1958 ~~~~~~~~~~~~~~~~~~~~~
1959
1960 - :py:meth:`beets.library.Item.destination` now accepts a ``replacements``
1961 argument to be used in favor of the default.
1962 - The ``pluginload`` event is now sent after plugin types and queries are
1963 available, not before.
1964 - A new plugin event, ``album_removed``, is called when an album is removed from
1965 the library (even when its file is not deleted from disk).
1966
1967 Here are some notes for packagers
1968 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1969
1970 - As noted above, the minimum Python version is now 3.6.
1971 - We fixed a flaky test, named ``test_album_art`` in the ``test_zero.py`` file,
1972 that some distributions had disabled. Disabling this test should no longer be
1973 necessary. :bug:`4037` :bug:`4038`
1974 - This version of beets no longer depends on the six_ library. :bug:`4030`
1975 - The ``gmusic`` plugin was removed since Google Play Music has been shut down.
1976 Thus, the optional dependency on ``gmusicapi`` does not exist anymore.
1977 :bug:`4089`
1978
1979 1.5.0 (August 19, 2021)
1980 -----------------------
1981
1982 This long overdue release of beets includes far too many exciting and useful
1983 features than could ever be satisfactorily enumerated. As a technical detail, it
1984 also introduces two new external libraries: MediaFile_ and Confuse_ used to be
1985 part of beets but are now reusable dependencies---packagers, please take note.
1986 Finally, this is the last version of beets where we intend to support Python 2.x
1987 and 3.5; future releases will soon require Python 3.6.
1988
1989 One non-technical change is that we moved our official ``#beets`` home on IRC
1990 from freenode to Libera.Chat_.
1991
1992 .. _libera.chat: https://libera.chat/
1993
1994 Major new features
1995 ~~~~~~~~~~~~~~~~~~
1996
1997 - Fields in queries now fall back to an item's album and check its fields too.
1998 Notably, this allows querying items by an album's attribute: in other words,
1999 ``beet list foo:bar`` will not only find tracks with the ``foo`` attribute; it
2000 will also find tracks *on albums* that have the ``foo`` attribute. This may be
2001 particularly useful in the :ref:`path-format-config`, which matches individual
2002 items to decide which path to use. Thanks to :user:`FichteFoll`. :bug:`2797`
2003 :bug:`2988`
2004 - A new :ref:`reflink` config option instructs the importer to create fast,
2005 copy-on-write file clones on filesystems that support them. Thanks to
2006 :user:`rubdos`.
2007 - A new :doc:`/plugins/unimported` lets you find untracked files in your library
2008 directory.
2009 - The :doc:`/plugins/aura` has arrived! Try out the future of remote music
2010 library access today.
2011 - We now fetch information about works_ from MusicBrainz. MusicBrainz matches
2012 provide the fields ``work`` (the title), ``mb_workid`` (the MBID), and
2013 ``work_disambig`` (the disambiguation string). Thanks to :user:`dosoe`.
2014 :bug:`2580` :bug:`3272`
2015 - A new :doc:`/plugins/parentwork` gets information about the original work,
2016 which is useful for classical music. Thanks to :user:`dosoe`. :bug:`2580`
2017 :bug:`3279`
2018 - :doc:`/plugins/bpd`: BPD now supports most of the features of version 0.16 of
2019 the MPD protocol. This is enough to get it talking to more complicated clients
2020 like ncmpcpp, but there are still some incompatibilities, largely due to MPD
2021 commands we don't support yet. (Let us know if you find an MPD client that
2022 doesn't get along with BPD!) :bug:`3214` :bug:`800`
2023 - A new :doc:`/plugins/deezer` can autotag tracks and albums using the Deezer_
2024 database. Thanks to :user:`rhlahuja`. :bug:`3355`
2025 - A new :doc:`/plugins/bareasc` provides a new query type: "bare ASCII" queries
2026 that ignore accented characters, treating them as though they were plain ASCII
2027 characters. Use the ``#`` prefix with :ref:`list-cmd` or other commands.
2028 :bug:`3882`
2029 - :doc:`/plugins/fetchart`: The plugin can now get album art from last.fm_.
2030 :bug:`3530`
2031 - :doc:`/plugins/web`: The API now supports the HTTP ``DELETE`` and ``PATCH``
2032 methods for modifying items. They are disabled by default; set ``readonly:
2033 no`` in your configuration file to enable modification via the API.
2034 :bug:`3870`
2035
2036 Other new things
2037 ~~~~~~~~~~~~~~~~
2038
2039 - ``beet remove`` now also allows interactive selection of items from the query,
2040 similar to ``beet modify``.
2041 - Enable HTTPS for MusicBrainz by default and add configuration option
2042 :conf:`plugins.musicbrainz:https` for custom servers. See
2043 :ref:`musicbrainz-config` for more details.
2044 - :doc:`/plugins/mpdstats`: Add a new ``strip_path`` option to help build the
2045 right local path from MPD information.
2046 - :doc:`/plugins/convert`: Conversion can now parallelize conversion jobs on
2047 Python 3.
2048 - :doc:`/plugins/lastgenre`: Add a new ``title_case`` config option to make
2049 title-case formatting optional.
2050 - There's a new message when running ``beet config`` when there's no available
2051 configuration file. :bug:`3779`
2052 - When importing a duplicate album, the prompt now says "keep all" instead of
2053 "keep both" to reflect that there may be more than two albums involved.
2054 :bug:`3569`
2055 - :doc:`/plugins/chroma`: The plugin now updates file metadata after generating
2056 fingerprints through the ``submit`` command.
2057 - :doc:`/plugins/lastgenre`: Added more heavy metal genres to the built-in genre
2058 filter lists.
2059 - A new :doc:`/plugins/subsonicplaylist` can import playlists from a Subsonic
2060 server.
2061 - :doc:`/plugins/subsonicupdate`: The plugin now automatically chooses between
2062 token- and password-based authentication based on the server version.
2063 - A new :conf:`plugins.musicbrainz:extra_tags` configuration option lets you use
2064 more metadata in MusicBrainz queries to further narrow the search.
2065 - A new :doc:`/plugins/fish` adds `Fish shell`_ tab autocompletion to beets.
2066 - :doc:`plugins/fetchart` and :doc:`plugins/embedart`: Added a new ``quality``
2067 option that controls the quality of the image output when the image is
2068 resized.
2069 - :doc:`plugins/keyfinder`: Added support for keyfinder-cli_. Thanks to
2070 :user:`BrainDamage`.
2071 - :doc:`plugins/fetchart`: Added a new ``high_resolution`` config option to
2072 allow downloading of higher resolution iTunes artwork (at the expense of file
2073 size). :bug:`3391`
2074 - :doc:`plugins/discogs`: The plugin applies two new fields: ``discogs_labelid``
2075 and ``discogs_artistid``. :bug:`3413`
2076 - :doc:`/plugins/export`: Added a new ``-f`` (``--format``) flag, which can
2077 export your data as JSON, JSON lines, CSV, or XML. Thanks to :user:`austinmm`.
2078 :bug:`3402`
2079 - :doc:`/plugins/convert`: Added a new ``-l`` (``--link``) flag and ``link``
2080 option as well as the ``-H`` (``--hardlink``) flag and ``hardlink`` option,
2081 which symlink or hardlink files that do not need to be converted (instead of
2082 copying them). :bug:`2324`
2083 - :doc:`/plugins/replaygain`: The plugin now supports a ``per_disc`` option that
2084 enables calculation of album ReplayGain on disc level instead of album level.
2085 Thanks to :user:`samuelnilsson`. :bug:`293`
2086 - :doc:`/plugins/replaygain`: The new ``ffmpeg`` ReplayGain backend supports
2087 ``R128_`` tags. :bug:`3056`
2088 - :doc:`plugins/replaygain`: A new ``r128_targetlevel`` configuration option
2089 defines the reference volume for files using ``R128_`` tags. ``targetlevel``
2090 only configures the reference volume for ``REPLAYGAIN_`` files. :bug:`3065`
2091 - :doc:`/plugins/discogs`: The plugin now collects the "style" field. Thanks to
2092 :user:`thedevilisinthedetails`. :bug:`2579` :bug:`3251`
2093 - :doc:`/plugins/absubmit`: By default, the plugin now avoids re-analyzing files
2094 that already have AcousticBrainz data. There are new ``force`` and ``pretend``
2095 options to help control this new behavior. Thanks to :user:`SusannaMaria`.
2096 :bug:`3318`
2097 - :doc:`/plugins/discogs`: The plugin now also gets genre information and a new
2098 ``discogs_albumid`` field from the Discogs API. Thanks to
2099 :user:`thedevilisinthedetails`. :bug:`465` :bug:`3322`
2100 - :doc:`/plugins/acousticbrainz`: The plugin now fetches two more additional
2101 fields: ``moods_mirex`` and ``timbre``. Thanks to :user:`malcops`. :bug:`2860`
2102 - :doc:`/plugins/playlist` and :doc:`/plugins/smartplaylist`: A new
2103 ``forward_slash`` config option facilitates compatibility with MPD on Windows.
2104 Thanks to :user:`MartyLake`. :bug:`3331` :bug:`3334`
2105 - The ``data_source`` field, which indicates which metadata source was used
2106 during an autotagging import, is now also applied as an album-level flexible
2107 attribute. :bug:`3350` :bug:`1693`
2108 - :doc:`/plugins/beatport`: The plugin now gets the musical key, BPM, and genre
2109 for each track. :bug:`2080`
2110 - A new :doc:`/plugins/bpsync` can synchronize metadata changes from the
2111 Beatport database (like the existing :doc:`/plugins/mbsync` for MusicBrainz).
2112 - :doc:`/plugins/hook`: The plugin now treats non-zero exit codes as errors.
2113 :bug:`3409`
2114 - :doc:`/plugins/subsonicupdate`: A new ``url`` configuration replaces the older
2115 (and now deprecated) separate ``host``, ``port``, and ``contextpath`` config
2116 options. As a consequence, the plugin can now talk to Subsonic over HTTPS.
2117 Thanks to :user:`jef`. :bug:`3449`
2118 - :doc:`/plugins/discogs`: The new :conf:`plugins.discogs:index_tracks` option
2119 enables incorporation of work names and intra-work divisions into imported
2120 track titles. Thanks to :user:`cole-miller`. :bug:`3459`
2121 - :doc:`/plugins/web`: The query API now interprets backslashes as path
2122 separators to support path queries. Thanks to :user:`nmeum`. :bug:`3567`
2123 - ``beet import`` now handles tar archives with bzip2 or gzip compression.
2124 :bug:`3606`
2125 - ``beet import`` *also* now handles 7z archives, via the py7zr_ library. Thanks
2126 to :user:`arogl`. :bug:`3906`
2127 - :doc:`/plugins/plexupdate`: Added an option to use a secure connection to Plex
2128 server, and to ignore certificate validation errors if necessary. :bug:`2871`
2129 - :doc:`/plugins/convert`: A new ``delete_originals`` configuration option can
2130 delete the source files after conversion during import. Thanks to
2131 :user:`logan-arens`. :bug:`2947`
2132 - There is a new ``--plugins`` (or ``-p``) CLI flag to specify a list of plugins
2133 to load.
2134 - A new :conf:`plugins.musicbrainz:genres` option fetches genre information from
2135 MusicBrainz. This functionality depends on functionality that is currently
2136 unreleased in the python-musicbrainzngs_ library: see PR `#266
2137 <https://github.com/alastair/python-musicbrainzngs/pull/266>`_. Thanks to
2138 :user:`aereaux`.
2139 - :doc:`/plugins/replaygain`: Analysis now happens in parallel using the
2140 ``command`` and ``ffmpeg`` backends. :bug:`3478`
2141 - :doc:`plugins/replaygain`: The bs1770gain backend is removed. Thanks to
2142 :user:`SamuelCook`.
2143 - Added ``trackdisambig`` which stores the recording disambiguation from
2144 MusicBrainz for each track. :bug:`1904`
2145 - :doc:`plugins/fetchart`: The new ``max_filesize`` configuration sets a maximum
2146 target image file size.
2147 - :doc:`/plugins/badfiles`: Checkers can now run during import with the
2148 ``check_on_import`` config option.
2149 - :doc:`/plugins/export`: The plugin is now much faster when using the
2150 ``--include-keys`` option is used. Thanks to :user:`ssssam`.
2151 - The importer's :ref:`set_fields` option now saves all updated fields to
2152 on-disk metadata. :bug:`3925` :bug:`3927`
2153 - We now fetch ISRC identifiers from MusicBrainz. Thanks to :user:`aereaux`.
2154 - :doc:`/plugins/metasync`: The plugin now also fetches the "Date Added" field
2155 from iTunes databases and stores it in the ``itunes_dateadded`` field. Thanks
2156 to :user:`sandersantema`.
2157 - :doc:`/plugins/lyrics`: Added a new Tekstowo.pl lyrics provider. Thanks to
2158 various people for the implementation and for reporting issues with the
2159 initial version. :bug:`3344` :bug:`3904` :bug:`3905` :bug:`3994`
2160 - ``beet update`` will now confirm that the user still wants to update if their
2161 library folder cannot be found, preventing the user from accidentally wiping
2162 out their beets database. Thanks to user: ``logan-arens``. :bug:`1934`
2163
2164 Fixes
2165 ~~~~~
2166
2167 - Adapt to breaking changes in Python's ``ast`` module in Python 3.8.
2168 - :doc:`/plugins/beatport`: Fix the assignment of the ``genre`` field, and
2169 rename ``musical_key`` to ``initial_key``. :bug:`3387`
2170 - :doc:`/plugins/lyrics`: Fixed the Musixmatch backend for lyrics pages when
2171 lyrics are divided into multiple elements on the webpage, and when the lyrics
2172 are missing.
2173 - :doc:`/plugins/web`: Allow use of the backslash character in regex queries.
2174 :bug:`3867`
2175 - :doc:`/plugins/web`: Fixed a small bug that caused the album art path to be
2176 redacted even when ``include_paths`` option is set. :bug:`3866`
2177 - :doc:`/plugins/discogs`: Fixed a bug with the
2178 :conf:`plugins.discogs:index_tracks` option that sometimes caused the index to
2179 be discarded. Also, remove the extra semicolon that was added when there is no
2180 index track.
2181 - :doc:`/plugins/subsonicupdate`: The API client was using the ``POST`` method
2182 rather the ``GET`` method. Also includes better exception handling, response
2183 parsing, and tests.
2184 - :doc:`/plugins/the`: Fixed incorrect regex for "the" that matched any 3-letter
2185 combination of the letters t, h, e. :bug:`3701`
2186 - :doc:`/plugins/fetchart`: Fixed a bug that caused the plugin to not take
2187 environment variables, such as proxy servers, into account when making
2188 requests. :bug:`3450`
2189 - :doc:`/plugins/fetchart`: Temporary files for fetched album art that fail
2190 validation are now removed.
2191 - :doc:`/plugins/inline`: In function-style field definitions that refer to
2192 flexible attributes, values could stick around from one function invocation to
2193 the next. This meant that, when displaying a list of objects, later objects
2194 could seem to reuse values from earlier objects when they were missing a value
2195 for a given field. These values are now properly undefined. :bug:`2406`
2196 - :doc:`/plugins/bpd`: Seeking by fractions of a second now works as intended,
2197 fixing crashes in MPD clients like mpDris2 on seek. The ``playlistid`` command
2198 now works properly in its zero-argument form. :bug:`3214`
2199 - :doc:`/plugins/replaygain`: Fix a Python 3 incompatibility in the Python Audio
2200 Tools backend. :bug:`3305`
2201 - :doc:`/plugins/importadded`: Fixed a crash that occurred when the
2202 ``after_write`` signal was emitted. :bug:`3301`
2203 - :doc:`plugins/replaygain`: Fix the storage format for R128 gain tags.
2204 :bug:`3311` :bug:`3314`
2205 - :doc:`/plugins/discogs`: Fixed a crash that occurred when the master URI isn't
2206 set in the API response. :bug:`2965` :bug:`3239`
2207 - :doc:`/plugins/spotify`: Fix handling of year-only release dates returned by
2208 the Spotify albums API. Thanks to :user:`rhlahuja`. :bug:`3343`
2209 - Fixed a bug that caused the UI to display incorrect track numbers for tracks
2210 with index 0 when the ``per_disc_numbering`` option was set. :bug:`3346`
2211 - ``none_rec_action`` does not import automatically when ``timid`` is enabled.
2212 Thanks to :user:`RollingStar`. :bug:`3242`
2213 - Fix a bug that caused a crash when tagging items with the beatport plugin.
2214 :bug:`3374`
2215 - ``beet import`` now logs which files are ignored when in debug mode.
2216 :bug:`3764`
2217 - :doc:`/plugins/bpd`: Fix the transition to next track when in consume mode.
2218 Thanks to :user:`aereaux`. :bug:`3437`
2219 - :doc:`/plugins/lyrics`: Fix a corner-case with Genius lowercase artist names
2220 :bug:`3446`
2221 - :doc:`/plugins/parentwork`: Don't save tracks when nothing has changed.
2222 :bug:`3492`
2223 - Added a warning when configuration files defined in the ``include`` directive
2224 of the configuration file fail to be imported. :bug:`3498`
2225 - Added normalization to integer values in the database, which should avoid
2226 problems where fields like ``bpm`` would sometimes store non-integer values.
2227 :bug:`762` :bug:`3507` :bug:`3508`
2228 - Fix a crash when querying for null values. :bug:`3516` :bug:`3517`
2229 - :doc:`/plugins/lyrics`: Tolerate a missing lyrics div in the Genius scraper.
2230 Thanks to :user:`thejli21`. :bug:`3535` :bug:`3554`
2231 - :doc:`/plugins/lyrics`: Use the artist sort name to search for lyrics, which
2232 can help find matches when the artist name has special characters. Thanks to
2233 :user:`hashhar`. :bug:`3340` :bug:`3558`
2234 - :doc:`/plugins/replaygain`: Trying to calculate volume gain for an album
2235 consisting of some formats using ``ReplayGain`` and some using ``R128`` will
2236 no longer crash; instead it is skipped and and a message is logged. The log
2237 message has also been rewritten for to improve clarity. Thanks to
2238 :user:`autrimpo`. :bug:`3533`
2239 - :doc:`/plugins/lyrics`: Adapt the Genius backend to changes in markup to
2240 reduce the scraping failure rate. :bug:`3535` :bug:`3594`
2241 - :doc:`/plugins/lyrics`: Fix a crash when writing ReST files for a query
2242 without results or fetched lyrics. :bug:`2805`
2243 - :doc:`/plugins/fetchart`: Attempt to fetch pre-resized thumbnails from Cover
2244 Art Archive if the ``maxwidth`` option matches one of the sizes supported by
2245 the Cover Art Archive API. Thanks to :user:`trolley`. :bug:`3637`
2246 - :doc:`/plugins/ipfs`: Fix Python 3 compatibility. Thanks to :user:`musoke`.
2247 :bug:`2554`
2248 - Fix a bug that caused metadata starting with something resembling a drive
2249 letter to be incorrectly split into an extra directory after the colon.
2250 :bug:`3685`
2251 - :doc:`/plugins/mpdstats`: Don't record a skip when stopping MPD, as MPD keeps
2252 the current track in the queue. Thanks to :user:`aereaux`. :bug:`3722`
2253 - String-typed fields are now normalized to string values, avoiding an
2254 occasional crash when using both the :doc:`/plugins/fetchart` and the
2255 :doc:`/plugins/discogs` together. :bug:`3773` :bug:`3774`
2256 - Fix a bug causing PIL to generate poor quality JPEGs when resizing artwork.
2257 :bug:`3743`
2258 - :doc:`plugins/keyfinder`: Catch output from ``keyfinder-cli`` that is missing
2259 key. :bug:`2242`
2260 - :doc:`plugins/replaygain`: Disable parallel analysis on import by default.
2261 :bug:`3819`
2262 - :doc:`/plugins/mpdstats`: Fix Python 2/3 compatibility :bug:`3798`
2263 - :doc:`/plugins/discogs`: Replace the deprecated official ``discogs-client``
2264 library with the community supported python3-discogs-client_ library.
2265 :bug:`3608`
2266 - :doc:`/plugins/chroma`: Fixed submitting AcoustID information for tracks that
2267 already have a fingerprint. :bug:`3834`
2268 - Allow equals within the value part of the ``--set`` option to the ``beet
2269 import`` command. :bug:`2984`
2270 - Duplicates can now generate checksums. Thanks :user:`wisp3rwind` for the
2271 pointer to how to solve. Thanks to :user:`arogl`. :bug:`2873`
2272 - Templates that use ``%ifdef`` now produce the expected behavior when used in
2273 conjunction with non-string fields from the :doc:`/plugins/types`. :bug:`3852`
2274 - :doc:`/plugins/lyrics`: Fix crashes when a website could not be retrieved,
2275 affecting at least the Genius source. :bug:`3970`
2276 - :doc:`/plugins/duplicates`: Fix a crash when running the ``dup`` command with
2277 a query that returns no results. :bug:`3943`
2278 - :doc:`/plugins/beatport`: Fix the default assignment of the musical key.
2279 :bug:`3377`
2280 - :doc:`/plugins/lyrics`: Improved searching on the Genius backend when the
2281 artist contains special characters. :bug:`3634`
2282 - :doc:`/plugins/parentwork`: Also get the composition date of the parent work,
2283 instead of just the child work. Thanks to :user:`aereaux`. :bug:`3650`
2284 - :doc:`/plugins/lyrics`: Fix a bug in the heuristic for detecting valid lyrics
2285 in the Google source. :bug:`2969`
2286 - :doc:`/plugins/thumbnails`: Fix a crash due to an incorrect string type on
2287 Python 3. :bug:`3360`
2288 - :doc:`/plugins/fetchart`: The Cover Art Archive source now iterates over all
2289 front images instead of blindly selecting the first one.
2290 - :doc:`/plugins/lyrics`: Removed the LyricWiki source (the site shut down on
2291 21/09/2020).
2292 - :doc:`/plugins/subsonicupdate`: The plugin is now functional again. A new
2293 ``auth`` configuration option is required in the configuration to specify the
2294 flavor of authentication to use. :bug:`4002`
2295
2296 For plugin developers
2297 ~~~~~~~~~~~~~~~~~~~~~
2298
2299 - MediaFile_ has been split into a standalone project. Where you used to do
2300 ``from beets import mediafile``, now just do ``import mediafile``. Beets
2301 re-exports MediaFile at the old location for backwards-compatibility, but a
2302 deprecation warning is raised if you do this since we might drop this wrapper
2303 in a future release.
2304 - Similarly, we've replaced beets' configuration library (previously called
2305 Confit) with a standalone version called Confuse_. Where you used to do ``from
2306 beets.util import confit``, now just do ``import confuse``. The code is almost
2307 identical apart from the name change. Again, we'll re-export at the old
2308 location (with a deprecation warning) for backwards compatibility, but we
2309 might stop doing this in a future release.
2310 - ``beets.util.command_output`` now returns a named tuple containing both the
2311 standard output and the standard error data instead of just stdout alone.
2312 Client code will need to access the ``stdout`` attribute on the return value.
2313 Thanks to :user:`zsinskri`. :bug:`3329`
2314 - There were sporadic failures in ``test.test_player``. Hopefully these are
2315 fixed. If they resurface, please reopen the relevant issue. :bug:`3309`
2316 :bug:`3330`
2317 - The ``beets.plugins.MetadataSourcePlugin`` base class has been added to
2318 simplify development of plugins which query album, track, and search APIs to
2319 provide metadata matches for the importer. Refer to the
2320 :doc:`/plugins/spotify` and the :doc:`/plugins/deezer` for examples of using
2321 this template class. :bug:`3355`
2322 - Accessing fields on an ``Item`` now falls back to the album's attributes. So,
2323 for example, ``item.foo`` will first look for a field ``foo`` on ``item`` and,
2324 if it doesn't exist, next tries looking for a field named ``foo`` on the album
2325 that contains ``item``. If you specifically want to access an item's
2326 attributes, use ``Item.get(key, with_album=False)``. :bug:`2988`
2327 - ``Item.keys`` also has a ``with_album`` argument now, defaulting to ``True``.
2328 - A ``revision`` attribute has been added to ``Database``. It is increased on
2329 every transaction that mutates it. :bug:`2988`
2330 - The classes ``AlbumInfo`` and ``TrackInfo`` now convey arbitrary attributes
2331 instead of a fixed, built-in set of field names (which was important to
2332 address :bug:`1547`). Thanks to :user:`dosoe`.
2333 - Two new events, ``mb_album_extract`` and ``mb_track_extract``, let plugins add
2334 new fields based on MusicBrainz data. Thanks to :user:`dosoe`.
2335
2336 For packagers
2337 ~~~~~~~~~~~~~
2338
2339 - Beets' library for manipulating media file metadata has now been split to a
2340 standalone project called MediaFile_, released as :pypi:`mediafile`. Beets now
2341 depends on this new package. Beets now depends on Mutagen transitively through
2342 MediaFile rather than directly, except in the case of one of beets' plugins
2343 (in particular, the :doc:`/plugins/scrub`).
2344 - Beets' library for configuration has been split into a standalone project
2345 called Confuse_, released as :pypi:`confuse`. Beets now depends on this
2346 package. Confuse has existed separately for some time and is used by unrelated
2347 projects, but until now we've been bundling a copy within beets.
2348 - We attempted to fix an unreliable test, so a patch to skip-broken-test_ or
2349 repairing_ may no longer be necessary.
2350 - This version drops support for Python 3.4.
2351 - We have removed an optional dependency on bs1770gain.
2352
2353 .. _confuse: https://github.com/beetbox/confuse
2354
2355 .. _deezer: https://www.deezer.com/en/
2356
2357 .. _fish shell: https://fishshell.com/
2358
2359 .. _keyfinder-cli: https://github.com/EvanPurkhiser/keyfinder-cli
2360
2361 .. _last.fm: https://www.last.fm/
2362
2363 .. _mediafile: https://github.com/beetbox/mediafile
2364
2365 .. _py7zr: https://pypi.org/project/py7zr/
2366
2367 .. _python3-discogs-client: https://github.com/joalla/discogs_client
2368
2369 .. _repairing: https://build.opensuse.org/package/view_file/openSUSE:Factory/beets/fix_test_command_line_option_relative_to_working_dir.diff?expand=1
2370
2371 .. _skip-broken-test: https://sources.debian.org/src/beets/1.4.7-2/debian/patches/skip-broken-test/
2372
2373 .. _works: https://musicbrainz.org/doc/Work
2374
2375 1.4.9 (May 30, 2019)
2376 --------------------
2377
2378 This small update is part of our attempt to release new versions more often!
2379 There are a few important fixes, and we're clearing the deck for a change to
2380 beets' dependencies in the next version.
2381
2382 The new feature is
2383 ~~~~~~~~~~~~~~~~~~
2384
2385 - You can use the NO_COLOR_ environment variable to disable terminal colors.
2386 :bug:`3273`
2387
2388 There are some fixes in this release
2389 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2390
2391 - Fix a regression in the last release that made the image resizer fail to
2392 detect older versions of ImageMagick. :bug:`3269`
2393 - ``/plugins/gmusic``: The ``oauth_file`` config option now supports more
2394 flexible path values, including ``~`` for the home directory. :bug:`3270`
2395 - ``/plugins/gmusic``: Fix a crash when using version 12.0.0 or later of the
2396 ``gmusicapi`` module. :bug:`3270`
2397 - Fix an incompatibility with Python 3.8's AST changes. :bug:`3278`
2398
2399 Here's a note for packagers
2400 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2401
2402 - ``pathlib`` is now an optional test dependency on Python 3.4+, removing the
2403 need for `Debian pathlib patch`_ :bug:`3275`
2404
2405 .. _debian pathlib patch: https://sources.debian.org/src/beets/1.4.7-2/debian/patches/pathlib-is-stdlib/
2406
2407 .. _no_color: https://no-color.org
2408
2409 1.4.8 (May 16, 2019)
2410 --------------------
2411
2412 This release is far too long in coming, but it's a good one. There is the usual
2413 torrent of new features and a ridiculously long line of fixes, but there are
2414 also some crucial maintenance changes. We officially support Python 3.7 and 3.8,
2415 and some performance optimizations can (anecdotally) make listing your library
2416 more than three times faster than in the previous version.
2417
2418 The new core features are
2419 ~~~~~~~~~~~~~~~~~~~~~~~~~
2420
2421 - A new :ref:`config-aunique` configuration option allows setting default
2422 options for the :ref:`aunique` template function.
2423 - The ``albumdisambig`` field no longer includes the MusicBrainz release group
2424 disambiguation comment. A new ``releasegroupdisambig`` field has been added.
2425 :bug:`3024`
2426 - The :ref:`modify-cmd` command now allows resetting fixed attributes. For
2427 example, ``beet modify -a artist:beatles artpath!`` resets ``artpath``
2428 attribute from matching albums back to the default value. :bug:`2497`
2429 - A new importer option, :ref:`ignore_data_tracks`, lets you skip audio tracks
2430 contained in data files. :bug:`3021`
2431
2432 There are some new plugins
2433 ~~~~~~~~~~~~~~~~~~~~~~~~~~
2434
2435 - The :doc:`/plugins/playlist` can query the beets library using M3U playlists.
2436 Thanks to :user:`Holzhaus` and :user:`Xenopathic`. :bug:`123` :bug:`3145`
2437 - The :doc:`/plugins/loadext` allows loading of SQLite extensions, primarily for
2438 use with the ICU SQLite extension for internationalization. :bug:`3160`
2439 :bug:`3226`
2440 - The :doc:`/plugins/subsonicupdate` can automatically update your Subsonic
2441 library. Thanks to :user:`maffo999`. :bug:`3001`
2442
2443 And many improvements to existing plugins
2444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2445
2446 - :doc:`/plugins/lastgenre`: Added option ``-A`` to match individual tracks and
2447 singletons. :bug:`3220` :bug:`3219`
2448 - :doc:`/plugins/play`: The plugin can now emit a UTF-8 BOM, fixing some issues
2449 with foobar2000 and Winamp. Thanks to :user:`mz2212`. :bug:`2944`
2450 - ``/plugins/gmusic``:
2451
2452 - Add a new option to automatically upload to Google Play Music library on
2453 track import. Thanks to :user:`shuaiscott`.
2454 - Add new options for Google Play Music authentication. Thanks to
2455 :user:`thetarkus`. :bug:`3002`
2456
2457 - :doc:`/plugins/replaygain`: ``albumpeak`` on large collections is calculated
2458 as the average, not the maximum. :bug:`3008` :bug:`3009`
2459 - :doc:`/plugins/chroma`:
2460
2461 - Now optionally has a bias toward looking up more relevant releases according
2462 to the :ref:`preferred` configuration options. Thanks to :user:`archer4499`.
2463 :bug:`3017`
2464 - Fingerprint values are now properly stored as strings, which prevents
2465 strange repeated output when running ``beet write``. Thanks to
2466 :user:`Holzhaus`. :bug:`3097` :bug:`2942`
2467
2468 - :doc:`/plugins/convert`: The plugin now has an ``id3v23`` option that allows
2469 you to override the global ``id3v23`` option. Thanks to :user:`Holzhaus`.
2470 :bug:`3104`
2471 - :doc:`/plugins/spotify`:
2472
2473 - The plugin now uses OAuth for authentication to the Spotify API. Thanks to
2474 :user:`rhlahuja`. :bug:`2694` :bug:`3123`
2475 - The plugin now works as an import metadata provider: you can match tracks
2476 and albums using the Spotify database. Thanks to :user:`rhlahuja`.
2477 :bug:`3123`
2478
2479 - :doc:`/plugins/ipfs`: The plugin now supports a ``nocopy`` option which passes
2480 that flag to ipfs. Thanks to :user:`wildthyme`.
2481 - :doc:`/plugins/discogs`: The plugin now has rate limiting for the Discogs API.
2482 :bug:`3081`
2483 - :doc:`/plugins/mpdstats`, :doc:`/plugins/mpdupdate`: These plugins now use the
2484 ``MPD_PORT`` environment variable if no port is specified in the configuration
2485 file. :bug:`3223`
2486 - :doc:`/plugins/bpd`:
2487
2488 - MPD protocol commands ``consume`` and ``single`` are now supported along
2489 with updated semantics for ``repeat`` and ``previous`` and new fields for
2490 ``status``. The bpd server now understands and ignores some additional
2491 commands. :bug:`3200` :bug:`800`
2492 - MPD protocol command ``idle`` is now supported, allowing the MPD version to
2493 be bumped to 0.14. :bug:`3205` :bug:`800`
2494 - MPD protocol command ``decoders`` is now supported. :bug:`3222`
2495 - The plugin now uses the main beets logging system. The special-purpose
2496 ``--debug`` flag has been removed. Thanks to :user:`arcresu`. :bug:`3196`
2497
2498 - :doc:`/plugins/mbsync`: The plugin no longer queries MusicBrainz when either
2499 the ``mb_albumid`` or ``mb_trackid`` field is invalid. See also the discussion
2500 on `Google Groups`_ Thanks to :user:`arogl`.
2501 - :doc:`/plugins/export`: The plugin now also exports ``path`` field if the user
2502 explicitly specifies it with ``-i`` parameter. This only works when exporting
2503 library fields. :bug:`3084`
2504 - :doc:`/plugins/acousticbrainz`: The plugin now declares types for all its
2505 fields, which enables easier querying and avoids a problem where very small
2506 numbers would be stored as strings. Thanks to :user:`rain0r`. :bug:`2790`
2507 :bug:`3238`
2508
2509 .. _google groups: https://groups.google.com/forum/#!searchin/beets-users/mbsync|sort:date/beets-users/iwCF6bNdh9A/i1xl4Gx8BQAJ
2510
2511 Some improvements have been focused on improving beets' performance
2512 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2513
2514 - Querying the library is now faster:
2515
2516 - We only convert fields that need to be displayed. Thanks to :user:`pprkut`.
2517 :bug:`3089`
2518 - We now compile templates once and reuse them instead of recompiling them to
2519 print out each matching object. Thanks to :user:`SimonPersson`. :bug:`3258`
2520 - Querying the library for items is now faster, for all queries that do not
2521 need to access album level properties. This was implemented by lazily
2522 fetching the album only when needed. Thanks to :user:`SimonPersson`.
2523 :bug:`3260`
2524
2525 - :doc:`/plugins/absubmit`, :doc:`/plugins/badfiles`: Analysis now works in
2526 parallel (on Python 3 only). Thanks to :user:`bemeurer`. :bug:`2442`
2527 :bug:`3003`
2528 - :doc:`/plugins/mpdstats`: Use the ``currentsong`` MPD command instead of
2529 ``playlist`` to get the current song, improving performance when the playlist
2530 is long. Thanks to :user:`ray66`. :bug:`3207` :bug:`2752`
2531
2532 Several improvements are related to usability
2533 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2534
2535 - The disambiguation string for identifying albums in the importer now shows the
2536 catalog number. Thanks to :user:`8h2a`. :bug:`2951`
2537 - Added whitespace padding to missing tracks dialog to improve readability.
2538 Thanks to :user:`jams2`. :bug:`2962`
2539 - The :ref:`move-cmd` command now lists the number of items already in-place.
2540 Thanks to :user:`RollingStar`. :bug:`3117`
2541 - Modify selection can now be applied early without selecting every item.
2542 :bug:`3083`
2543 - Beets now emits more useful messages during startup if SQLite returns an
2544 error. The SQLite error message is now attached to the beets message.
2545 :bug:`3005`
2546 - Fixed a confusing typo when the :doc:`/plugins/convert` plugin copies the art
2547 covers. :bug:`3063`
2548
2549 Many fixes have been focused on issues where beets would previously crash
2550 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2551
2552 - Avoid a crash when archive extraction fails during import. :bug:`3041`
2553 - Missing album art file during an update no longer causes a fatal exception
2554 (instead, an error is logged and the missing file path is removed from the
2555 library). :bug:`3030`
2556 - When updating the database, beets no longer tries to move album art twice.
2557 :bug:`3189`
2558 - Fix an unhandled exception when pruning empty directories. :bug:`1996`
2559 :bug:`3209`
2560 - :doc:`/plugins/fetchart`: Added network connection error handling to backends
2561 so that beets won't crash if a request fails. Thanks to :user:`Holzhaus`.
2562 :bug:`1579`
2563 - :doc:`/plugins/badfiles`: Avoid a crash when the underlying tool emits
2564 undecodable output. :bug:`3165`
2565 - :doc:`/plugins/beatport`: Avoid a crash when the server produces an error.
2566 :bug:`3184`
2567 - :doc:`/plugins/bpd`: Fix crashes in the bpd server during exception handling.
2568 :bug:`3200`
2569 - :doc:`/plugins/bpd`: Fix a crash triggered when certain clients tried to list
2570 the albums belonging to a particular artist. :bug:`3007` :bug:`3215`
2571 - :doc:`/plugins/replaygain`: Avoid a crash when the ``bs1770gain`` tool emits
2572 malformed XML. :bug:`2983` :bug:`3247`
2573
2574 There are many fixes related to compatibility with our dependencies including
2575 addressing changes interfaces:
2576
2577 - On Python 2, pin the :pypi:`jellyfish` requirement to version 0.6.0 for
2578 compatibility.
2579 - Fix compatibility with Python 3.7 and its change to a name in the :stdlib:`re`
2580 module. :bug:`2978`
2581 - Fix several uses of deprecated standard-library features on Python 3.7. Thanks
2582 to :user:`arcresu`. :bug:`3197`
2583 - Fix compatibility with pre-release versions of Python 3.8. :bug:`3201`
2584 :bug:`3202`
2585 - :doc:`/plugins/web`: Fix an error when using more recent versions of Flask
2586 with CORS enabled. Thanks to :user:`rveachkc`. :bug:`2979`: :bug:`2980`
2587 - Avoid some deprecation warnings with certain versions of the MusicBrainz
2588 library. Thanks to :user:`zhelezov`. :bug:`2826` :bug:`3092`
2589 - Restore iTunes Store album art source, and remove the dependency on
2590 :pypi:`python-itunes`, which had gone unmaintained and was not
2591 Python-3-compatible. Thanks to :user:`ocelma` for creating
2592 :pypi:`python-itunes` in the first place. Thanks to :user:`nathdwek`.
2593 :bug:`2371` :bug:`2551` :bug:`2718`
2594 - :doc:`/plugins/lastgenre`, :doc:`/plugins/edit`: Avoid a deprecation warnings
2595 from the :pypi:`PyYAML` library by switching to the safe loader. Thanks to
2596 :user:`translit` and :user:`sbraz`. :bug:`3192` :bug:`3225`
2597 - Fix a problem when resizing images with :pypi:`PIL`/:pypi:`pillow` on Python
2598 3. Thanks to :user:`architek`. :bug:`2504` :bug:`3029`
2599
2600 And there are many other fixes
2601 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2602
2603 - R128 normalization tags are now properly deleted from files when the values
2604 are missing. Thanks to :user:`autrimpo`. :bug:`2757`
2605 - Display the artist credit when matching albums if the :ref:`artist_credit`
2606 configuration option is set. :bug:`2953`
2607 - With the :ref:`from_scratch` configuration option set, only writable fields
2608 are cleared. Beets now no longer ignores the format your music is saved in.
2609 :bug:`2972`
2610 - The ``%aunique`` template function now works correctly with the
2611 ``-f/--format`` option. :bug:`3043`
2612 - Fixed the ordering of items when manually selecting changes while updating
2613 tags Thanks to :user:`TaizoSimpson`. :bug:`3501`
2614 - The ``%title`` template function now works correctly with apostrophes. Thanks
2615 to :user:`GuilhermeHideki`. :bug:`3033`
2616 - :doc:`/plugins/lastgenre`: It's now possible to set the ``prefer_specific``
2617 option without also setting ``canonical``. :bug:`2973`
2618 - :doc:`/plugins/fetchart`: The plugin now respects the ``ignore`` and
2619 ``ignore_hidden`` settings. :bug:`1632`
2620 - :doc:`/plugins/hook`: Fix byte string interpolation in hook commands.
2621 :bug:`2967` :bug:`3167`
2622 - :doc:`/plugins/the`: Log a message when something has changed, not when it
2623 hasn't. Thanks to :user:`arcresu`. :bug:`3195`
2624 - :doc:`/plugins/lastgenre`: The ``force`` config option now actually works.
2625 :bug:`2704` :bug:`3054`
2626 - Resizing image files with ImageMagick now avoids problems on systems where
2627 there is a ``convert`` command that is *not* ImageMagick's by using the
2628 ``magick`` executable when it is available. Thanks to :user:`ababyduck`.
2629 :bug:`2093` :bug:`3236`
2630
2631 There is one new thing for plugin developers to know about
2632 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2633
2634 - In addition to prefix-based field queries, plugins can now define *named
2635 queries* that are not associated with any specific field. For example, the new
2636 :doc:`/plugins/playlist` supports queries like ``playlist:name`` although
2637 there is no field named ``playlist``. See :ref:`extend-query` for details.
2638
2639 And some messages for packagers
2640 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2641
2642 - Note the changes to the dependencies on :pypi:`jellyfish` and :pypi:`munkres`.
2643 - The optional :pypi:`python-itunes` dependency has been removed.
2644 - Python versions 3.7 and 3.8 are now supported.
2645
2646 1.4.7 (May 29, 2018)
2647 --------------------
2648
2649 This new release includes lots of new features in the importer and the metadata
2650 source backends that it uses. We've changed how the beets importer handles
2651 non-audio tracks listed in metadata sources like MusicBrainz:
2652
2653 - The importer now ignores non-audio tracks (namely, data and video tracks)
2654 listed in MusicBrainz. Also, a new option, :ref:`ignore_video_tracks`, lets
2655 you return to the old behavior and include these video tracks. :bug:`1210`
2656 - A new importer option, :ref:`ignored_media`, can let you skip certain media
2657 formats. :bug:`2688`
2658
2659 There are other subtle improvements to metadata handling in the importer
2660 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2661
2662 - In the MusicBrainz backend, beets now imports the
2663 ``musicbrainz_releasetrackid`` field. This is a first step toward :bug:`406`.
2664 Thanks to :user:`Rawrmonkeys`.
2665 - A new importer configuration option, :ref:`artist_credit`, will tell beets to
2666 prefer the artist credit over the artist when autotagging. :bug:`1249`
2667
2668 And there are even more new features
2669 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2670
2671 - :doc:`/plugins/replaygain`: The ``beet replaygain`` command now has
2672 ``--force``, ``--write`` and ``--nowrite`` options. :bug:`2778`
2673 - A new importer configuration option, :ref:`incremental_skip_later`, lets you
2674 avoid recording skipped directories to the list of "processed" directories in
2675 :ref:`incremental` mode. This way, you can revisit them later with another
2676 import. Thanks to :user:`sekjun9878`. :bug:`2773`
2677 - :doc:`/plugins/fetchart`: The configuration options now support finer-grained
2678 control via the ``sources`` option. You can now specify the search order for
2679 different *matching strategies* within different backends.
2680 - :doc:`/plugins/web`: A new ``cors_supports_credentials`` configuration option
2681 lets in-browser clients communicate with the server even when it is protected
2682 by an authorization mechanism (a proxy with HTTP authentication enabled, for
2683 example).
2684 - A new :doc:`/plugins/sonosupdate` plugin automatically notifies Sonos
2685 controllers to update the music library when the beets library changes. Thanks
2686 to :user:`cgtobi`.
2687 - :doc:`/plugins/discogs`: The plugin now stores master release IDs into
2688 ``mb_releasegroupid``. It also "simulates" track IDs using the release ID and
2689 the track list position. Thanks to :user:`dbogdanov`. :bug:`2336`
2690 - :doc:`/plugins/discogs`: Fetch the original year from master releases.
2691 :bug:`1122`
2692
2693 There are lots and lots of fixes
2694 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2695
2696 - :doc:`/plugins/replaygain`: Fix a corner-case with the ``bs1770gain`` backend
2697 where ReplayGain values were assigned to the wrong files. The plugin now
2698 requires version 0.4.6 or later of the ``bs1770gain`` tool. :bug:`2777`
2699 - :doc:`/plugins/lyrics`: The plugin no longer crashes in the Genius source when
2700 BeautifulSoup is not found. Instead, it just logs a message and disables the
2701 source. :bug:`2911`
2702 - :doc:`/plugins/lyrics`: Handle network and API errors when communicating with
2703 Genius. :bug:`2771`
2704 - :doc:`/plugins/lyrics`: The ``lyrics`` command previously wrote ReST files by
2705 default, even when you didn't ask for them. This default has been fixed.
2706 - :doc:`/plugins/lyrics`: When writing ReST files, the ``lyrics`` command now
2707 groups lyrics by the ``albumartist`` field, rather than ``artist``.
2708 :bug:`2924`
2709 - Plugins can now see updated import task state, such as when rejecting the
2710 initial candidates and finding new ones via a manual search. Notably, this
2711 means that the importer prompt options that the :doc:`/plugins/edit` provides
2712 show up more reliably after doing a secondary import search. :bug:`2441`
2713 :bug:`2731`
2714 - :doc:`/plugins/importadded`: Fix a crash on non-autotagged imports. Thanks to
2715 :user:`m42i`. :bug:`2601` :bug:`1918`
2716 - :doc:`/plugins/plexupdate`: The Plex token is now redacted in configuration
2717 output. Thanks to :user:`Kovrinic`. :bug:`2804`
2718 - Avoid a crash when importing a non-ASCII filename when using an ASCII locale
2719 on Unix under Python 3. :bug:`2793` :bug:`2803`
2720 - Fix a problem caused by time zone misalignment that could make date queries
2721 fail to match certain dates that are near the edges of a range. For example,
2722 querying for dates within a certain month would fail to match dates within
2723 hours of the end of that month. :bug:`2652`
2724 - :doc:`/plugins/convert`: The plugin now runs before other plugin-provided
2725 import stages, which addresses an issue with generating ReplayGain data
2726 incompatible between the source and target file formats. Thanks to
2727 :user:`autrimpo`. :bug:`2814`
2728 - :doc:`/plugins/ftintitle`: The ``drop`` config option had no effect; it now
2729 does what it says it should do. :bug:`2817`
2730 - Importing a release with multiple release events now selects the event based
2731 on the order of your :ref:`preferred` countries rather than the order of
2732 release events in MusicBrainz. :bug:`2816`
2733 - :doc:`/plugins/web`: The time display in the web interface would incorrectly
2734 jump at the 30-second mark of every minute. Now, it correctly changes over at
2735 zero seconds. :bug:`2822`
2736 - :doc:`/plugins/web`: Fetching album art now works (instead of throwing an
2737 exception) under Python 3. Additionally, the server will now return a 404
2738 response when the album ID is unknown (instead of throwing an exception and
2739 producing a 500 response). :bug:`2823`
2740 - :doc:`/plugins/web`: Fix an exception on Python 3 for filenames with
2741 non-Latin1 characters. (These characters are now converted to their ASCII
2742 equivalents.) :bug:`2815`
2743 - Partially fix bash completion for subcommand names that contain hyphens.
2744 Thanks to :user:`jhermann`. :bug:`2836` :bug:`2837`
2745 - :doc:`/plugins/replaygain`: Really fix album gain calculation using the
2746 GStreamer backend. :bug:`2846`
2747 - Avoid an error when doing a "no-op" move on non-existent files (i.e., moving a
2748 file onto itself). :bug:`2863`
2749 - :doc:`/plugins/discogs`: Fix the ``medium`` and ``medium_index`` values, which
2750 were occasionally incorrect for releases with two-sided mediums such as vinyl.
2751 Also fix the ``medium_total`` value, which now contains total number of tracks
2752 on the medium to which a track belongs, not the total number of different
2753 mediums present on the release. Thanks to :user:`dbogdanov`. :bug:`2887`
2754 - The importer now supports audio files contained in data tracks when they are
2755 listed in MusicBrainz: the corresponding audio tracks are now merged into the
2756 main track list. Thanks to :user:`jdetrey`. :bug:`1638`
2757 - :doc:`/plugins/keyfinder`: Avoid a crash when trying to process unmatched
2758 tracks. :bug:`2537`
2759 - :doc:`/plugins/mbsync`: Support MusicBrainz recording ID changes, relying on
2760 release track IDs instead. Thanks to :user:`jdetrey`. :bug:`1234`
2761 - :doc:`/plugins/mbsync`: We can now successfully update albums even when the
2762 first track has a missing MusicBrainz recording ID. :bug:`2920`
2763
2764 There are a couple of changes for developers
2765 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2766
2767 - Plugins can now run their import stages *early*, before other plugins. Use the
2768 ``early_import_stages`` list instead of plain ``import_stages`` to request
2769 this behavior. :bug:`2814`
2770 - We again properly send ``albuminfo_received`` and ``trackinfo_received`` in
2771 all cases, most notably when using the ``mbsync`` plugin. This was a
2772 regression since version 1.4.1. :bug:`2921`
2773
2774 1.4.6 (December 21, 2017)
2775 -------------------------
2776
2777 The highlight of this release is "album merging," an oft-requested option in the
2778 importer to add new tracks to an existing album you already have in your
2779 library. This way, you no longer need to resort to removing the partial album
2780 from your library, combining the files manually, and importing again.
2781
2782 Here are the larger new features in this release
2783 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2784
2785 - When the importer finds duplicate albums, you can now merge all the
2786 tracks---old and new---together and try importing them as a single, combined
2787 album. Thanks to :user:`udiboy1209`. :bug:`112` :bug:`2725`
2788 - :doc:`/plugins/lyrics`: The plugin can now produce reStructuredText files for
2789 beautiful, readable books of lyrics. Thanks to :user:`anarcat`. :bug:`2628`
2790 - A new :ref:`from_scratch` configuration option makes the importer remove old
2791 metadata before applying new metadata. This new feature complements the
2792 :doc:`zero </plugins/zero>` and :doc:`scrub </plugins/scrub>` plugins but is
2793 slightly different: beets clears out all the old tags it knows about and only
2794 keeps the new data it gets from the remote metadata source. Thanks to
2795 :user:`tummychow`. :bug:`934` :bug:`2755`
2796
2797 There are also somewhat littler, but still great, new features
2798 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2799
2800 - :doc:`/plugins/convert`: A new ``no_convert`` option lets you skip transcoding
2801 items matching a query. Instead, the files are just copied as-is. Thanks to
2802 :user:`Stunner`. :bug:`2732` :bug:`2751`
2803 - :doc:`/plugins/fetchart`: A new quiet switch that only prints out messages
2804 when album art is missing. Thanks to :user:`euri10`. :bug:`2683`
2805 - :doc:`/plugins/mbcollection`: You can configure a custom MusicBrainz
2806 collection via the new ``collection`` configuration option. :bug:`2685`
2807 - :doc:`/plugins/mbcollection`: The collection update command can now remove
2808 albums from collections that are longer in the beets library.
2809 - :doc:`/plugins/fetchart`: The ``clearart`` command now asks for confirmation
2810 before touching your files. Thanks to :user:`konman2`. :bug:`2708` :bug:`2427`
2811 - :doc:`/plugins/mpdstats`: The plugin now correctly updates song statistics
2812 when MPD switches from a song to a stream and when it plays the same song
2813 multiple times consecutively. :bug:`2707`
2814 - :doc:`/plugins/acousticbrainz`: The plugin can now be configured to write only
2815 a specific list of tags. Thanks to :user:`woparry`.
2816
2817 There are lots and lots of bug fixes
2818 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2819
2820 - :doc:`/plugins/hook`: Fixed a problem where accessing non-string properties of
2821 ``item`` or ``album`` (e.g., ``item.track``) would cause a crash. Thanks to
2822 :user:`broddo`. :bug:`2740`
2823 - :doc:`/plugins/play`: When ``relative_to`` is set, the plugin correctly emits
2824 relative paths even when querying for albums rather than tracks. Thanks to
2825 :user:`j000`. :bug:`2702`
2826 - We suppress a spurious Python warning about a ``BrokenPipeError`` being
2827 ignored. This was an issue when using beets in simple shell scripts. Thanks to
2828 :user:`Azphreal`. :bug:`2622` :bug:`2631`
2829 - :doc:`/plugins/replaygain`: Fix a regression in the previous release related
2830 to the new R128 tags. :bug:`2615` :bug:`2623`
2831 - :doc:`/plugins/lyrics`: The MusixMatch backend now detects and warns when the
2832 server has blocked the client. Thanks to :user:`anarcat`. :bug:`2634`
2833 :bug:`2632`
2834 - :doc:`/plugins/importfeeds`: Fix an error on Python 3 in certain
2835 configurations. Thanks to :user:`djl`. :bug:`2467` :bug:`2658`
2836 - :doc:`/plugins/edit`: Fix a bug when editing items during a re-import with the
2837 ``-L`` flag. Previously, diffs against against unrelated items could be shown
2838 or beets could crash. :bug:`2659`
2839 - :doc:`/plugins/kodiupdate`: Fix the server URL and add better error reporting.
2840 :bug:`2662`
2841 - Fixed a problem where "no-op" modifications would reset files' mtimes,
2842 resulting in unnecessary writes. This most prominently affected the
2843 :doc:`/plugins/edit` when saving the text file without making changes to some
2844 music. :bug:`2667`
2845 - :doc:`/plugins/chroma`: Fix a crash when running the ``submit`` command on
2846 Python 3 on Windows with non-ASCII filenames. :bug:`2671`
2847 - :doc:`/plugins/absubmit`: Fix an occasional crash on Python 3 when the AB
2848 analysis tool produced non-ASCII metadata. :bug:`2673`
2849 - :doc:`/plugins/duplicates`: Use the default tiebreak for items or albums when
2850 the configuration only specifies a tiebreak for the other kind of entity.
2851 Thanks to :user:`cgevans`. :bug:`2758`
2852 - :doc:`/plugins/duplicates`: Fix the ``--key`` command line option, which was
2853 ignored.
2854 - :doc:`/plugins/replaygain`: Fix album ReplayGain calculation with the
2855 GStreamer backend. :bug:`2636`
2856 - :doc:`/plugins/scrub`: Handle errors when manipulating files using newer
2857 versions of Mutagen. :bug:`2716`
2858 - :doc:`/plugins/fetchart`: The plugin no longer gets skipped during import when
2859 the "Edit Candidates" option is used from the :doc:`/plugins/edit`.
2860 :bug:`2734`
2861 - Fix a crash when numeric metadata fields contain just a minus or plus sign
2862 with no following numbers. Thanks to :user:`eigengrau`. :bug:`2741`
2863 - :doc:`/plugins/fromfilename`: Recognize file names that contain *only* a track
2864 number, such as ``01.mp3``. Also, the plugin now allows underscores as a
2865 separator between fields. Thanks to :user:`Vrihub`. :bug:`2738` :bug:`2759`
2866 - Fixed an issue where images would be resized according to their longest edge,
2867 instead of their width, when using the ``maxwidth`` config option in the
2868 :doc:`/plugins/fetchart` and :doc:`/plugins/embedart`. Thanks to
2869 :user:`sekjun9878`. :bug:`2729`
2870
2871 There are some changes for developers
2872 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2873
2874 - "Fixed fields" in Album and Item objects are now more strict about translating
2875 missing values into type-specific null-like values. This should help in cases
2876 where a string field is unexpectedly ``None`` sometimes instead of just
2877 showing up as an empty string. :bug:`2605`
2878 - Refactored the move functions the ``beets.library`` module and the
2879 ``manipulate_files`` function in ``beets.importer`` to use a single parameter
2880 describing the file operation instead of multiple Boolean flags. There is a
2881 new numerated type describing how to move, copy, or link files. :bug:`2682`
2882
2883 1.4.5 (June 20, 2017)
2884 ---------------------
2885
2886 Version 1.4.5 adds some oft-requested features. When you're importing files, you
2887 can now manually set fields on the new music. Date queries have gotten much more
2888 powerful: you can write precise queries down to the second, and we now have
2889 *relative* queries like ``-1w``, which means *one week ago*.
2890
2891 Here are the new features
2892 ~~~~~~~~~~~~~~~~~~~~~~~~~
2893
2894 - You can now set fields to certain values during :ref:`import-cmd`, using
2895 either a ``--set field=value`` command-line flag or a new :ref:`set_fields`
2896 configuration option under the ``importer`` section. Thanks to :user:`bartkl`.
2897 :bug:`1881` :bug:`2581`
2898 - :ref:`Date queries <datequery>` can now include times, so you can filter your
2899 music down to the second. Thanks to :user:`discopatrick`. :bug:`2506`
2900 :bug:`2528`
2901 - :ref:`Date queries <datequery>` can also be *relative*. You can say
2902 ``added:-1w..`` to match music added in the last week, for example. Thanks to
2903 :user:`euri10`. :bug:`2598`
2904 - A new ``/plugins/gmusic`` lets you interact with your Google Play Music
2905 library. Thanks to :user:`tigranl`. :bug:`2553` :bug:`2586`
2906 - :doc:`/plugins/replaygain`: We now keep R128 data in separate tags from
2907 classic ReplayGain data for formats that need it (namely, Ogg Opus). A new
2908 ``r128`` configuration option enables this behavior for specific formats.
2909 Thanks to :user:`autrimpo`. :bug:`2557` :bug:`2560`
2910 - The :ref:`move-cmd` command gained a new ``--export`` flag, which copies files
2911 to an external location without changing their paths in the library database.
2912 Thanks to :user:`SpirosChadoulos`. :bug:`435` :bug:`2510`
2913
2914 There are also some bug fixes
2915 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2916
2917 - :doc:`/plugins/lastgenre`: Fix a crash when using the ``prefer_specific`` and
2918 ``canonical`` options together. Thanks to :user:`yacoob`. :bug:`2459`
2919 :bug:`2583`
2920 - :doc:`/plugins/web`: Fix a crash on Windows under Python 2 when serving
2921 non-ASCII filenames. Thanks to :user:`robot3498712`. :bug:`2592` :bug:`2593`
2922 - :doc:`/plugins/metasync`: Fix a crash in the Amarok backend when filenames
2923 contain quotes. Thanks to :user:`aranc23`. :bug:`2595` :bug:`2596`
2924 - More informative error messages are displayed when the file format is not
2925 recognized. :bug:`2599`
2926
2927 1.4.4 (June 10, 2017)
2928 ---------------------
2929
2930 This release built up a longer-than-normal list of nifty new features. We now
2931 support DSF audio files and the importer can hard-link your files, for example.
2932
2933 Here's a full list of new features
2934 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2935
2936 - Added support for DSF files, once a future version of Mutagen is released that
2937 supports them. Thanks to :user:`docbobo`. :bug:`459` :bug:`2379`
2938 - A new :ref:`hardlink` config option instructs the importer to create hard
2939 links on filesystems that support them. Thanks to :user:`jacobwgillespie`.
2940 :bug:`2445`
2941 - A new :doc:`/plugins/kodiupdate` lets you keep your Kodi library in sync with
2942 beets. Thanks to :user:`Pauligrinder`. :bug:`2411`
2943 - A new :ref:`bell` configuration option under the ``import`` section enables a
2944 terminal bell when input is required. Thanks to :user:`SpirosChadoulos`.
2945 :bug:`2366` :bug:`2495`
2946 - A new field, ``composer_sort``, is now supported and fetched from MusicBrainz.
2947 Thanks to :user:`dosoe`. :bug:`2519` :bug:`2529`
2948 - The MusicBrainz backend and :doc:`/plugins/discogs` now both provide a new
2949 attribute called ``track_alt`` that stores more nuanced, possibly non-numeric
2950 track index data. For example, some vinyl or tape media will report the side
2951 of the record using a letter instead of a number in that field. :bug:`1831`
2952 :bug:`2363`
2953 - :doc:`/plugins/web`: Added a new endpoint, ``/item/path/foo``, which will
2954 return the item info for the file at the given path, or 404.
2955 - :doc:`/plugins/web`: Added a new config option, ``include_paths``, which will
2956 cause paths to be included in item API responses if set to true.
2957 - The ``%aunique`` template function for :ref:`aunique` now takes a third
2958 argument that specifies which brackets to use around the disambiguator value.
2959 The argument can be any two characters that represent the left and right
2960 brackets. It defaults to ``[]`` and can also be blank to turn off bracketing.
2961 :bug:`2397` :bug:`2399`
2962 - Added a ``--move`` or ``-m`` option to the importer so that the files can be
2963 moved to the library instead of being copied or added "in place." :bug:`2252`
2964 :bug:`2429`
2965 - :doc:`/plugins/badfiles`: Added a ``--verbose`` or ``-v`` option. Results are
2966 now displayed only for corrupted files by default and for all the files when
2967 the verbose option is set. :bug:`1654` :bug:`2434`
2968 - :doc:`/plugins/embedart`: The explicit ``embedart`` command now asks for
2969 confirmation before embedding art into music files. Thanks to :user:`Stunner`.
2970 :bug:`1999`
2971 - You can now run beets by typing ``python -m beets``. :bug:`2453`
2972 - :doc:`/plugins/smartplaylist`: Different playlist specifications that generate
2973 identically-named playlist files no longer conflict; instead, the resulting
2974 lists of tracks are concatenated. :bug:`2468`
2975 - :doc:`/plugins/missing`: A new mode lets you see missing albums from artists
2976 you have in your library. Thanks to :user:`qlyoung`. :bug:`2481`
2977 - :doc:`/plugins/web` : Add new ``reverse_proxy`` config option to allow serving
2978 the web plugins under a reverse proxy.
2979 - Importing a release with multiple release events now selects the event based
2980 on your :ref:`preferred` countries. :bug:`2501`
2981 - :doc:`/plugins/play`: A new ``-y`` or ``--yes`` parameter lets you skip the
2982 warning message if you enqueue more items than the warning threshold usually
2983 allows.
2984 - Fix a bug where commands which forked subprocesses would sometimes prevent
2985 further inputs. This bug mainly affected :doc:`/plugins/convert`. Thanks to
2986 :user:`jansol`. :bug:`2488` :bug:`2524`
2987
2988 There are also quite a few fixes
2989 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2990
2991 - In the :ref:`replace` configuration option, we now replace a leading hyphen
2992 (-) with an underscore. :bug:`549` :bug:`2509`
2993 - :doc:`/plugins/absubmit`: We no longer filter audio files for specific
2994 formats---we will attempt the submission process for all formats. :bug:`2471`
2995 - :doc:`/plugins/mpdupdate`: Fix Python 3 compatibility. :bug:`2381`
2996 - :doc:`/plugins/replaygain`: Fix Python 3 compatibility in the ``bs1770gain``
2997 backend. :bug:`2382`
2998 - :doc:`/plugins/bpd`: Report playback times as integers. :bug:`2394`
2999 - :doc:`/plugins/mpdstats`: Fix Python 3 compatibility. The plugin also now
3000 requires version 0.4.2 or later of the ``python-mpd2`` library. :bug:`2405`
3001 - :doc:`/plugins/mpdstats`: Improve handling of MPD status queries.
3002 - :doc:`/plugins/badfiles`: Fix Python 3 compatibility.
3003 - Fix some cases where album-level ReplayGain/SoundCheck metadata would be
3004 written to files incorrectly. :bug:`2426`
3005 - :doc:`/plugins/badfiles`: The command no longer bails out if the validator
3006 command is not found or exits with an error. :bug:`2430` :bug:`2433`
3007 - :doc:`/plugins/lyrics`: The Google search backend no longer crashes when the
3008 server responds with an error. :bug:`2437`
3009 - :doc:`/plugins/discogs`: You can now authenticate with Discogs using a
3010 personal access token. :bug:`2447`
3011 - Fix Python 3 compatibility when extracting rar archives in the importer.
3012 Thanks to :user:`Lompik`. :bug:`2443` :bug:`2448`
3013 - :doc:`/plugins/duplicates`: Fix Python 3 compatibility when using the ``copy``
3014 and ``move`` options. :bug:`2444`
3015 - :doc:`/plugins/mbsubmit`: The tracks are now sorted properly. Thanks to
3016 :user:`awesomer`. :bug:`2457`
3017 - :doc:`/plugins/thumbnails`: Fix a string-related crash on Python 3.
3018 :bug:`2466`
3019 - :doc:`/plugins/beatport`: More than just 10 songs are now fetched per album.
3020 :bug:`2469`
3021 - On Python 3, the :ref:`terminal_encoding` setting is respected again for
3022 output and printing will no longer crash on systems configured with a limited
3023 encoding.
3024 - :doc:`/plugins/convert`: The default configuration uses FFmpeg's built-in AAC
3025 codec instead of faac. Thanks to :user:`jansol`. :bug:`2484`
3026 - Fix the importer's detection of multi-disc albums when other subdirectories
3027 are present. :bug:`2493`
3028 - Invalid date queries now print an error message instead of being silently
3029 ignored. Thanks to :user:`discopatrick`. :bug:`2513` :bug:`2517`
3030 - When the SQLite database stops being accessible, we now print a friendly error
3031 message. Thanks to :user:`Mary011196`. :bug:`1676` :bug:`2508`
3032 - :doc:`/plugins/web`: Avoid a crash when sending binary data, such as
3033 Chromaprint fingerprints, in music attributes. :bug:`2542` :bug:`2532`
3034 - Fix a hang when parsing templates that end in newlines. :bug:`2562`
3035 - Fix a crash when reading non-ASCII characters in configuration files on
3036 Windows under Python 3. :bug:`2456` :bug:`2565` :bug:`2566`
3037
3038 We removed backends from two metadata plugins because of bitrot
3039 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3040
3041 - :doc:`/plugins/lyrics`: The Lyrics.com backend has been removed. (It stopped
3042 working because of changes to the site's URL structure.) :bug:`2548`
3043 :bug:`2549`
3044 - :doc:`/plugins/fetchart`: The documentation no longer recommends iTunes Store
3045 artwork lookup because the unmaintained python-itunes_ is broken. Want to
3046 adopt it? :bug:`2371` :bug:`1610`
3047
3048 .. _python-itunes: https://github.com/ocelma/python-itunes
3049
3050 1.4.3 (January 9, 2017)
3051 -----------------------
3052
3053 Happy new year! This new version includes a cornucopia of new features from
3054 contributors, including new tags related to classical music and a new
3055 :doc:`/plugins/absubmit` for performing acoustic analysis on your music. The
3056 :doc:`/plugins/random` has a new mode that lets you generate time-limited
3057 music---for example, you might generate a random playlist that lasts the perfect
3058 length for your walk to work. We also access as many Web services as possible
3059 over secure connections now---HTTPS everywhere!
3060
3061 The most visible new features are
3062 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3063
3064 - We now support the composer, lyricist, and arranger tags. The MusicBrainz data
3065 source will fetch data for these fields when the next version of
3066 python-musicbrainzngs_ is released. Thanks to :user:`ibmibmibm`. :bug:`506`
3067 :bug:`507` :bug:`1547` :bug:`2333`
3068 - A new :doc:`/plugins/absubmit` lets you run acoustic analysis software and
3069 upload the results for others to use. Thanks to :user:`inytar`. :bug:`2253`
3070 :bug:`2342`
3071 - :doc:`/plugins/play`: The plugin now provides an importer prompt choice to
3072 play the music you're about to import. Thanks to :user:`diomekes`. :bug:`2008`
3073 :bug:`2360`
3074 - We now use SSL to access Web services whenever possible. That includes
3075 MusicBrainz itself, several album art sources, some lyrics sources, and other
3076 servers. Thanks to :user:`tigranl`. :bug:`2307`
3077 - :doc:`/plugins/random`: A new ``--time`` option lets you generate a random
3078 playlist that takes a given amount of time. Thanks to :user:`diomekes`.
3079 :bug:`2305` :bug:`2322`
3080
3081 Some smaller new features
3082 ~~~~~~~~~~~~~~~~~~~~~~~~~
3083
3084 - :doc:`/plugins/zero`: A new ``zero`` command manually triggers the zero
3085 plugin. Thanks to :user:`SJoshBrown`. :bug:`2274` :bug:`2329`
3086 - :doc:`/plugins/acousticbrainz`: The plugin will avoid re-downloading data for
3087 files that already have it by default. You can override this behavior using a
3088 new ``force`` option. Thanks to :user:`SusannaMaria`. :bug:`2347` :bug:`2349`
3089 - :doc:`/plugins/bpm`: The ``import.write`` configuration option now decides
3090 whether or not to write tracks after updating their BPM. :bug:`1992`
3091
3092 And the fixes
3093 ~~~~~~~~~~~~~
3094
3095 - :doc:`/plugins/bpd`: Fix a crash on non-ASCII MPD commands. :bug:`2332`
3096 - :doc:`/plugins/scrub`: Avoid a crash when files cannot be read or written.
3097 :bug:`2351`
3098 - :doc:`/plugins/scrub`: The image type values on scrubbed files are preserved
3099 instead of being reset to "other." :bug:`2339`
3100 - :doc:`/plugins/web`: Fix a crash on Python 3 when serving files from the
3101 filesystem. :bug:`2353`
3102 - :doc:`/plugins/discogs`: Improve the handling of releases that contain
3103 subtracks. :bug:`2318`
3104 - :doc:`/plugins/discogs`: Fix a crash when a release does not contain format
3105 information, and increase robustness when other fields are missing.
3106 :bug:`2302`
3107 - :doc:`/plugins/lyrics`: The plugin now reports a beets-specific User-Agent
3108 header when requesting lyrics. :bug:`2357`
3109 - :doc:`/plugins/embyupdate`: The plugin now checks whether an API key or a
3110 password is provided in the configuration.
3111 - :doc:`/plugins/play`: The misspelled configuration option ``warning_treshold``
3112 is no longer supported.
3113
3114 For plugin developers
3115 ~~~~~~~~~~~~~~~~~~~~~
3116
3117 - :ref:`append_prompt_choices`: When providing new importer prompt choices, you
3118 can now provide new candidates for the user to consider. For example, you
3119 might provide an alternative strategy for picking between the available
3120 alternatives or for looking up a release on MusicBrainz.
3121
3122 1.4.2 (December 16, 2016)
3123 -------------------------
3124
3125 This is just a little bug fix release. With 1.4.2, we're also confident enough
3126 to recommend that anyone who's interested give Python 3 a try: bugs may still
3127 lurk, but we've deemed things safe enough for broad adoption. If you can, please
3128 install beets with ``pip3`` instead of ``pip2`` this time and let us know how it
3129 goes!
3130
3131 Here are the fixes
3132 ~~~~~~~~~~~~~~~~~~
3133
3134 - :doc:`/plugins/badfiles`: Fix a crash on non-ASCII filenames. :bug:`2299`
3135 - The ``%asciify{}`` path formatting function and the :ref:`asciify-paths`
3136 setting properly substitute path separators generated by converting some
3137 Unicode characters, such as ½ and ¢, into ASCII.
3138 - :doc:`/plugins/convert`: Fix a logging-related crash when filenames contain
3139 curly braces. Thanks to :user:`kierdavis`. :bug:`2323`
3140 - We've rolled back some changes to the included zsh completion script that were
3141 causing problems for some users. :bug:`2266`
3142
3143 Also, we've removed some special handling for logging in the
3144 :doc:`/plugins/discogs` that we believe was unnecessary. If spurious log
3145 messages appear in this version, please let us know by filing a bug.
3146
3147 1.4.1 (November 25, 2016)
3148 -------------------------
3149
3150 Version 1.4 has **alpha-level** Python 3 support. Thanks to the heroic efforts
3151 of :user:`jrobeson`, beets should run both under Python 2.7, as before, and now
3152 under Python 3.4 and above. The support is still new: it undoubtedly contains
3153 bugs, so it may replace all your music with Limp Bizkit---but if you're brave
3154 and you have backups, please try installing on Python 3. Let us know how it
3155 goes.
3156
3157 If you package beets for distribution, here's what you'll want to know
3158 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3159
3160 - This version of beets now depends on the six_ library.
3161 - We also bumped our minimum required version of Mutagen_ to 1.33 (from 1.27).
3162 - Please don't package beets as a Python 3 application *yet*, even though most
3163 things work under Python 3.4 and later.
3164
3165 This version also makes a few changes to the command-line interface and
3166 configuration that you may need to know about:
3167
3168 - :doc:`/plugins/duplicates`: The ``duplicates`` command no longer accepts
3169 multiple field arguments in the form ``-k title albumartist album``. Each
3170 argument must be prefixed with ``-k``, as in ``-k title -k albumartist -k
3171 album``.
3172 - The old top-level ``colors`` configuration option has been removed (the
3173 setting is now under ``ui``).
3174 - The deprecated ``list_format_album`` and ``list_format_item`` configuration
3175 options have been removed (see :ref:`format_album` and :ref:`format_item`).
3176
3177 The are a few new features
3178 ~~~~~~~~~~~~~~~~~~~~~~~~~~
3179
3180 - :doc:`/plugins/mpdupdate`, :doc:`/plugins/mpdstats`: When the ``host`` option
3181 is not set, these plugins will now look for the ``$MPD_HOST`` environment
3182 variable before falling back to ``localhost``. Thanks to :user:`tarruda`.
3183 :bug:`2175`
3184 - :doc:`/plugins/web`: Added an ``expand`` option to show the items of an album.
3185 :bug:`2050`
3186 - :doc:`/plugins/embyupdate`: The plugin can now use an API key instead of a
3187 password to authenticate with Emby. :bug:`2045` :bug:`2117`
3188 - :doc:`/plugins/acousticbrainz`: The plugin now adds a ``bpm`` field.
3189 - ``beet --version`` now includes the Python version used to run beets.
3190 - :doc:`/reference/pathformat` can now include unescaped commas (``,``) when
3191 they are not part of a function call. :bug:`2166` :bug:`2213`
3192 - The :ref:`update-cmd` command takes a new ``-F`` flag to specify the fields to
3193 update. Thanks to :user:`dangmai`. :bug:`2229` :bug:`2231`
3194
3195 And there are a few bug fixes too
3196 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3197
3198 - :doc:`/plugins/convert`: The plugin no longer asks for confirmation if the
3199 query did not return anything to convert. :bug:`2260` :bug:`2262`
3200 - :doc:`/plugins/embedart`: The plugin now uses ``jpg`` as an extension rather
3201 than ``jpeg``, to ensure consistency with the :doc:`plugins/fetchart`. Thanks
3202 to :user:`tweitzel`. :bug:`2254` :bug:`2255`
3203 - :doc:`/plugins/embedart`: The plugin now works for all jpeg files, including
3204 those that are only recognizable by their magic bytes. :bug:`1545` :bug:`2255`
3205 - :doc:`/plugins/web`: The JSON output is no longer pretty-printed (for a space
3206 savings). :bug:`2050`
3207 - :doc:`/plugins/permissions`: Fix a regression in the previous release where
3208 the plugin would always fail to set permissions (and log a warning).
3209 :bug:`2089`
3210 - :doc:`/plugins/beatport`: Use track numbers from Beatport (instead of
3211 determining them from the order of tracks) and set the ``medium_index`` value.
3212 - With :ref:`per_disc_numbering` enabled, some metadata sources (notably, the
3213 :doc:`/plugins/beatport`) would not set the track number at all. This is
3214 fixed. :bug:`2085`
3215 - :doc:`/plugins/play`: Fix ``$args`` getting passed verbatim to the play
3216 command if it was set in the configuration but ``-A`` or ``--args`` was
3217 omitted.
3218 - With :ref:`ignore_hidden` enabled, non-UTF-8 filenames would cause a crash.
3219 This is fixed. :bug:`2168`
3220 - :doc:`/plugins/embyupdate`: Fixes authentication header problem that caused a
3221 problem that it was not possible to get tokens from the Emby API.
3222 - :doc:`/plugins/lyrics`: Some titles use a colon to separate the main title
3223 from a subtitle. To find more matches, the plugin now also searches for lyrics
3224 using the part part preceding the colon character. :bug:`2206`
3225 - Fix a crash when a query uses a date field and some items are missing that
3226 field. :bug:`1938`
3227 - :doc:`/plugins/discogs`: Subtracks are now detected and combined into a single
3228 track, two-sided mediums are treated as single discs, and tracks have
3229 ``media``, ``medium_total`` and ``medium`` set correctly. :bug:`2222`
3230 :bug:`2228`.
3231 - :doc:`/plugins/missing`: ``missing`` is now treated as an integer, allowing
3232 the use of (for example) ranges in queries.
3233 - :doc:`/plugins/smartplaylist`: Playlist names will be sanitized to ensure
3234 valid filenames. :bug:`2258`
3235 - The ID3 APIC tag now uses the Latin-1 encoding when possible instead of a
3236 Unicode encoding. This should increase compatibility with other software,
3237 especially with iTunes and when using ID3v2.3. Thanks to :user:`lazka`.
3238 :bug:`899` :bug:`2264` :bug:`2270`
3239
3240 The last release, 1.3.19, also erroneously reported its version as "1.3.18" when
3241 you typed ``beet version``. This has been corrected.
3242
3243 .. _six: https://pypi.org/project/six/
3244
3245 1.3.19 (June 25, 2016)
3246 ----------------------
3247
3248 This is primarily a bug fix release: it cleans up a couple of regressions that
3249 appeared in the last version. But it also features the triumphant return of the
3250 :doc:`/plugins/beatport` and a modernized :doc:`/plugins/bpd`.
3251
3252 It's also the first version where beets passes all its tests on Windows! May
3253 this herald a new age of cross-platform reliability for beets.
3254
3255 New features
3256 ~~~~~~~~~~~~
3257
3258 - :doc:`/plugins/beatport`: This metadata source plugin has arisen from the
3259 dead! It now works with Beatport's new OAuth-based API. Thanks to
3260 :user:`jbaiter`. :bug:`1989` :bug:`2067`
3261 - :doc:`/plugins/bpd`: The plugin now uses the modern GStreamer 1.0 instead of
3262 the old 0.10. Thanks to :user:`philippbeckmann`. :bug:`2057` :bug:`2062`
3263 - A new ``--force`` option for the :ref:`remove-cmd` command allows removal of
3264 items without prompting beforehand. :bug:`2042`
3265 - A new :ref:`duplicate_action` importer config option controls how duplicate
3266 albums or tracks treated in import task. :bug:`185`
3267
3268 Some fixes for Windows
3269 ~~~~~~~~~~~~~~~~~~~~~~
3270
3271 - Queries are now detected as paths when they contain backslashes (in addition
3272 to forward slashes). This only applies on Windows.
3273 - :doc:`/plugins/embedart`: Image similarity comparison with ImageMagick should
3274 now work on Windows.
3275 - :doc:`/plugins/fetchart`: The plugin should work more reliably with non-ASCII
3276 paths.
3277
3278 And other fixes
3279 ~~~~~~~~~~~~~~~
3280
3281 - :doc:`/plugins/replaygain`: The ``bs1770gain`` backend now correctly
3282 calculates sample peak instead of true peak. This comes with a major speed
3283 increase. :bug:`2031`
3284 - :doc:`/plugins/lyrics`: Avoid a crash and a spurious warning introduced in the
3285 last version about a Google API key, which appeared even when you hadn't
3286 enabled the Google lyrics source.
3287 - Fix a hard-coded path to ``bash-completion`` to work better with Homebrew
3288 installations. Thanks to :user:`bismark`. :bug:`2038`
3289 - Fix a crash introduced in the previous version when the standard input was
3290 connected to a Unix pipe. :bug:`2041`
3291 - Fix a crash when specifying non-ASCII format strings on the command line with
3292 the ``-f`` option for many commands. :bug:`2063`
3293 - :doc:`/plugins/fetchart`: Determine the file extension for downloaded images
3294 based on the image's magic bytes. The plugin prints a warning if result is not
3295 consistent with the server-supplied ``Content-Type`` header. In previous
3296 versions, the plugin would use a ``.jpg`` extension for all images.
3297 :bug:`2053`
3298
3299 1.3.18 (May 31, 2016)
3300 ---------------------
3301
3302 This update adds a new :doc:`/plugins/hook` that lets you integrate beets with
3303 command-line tools and an :doc:`/plugins/export` that can dump data from the
3304 beets database as JSON. You can also automatically translate lyrics using a
3305 machine translation service.
3306
3307 The ``echonest`` plugin has been removed in this version because the API it used
3308 is `shutting down`_. You might want to try the :doc:`/plugins/acousticbrainz`
3309 instead.
3310
3311 .. _shutting down: https://web.archive.org/web/20260000000000*/developer.spotify.com/news-stories/2016/03/29/api-improvements-update
3312
3313 Some of the larger new features
3314 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3315
3316 - The new :doc:`/plugins/hook` lets you execute commands in response to beets
3317 events.
3318 - The new :doc:`/plugins/export` can export data from beets' database as JSON.
3319 Thanks to :user:`GuilhermeHideki`.
3320 - :doc:`/plugins/lyrics`: The plugin can now translate the fetched lyrics to
3321 your native language using the Bing translation API. Thanks to
3322 :user:`Kraymer`.
3323 - :doc:`/plugins/fetchart`: Album art can now be fetched from fanart.tv_.
3324
3325 Smaller new things
3326 ~~~~~~~~~~~~~~~~~~
3327
3328 - There are two new functions available in templates: ``%first`` and ``%ifdef``.
3329 See :ref:`template-functions`.
3330 - :doc:`/plugins/convert`: A new ``album_art_maxwidth`` setting lets you resize
3331 album art while copying it.
3332 - :doc:`/plugins/convert`: The ``extension`` setting is now optional for
3333 conversion formats. By default, the extension is the same as the name of the
3334 configured format.
3335 - :doc:`/plugins/importadded`: A new ``preserve_write_mtimes`` option lets you
3336 preserve mtime of files even when beets updates their metadata.
3337 - :doc:`/plugins/fetchart`: The ``enforce_ratio`` option now lets you tolerate
3338 images that are *almost* square but differ slightly from an exact 1:1 aspect
3339 ratio.
3340 - :doc:`/plugins/fetchart`: The plugin can now optionally save the artwork's
3341 source in an attribute in the database.
3342 - The :ref:`terminal_encoding` configuration option can now also override the
3343 *input* encoding. (Previously, it only affected the encoding of the standard
3344 *output* stream.)
3345 - A new :ref:`ignore_hidden` configuration option lets you ignore files that
3346 your OS marks as invisible.
3347 - :doc:`/plugins/web`: A new ``values`` endpoint lets you get the distinct
3348 values of a field. Thanks to :user:`sumpfralle`. :bug:`2010`
3349
3350 .. _fanart.tv: https://fanart.tv/
3351
3352 Fixes
3353 ~~~~~
3354
3355 - Fix a problem with the :ref:`stats-cmd` command in exact mode when filenames
3356 on Windows use non-ASCII characters. :bug:`1891`
3357 - Fix a crash when iTunes Sound Check tags contained invalid data. :bug:`1895`
3358 - :doc:`/plugins/mbcollection`: The plugin now redacts your MusicBrainz password
3359 in the ``beet config`` output. :bug:`1907`
3360 - :doc:`/plugins/scrub`: Fix an occasional problem where scrubbing on import
3361 could undo the :ref:`id3v23` setting. :bug:`1903`
3362 - :doc:`/plugins/lyrics`: Add compatibility with some changes to the LyricsWiki
3363 page markup. :bug:`1912` :bug:`1909`
3364 - :doc:`/plugins/lyrics`: Fix retrieval from Musixmatch by improving the way we
3365 guess the URL for lyrics on that service. :bug:`1880`
3366 - :doc:`/plugins/edit`: Fail gracefully when the configured text editor command
3367 can't be invoked. :bug:`1927`
3368 - :doc:`/plugins/fetchart`: Fix a crash in the Wikipedia backend on non-ASCII
3369 artist and album names. :bug:`1960`
3370 - :doc:`/plugins/convert`: Change the default ``ogg`` encoding quality from 2 to
3371 3 (to fit the default from the ``oggenc(1)`` manpage). :bug:`1982`
3372 - :doc:`/plugins/convert`: The ``never_convert_lossy_files`` option now
3373 considers AIFF a lossless format. :bug:`2005`
3374 - :doc:`/plugins/web`: A proper 404 error, instead of an internal exception, is
3375 returned when missing album art is requested. Thanks to :user:`sumpfralle`.
3376 :bug:`2011`
3377 - Tolerate more malformed floating-point numbers in metadata tags. :bug:`2014`
3378 - The :ref:`ignore` configuration option now includes the ``lost+found``
3379 directory by default.
3380 - :doc:`/plugins/acousticbrainz`: AcousticBrainz lookups are now done over
3381 HTTPS. Thanks to :user:`Freso`. :bug:`2007`
3382
3383 1.3.17 (February 7, 2016)
3384 -------------------------
3385
3386 This release introduces one new plugin to fetch audio information from the
3387 AcousticBrainz_ project and another plugin to make it easier to submit your
3388 handcrafted metadata back to MusicBrainz. The importer also gained two
3389 oft-requested features: a way to skip the initial search process by specifying
3390 an ID ahead of time, and a way to *manually* provide metadata in the middle of
3391 the import process (via the :doc:`/plugins/edit`).
3392
3393 Also, as of this release, the beets project has some new Internet homes! Our new
3394 domain name is beets.io_, and we have a shiny new GitHub organization: beetbox_.
3395
3396 Here are the big new features
3397 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3398
3399 - A new :doc:`/plugins/acousticbrainz` fetches acoustic-analysis information
3400 from the AcousticBrainz_ project. Thanks to :user:`opatel99`, and thanks to
3401 `Google Code-In`_! :bug:`1784`
3402 - A new :doc:`/plugins/mbsubmit` lets you print music's current metadata in a
3403 format that the MusicBrainz data parser can understand. You can trigger it
3404 during an interactive import session. :bug:`1779`
3405 - A new ``--search-id`` importer option lets you manually specify IDs (i.e.,
3406 MBIDs or Discogs IDs) for imported music. Doing this skips the initial
3407 candidate search, which can be important for huge albums where this initial
3408 lookup is slow. Also, the ``enter Id`` prompt choice now accepts several IDs,
3409 separated by spaces. :bug:`1808`
3410 - :doc:`/plugins/edit`: You can now edit metadata *on the fly* during the import
3411 process. The plugin provides two new interactive options: one to edit *your
3412 music's* metadata, and one to edit the *matched metadata* retrieved from
3413 MusicBrainz (or another data source). This feature is still in its early
3414 stages, so please send feedback if you find anything missing. :bug:`1846`
3415 :bug:`396`
3416
3417 There are even more new features
3418 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3419
3420 - :doc:`/plugins/fetchart`: The Google Images backend has been restored. It now
3421 requires an API key from Google. Thanks to :user:`lcharlick`. :bug:`1778`
3422 - :doc:`/plugins/info`: A new option will print only fields' names and not their
3423 values. Thanks to :user:`GuilhermeHideki`. :bug:`1812`
3424 - The :ref:`fields-cmd` command now displays flexible attributes. Thanks to
3425 :user:`GuilhermeHideki`. :bug:`1818`
3426 - The :ref:`modify-cmd` command lets you interactively select which albums or
3427 items you want to change. :bug:`1843`
3428 - The :ref:`move-cmd` command gained a new ``--timid`` flag to print and confirm
3429 which files you want to move. :bug:`1843`
3430 - The :ref:`move-cmd` command no longer prints filenames for files that don't
3431 actually need to be moved. :bug:`1583`
3432
3433 .. _acousticbrainz: https://acousticbrainz.org/
3434
3435 .. _google code-in: https://codein.withgoogle.com/archive/
3436
3437 Fixes
3438 ~~~~~
3439
3440 - :doc:`/plugins/play`: Fix a regression in the last version where there was no
3441 default command. :bug:`1793`
3442 - :doc:`/plugins/lastimport`: The plugin now works again after being broken by
3443 some unannounced changes to the Last.fm API. :bug:`1574`
3444 - :doc:`/plugins/play`: Fixed a typo in a configuration option. The option is
3445 now ``warning_threshold`` instead of ``warning_treshold``, but we kept the old
3446 name around for compatibility. Thanks to :user:`JesseWeinstein`. :bug:`1802`
3447 :bug:`1803`
3448 - :doc:`/plugins/edit`: Editing metadata now moves files, when appropriate (like
3449 the :ref:`modify-cmd` command). :bug:`1804`
3450 - The :ref:`stats-cmd` command no longer crashes when files are missing or
3451 inaccessible. :bug:`1806`
3452 - :doc:`/plugins/fetchart`: Possibly fix a Unicode-related crash when using some
3453 versions of pyOpenSSL. :bug:`1805`
3454 - :doc:`/plugins/replaygain`: Fix an intermittent crash with the GStreamer
3455 backend. :bug:`1855`
3456 - :doc:`/plugins/lastimport`: The plugin now works with the beets API key by
3457 default. You can still provide a different key the configuration.
3458 - :doc:`/plugins/replaygain`: Fix a crash using the Python Audio Tools backend.
3459 :bug:`1873`
3460
3461 .. _beetbox: https://github.com/beetbox
3462
3463 .. _beets.io: https://beets.io/
3464
3465 1.3.16 (December 28, 2015)
3466 --------------------------
3467
3468 The big news in this release is a new :doc:`interactive editor plugin
3469 </plugins/edit>`. It's really nifty: you can now change your music's metadata by
3470 making changes in a visual text editor, which can sometimes be far more
3471 efficient than the built-in :ref:`modify-cmd` command. No more carefully
3472 retyping the same artist name with slight capitalization changes.
3473
3474 This version also adds an oft-requested "not" operator to beets' queries, so you
3475 can exclude music from any operation. It also brings friendlier formatting (and
3476 querying!) of song durations.
3477
3478 The big new stuff
3479 ~~~~~~~~~~~~~~~~~
3480
3481 - A new :doc:`/plugins/edit` lets you manually edit your music's metadata using
3482 your favorite text editor. :bug:`164` :bug:`1706`
3483 - Queries can now use "not" logic. Type a ``^`` before part of a query to
3484 *exclude* matching music from the results. For example, ``beet list -a beatles
3485 ^album:1`` will find all your albums by the Beatles except for their singles
3486 compilation, "1." See :ref:`not_query`. :bug:`819` :bug:`1728`
3487 - A new :doc:`/plugins/embyupdate` can trigger a library refresh on an Emby_
3488 server when your beets database changes.
3489 - Track length is now displayed as "M:SS" rather than a raw number of seconds.
3490 Queries on track length also accept this format: for example, ``beet list
3491 length:5:30..`` will find all your tracks that have a duration over 5 minutes
3492 and 30 seconds. You can turn off this new behavior using the
3493 ``format_raw_length`` configuration option. :bug:`1749`
3494
3495 Smaller changes
3496 ~~~~~~~~~~~~~~~
3497
3498 - Three commands, ``modify``, ``update``, and ``mbsync``, would previously move
3499 files by default after changing their metadata. Now, these commands will only
3500 move files if you have the :ref:`config-import-copy` or
3501 :ref:`config-import-move` options enabled in your importer configuration. This
3502 way, if you configure the importer not to touch your filenames, other commands
3503 will respect that decision by default too. Each command also sprouted a
3504 ``--move`` command-line option to override this default (in addition to the
3505 ``--nomove`` flag they already had). :bug:`1697`
3506 - A new configuration option, ``va_name``, controls the album artist name for
3507 various-artists albums. The setting defaults to "Various Artists," the
3508 MusicBrainz standard. In order to match MusicBrainz, the
3509 :doc:`/plugins/discogs` also adopts the same setting.
3510 - :doc:`/plugins/info`: The ``info`` command now accepts a ``-f/--format``
3511 option for customizing how items are displayed, just like the built-in
3512 ``list`` command. :bug:`1737`
3513
3514 Some changes for developers
3515 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
3516
3517 - Two new :ref:`plugin hooks <plugin_events>`, ``albuminfo_received`` and
3518 ``trackinfo_received``, let plugins intercept metadata as soon as it is
3519 received, before it is applied to music in the database. :bug:`872`
3520 - Plugins can now add options to the interactive importer prompts. See
3521 :ref:`append_prompt_choices`. :bug:`1758`
3522
3523 Fixes
3524 ~~~~~
3525
3526 - :doc:`/plugins/plexupdate`: Fix a crash when Plex libraries use non-ASCII
3527 collection names. :bug:`1649`
3528 - :doc:`/plugins/discogs`: Maybe fix a crash when using some versions of the
3529 ``requests`` library. :bug:`1656`
3530 - Fix a race in the importer when importing two albums with the same artist and
3531 name in quick succession. The importer would fail to detect them as
3532 duplicates, claiming that there were "empty albums" in the database even when
3533 there were not. :bug:`1652`
3534 - :doc:`plugins/lastgenre`: Clean up the reggae-related genres somewhat. Thanks
3535 to :user:`Freso`. :bug:`1661`
3536 - The importer now correctly moves album art files when re-importing. :bug:`314`
3537 - :doc:`/plugins/fetchart`: In auto mode, the plugin now skips albums that
3538 already have art attached to them so as not to interfere with re-imports.
3539 :bug:`314`
3540 - :doc:`plugins/fetchart`: The plugin now only resizes album art if necessary,
3541 rather than always by default. :bug:`1264`
3542 - :doc:`plugins/fetchart`: Fix a bug where a database reference to a
3543 non-existent album art file would prevent the command from fetching new art.
3544 :bug:`1126`
3545 - :doc:`/plugins/thumbnails`: Fix a crash with Unicode paths. :bug:`1686`
3546 - :doc:`/plugins/embedart`: The ``remove_art_file`` option now works on import
3547 (as well as with the explicit command). :bug:`1662` :bug:`1675`
3548 - :doc:`/plugins/metasync`: Fix a crash when syncing with recent versions of
3549 iTunes. :bug:`1700`
3550 - :doc:`/plugins/duplicates`: Fix a crash when merging items. :bug:`1699`
3551 - :doc:`/plugins/smartplaylist`: More gracefully handle malformed queries and
3552 missing configuration.
3553 - Fix a crash with some files with unreadable iTunes SoundCheck metadata.
3554 :bug:`1666`
3555 - :doc:`/plugins/thumbnails`: Fix a nasty segmentation fault crash that arose
3556 with some library versions. :bug:`1433`
3557 - :doc:`/plugins/convert`: Fix a crash with Unicode paths in ``--pretend`` mode.
3558 :bug:`1735`
3559 - Fix a crash when sorting by nonexistent fields on queries. :bug:`1734`
3560 - Probably fix some mysterious errors when dealing with images using ImageMagick
3561 on Windows. :bug:`1721`
3562 - Fix a crash when writing some Unicode comment strings to MP3s that used older
3563 encodings. The encoding is now always updated to UTF-8. :bug:`879`
3564 - :doc:`/plugins/fetchart`: The Google Images backend has been removed. It used
3565 an API that has been shut down. :bug:`1760`
3566 - :doc:`/plugins/lyrics`: Fix a crash in the Google backend when searching for
3567 bands with regular-expression characters in their names, like Sunn O))).
3568 :bug:`1673`
3569 - :doc:`/plugins/scrub`: In ``auto`` mode, the plugin now *actually* only scrubs
3570 files on import, as the documentation always claimed it did---not every time
3571 files were written, as it previously did. :bug:`1657`
3572 - :doc:`/plugins/scrub`: Also in ``auto`` mode, album art is now correctly
3573 restored. :bug:`1657`
3574 - Possibly allow flexible attributes to be used with the ``%aunique`` template
3575 function. :bug:`1775`
3576 - :doc:`/plugins/lyrics`: The Genius backend is now more robust to communication
3577 errors. The backend has also been disabled by default, since the API it
3578 depends on is currently down. :bug:`1770`
3579
3580 .. _emby: https://emby.media
3581
3582 1.3.15 (October 17, 2015)
3583 -------------------------
3584
3585 This release adds a new plugin for checking file quality and a new source for
3586 lyrics. The larger features are:
3587
3588 - A new :doc:`/plugins/badfiles` helps you scan for corruption in your music
3589 collection. Thanks to :user:`fxthomas`. :bug:`1568`
3590 - :doc:`/plugins/lyrics`: You can now fetch lyrics from Genius.com. Thanks to
3591 :user:`sadatay`. :bug:`1626` :bug:`1639`
3592 - :doc:`/plugins/zero`: The plugin can now use a "whitelist" policy as an
3593 alternative to the (default) "blacklist" mode. Thanks to :user:`adkow`.
3594 :bug:`1621` :bug:`1641`
3595
3596 And there are smaller new features too
3597 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3598
3599 - Add new color aliases for standard terminal color names (e.g., cyan and
3600 magenta). Thanks to :user:`mathstuf`. :bug:`1548`
3601 - :doc:`/plugins/play`: A new ``--args`` option lets you specify options for the
3602 player command. :bug:`1532`
3603 - :doc:`/plugins/play`: A new ``raw`` configuration option lets the command work
3604 with players (such as VLC) that expect music filenames as arguments, rather
3605 than in a playlist. Thanks to :user:`nathdwek`. :bug:`1578`
3606 - :doc:`/plugins/play`: You can now configure the number of tracks that trigger
3607 a "lots of music" warning. :bug:`1577`
3608 - :doc:`/plugins/embedart`: A new ``remove_art_file`` option lets you clean up
3609 if you prefer *only* embedded album art. Thanks to :user:`jackwilsdon`.
3610 :bug:`1591` :bug:`733`
3611 - :doc:`/plugins/plexupdate`: A new ``library_name`` option allows you to select
3612 which Plex library to update. :bug:`1572` :bug:`1595`
3613 - A new ``include`` option lets you import external configuration files.
3614
3615 This release has plenty of fixes
3616 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3617
3618 - :doc:`/plugins/lastgenre`: Fix a bug that prevented tag popularity from being
3619 considered. Thanks to :user:`svoos`. :bug:`1559`
3620 - Fixed a bug where plugins wouldn't be notified of the deletion of an item's
3621 art, for example with the ``clearart`` command from the
3622 :doc:`/plugins/embedart`. Thanks to :user:`nathdwek`. :bug:`1565`
3623 - :doc:`/plugins/fetchart`: The Google Images source is disabled by default (as
3624 it was before beets 1.3.9), as is the Wikipedia source (which was causing lots
3625 of unnecessary delays due to DBpedia downtime). To re-enable these sources,
3626 add ``wikipedia google`` to your ``sources`` configuration option.
3627 - The :ref:`list-cmd` command's help output now has a small query and format
3628 string example. Thanks to :user:`pkess`. :bug:`1582`
3629 - :doc:`/plugins/fetchart`: The plugin now fetches PNGs but not GIFs. (It still
3630 fetches JPEGs.) This avoids an error when trying to embed images, since not
3631 all formats support GIFs. :bug:`1588`
3632 - Date fields are now written in the correct order (year-month-day), which
3633 eliminates an intermittent bug where the latter two fields would not get
3634 written to files. Thanks to :user:`jdetrey`. :bug:`1303` :bug:`1589`
3635 - :doc:`/plugins/replaygain`: Avoid a crash when the PyAudioTools backend
3636 encounters an error. :bug:`1592`
3637 - The case sensitivity of path queries is more useful now: rather than just
3638 guessing based on the platform, we now check the case sensitivity of your
3639 filesystem. :bug:`1586`
3640 - Case-insensitive path queries might have returned nothing because of a wrong
3641 SQL query.
3642 - Fix a crash when a query contains a "+" or "-" alone in a component.
3643 :bug:`1605`
3644 - Fixed unit of file size to powers of two (MiB, GiB, etc.) instead of powers of
3645 ten (MB, GB, etc.). :bug:`1623`
3646
3647 1.3.14 (August 2, 2015)
3648 -----------------------
3649
3650 This is mainly a bugfix release, but we also have a nifty new plugin for ipfs_
3651 and a bunch of new configuration options.
3652
3653 The new features
3654 ~~~~~~~~~~~~~~~~
3655
3656 - A new :doc:`/plugins/ipfs` lets you share music via a new, global,
3657 decentralized filesystem. :bug:`1397`
3658 - :doc:`/plugins/duplicates`: You can now merge duplicate track metadata (when
3659 detecting duplicate items), or duplicate album tracks (when detecting
3660 duplicate albums).
3661 - :doc:`/plugins/duplicates`: Duplicate resolution now uses an ordering to
3662 prioritize duplicates. By default, it prefers music with more complete
3663 metadata, but you can configure it to use any list of attributes.
3664 - :doc:`/plugins/metasync`: Added a new backend to fetch metadata from iTunes.
3665 This plugin is still in an experimental phase. :bug:`1450`
3666 - The ``move`` command has a new ``--pretend`` option, making the command show
3667 how the items will be moved without actually changing anything.
3668 - The importer now supports matching of "pregap" or HTOA (hidden track-one
3669 audio) tracks when they are listed in MusicBrainz. (This feature depends on a
3670 new version of the python-musicbrainzngs_ library that is not yet released,
3671 but will start working when it is available.) Thanks to :user:`ruippeixotog`.
3672 :bug:`1104` :bug:`1493`
3673 - :doc:`/plugins/plexupdate`: A new ``token`` configuration option lets you
3674 specify a key for Plex Home setups. Thanks to :user:`edcarroll`. :bug:`1494`
3675
3676 Fixes
3677 ~~~~~
3678
3679 - :doc:`/plugins/fetchart`: Complain when the ``enforce_ratio`` or ``min_width``
3680 options are enabled but no local imaging backend is available to carry them
3681 out. :bug:`1460`
3682 - :doc:`/plugins/importfeeds`: Avoid generating incorrect m3u filename when both
3683 of the ``m3u`` and ``m3u_multi`` options are enabled. :bug:`1490`
3684 - :doc:`/plugins/duplicates`: Avoid a crash when misconfigured. :bug:`1457`
3685 - :doc:`/plugins/mpdstats`: Avoid a crash when the music played is not in the
3686 beets library. Thanks to :user:`CodyReichert`. :bug:`1443`
3687 - Fix a crash with ArtResizer on Windows systems (affecting
3688 :doc:`/plugins/embedart`, :doc:`/plugins/fetchart`, and
3689 :doc:`/plugins/thumbnails`). :bug:`1448`
3690 - :doc:`/plugins/permissions`: Fix an error with non-ASCII paths. :bug:`1449`
3691 - Fix sorting by paths when the :ref:`sort_case_insensitive` option is enabled.
3692 :bug:`1451`
3693 - :doc:`/plugins/embedart`: Avoid an error when trying to embed invalid images
3694 into MPEG-4 files.
3695 - :doc:`/plugins/fetchart`: The Wikipedia source can now better deal artists
3696 that use non-standard capitalization (e.g., alt-J, dEUS).
3697 - :doc:`/plugins/web`: Fix searching for non-ASCII queries. Thanks to
3698 :user:`oldtopman`. :bug:`1470`
3699 - :doc:`/plugins/mpdupdate`: We now recommend the newer ``python-mpd2`` library
3700 instead of its unmaintained parent. Thanks to :user:`Somasis`. :bug:`1472`
3701 - The importer interface and log file now output a useful list of files (instead
3702 of the word "None") when in album-grouping mode. :bug:`1475` :bug:`825`
3703 - Fix some logging errors when filenames and other user-provided strings contain
3704 curly braces. :bug:`1481`
3705 - Regular expression queries over paths now work more reliably with non-ASCII
3706 characters in filenames. :bug:`1482`
3707 - Fix a bug where the autotagger's :ref:`ignored` setting was sometimes, well,
3708 ignored. :bug:`1487`
3709 - Fix a bug with Unicode strings when generating image thumbnails. :bug:`1485`
3710 - :doc:`/plugins/keyfinder`: Fix handling of Unicode paths. :bug:`1502`
3711 - :doc:`/plugins/fetchart`: When album art is already present, the message is
3712 now printed in the ``text_highlight_minor`` color (light gray). Thanks to
3713 :user:`Somasis`. :bug:`1512`
3714 - Some messages in the console UI now use plural nouns correctly. Thanks to
3715 :user:`JesseWeinstein`. :bug:`1521`
3716 - Sorting numerical fields (such as track) now works again. :bug:`1511`
3717 - :doc:`/plugins/replaygain`: Missing GStreamer plugins now cause a helpful
3718 error message instead of a crash. :bug:`1518`
3719 - Fix an edge case when producing sanitized filenames where the maximum path
3720 length conflicted with the :ref:`replace` rules. Thanks to Ben Ockmore.
3721 :bug:`496` :bug:`1361`
3722 - Fix an incompatibility with OS X 10.11 (where ``/usr/sbin`` seems not to be on
3723 the user's path by default).
3724 - Fix an incompatibility with certain JPEG files. Here's a relevant `Python
3725 bug`_. Thanks to :user:`nathdwek`. :bug:`1545`
3726 - Fix the :ref:`group_albums` importer mode so that it works correctly when
3727 files are not already in order by album. :bug:`1550`
3728 - The ``fields`` command no longer separates built-in fields from
3729 plugin-provided ones. This distinction was becoming increasingly unreliable.
3730 - :doc:`/plugins/duplicates`: Fix a Unicode warning when paths contained
3731 non-ASCII characters. :bug:`1551`
3732 - :doc:`/plugins/fetchart`: Work around a urllib3 bug that could cause a crash.
3733 :bug:`1555` :bug:`1556`
3734 - When you edit the configuration file with ``beet config -e`` and the file does
3735 not exist, beets creates an empty file before editing it. This fixes an error
3736 on OS X, where the ``open`` command does not work with non-existent files.
3737 :bug:`1480`
3738 - :doc:`/plugins/convert`: Fix a problem with filename encoding on Windows under
3739 Python 3. :bug:`2515` :bug:`2516`
3740
3741 .. _ipfs: https://about.ipfs.io/
3742
3743 .. _python bug: https://bugs.python.org/issue16512
3744
3745 1.3.13 (April 24, 2015)
3746 -----------------------
3747
3748 This is a tiny bug-fix release. It copes with a dependency upgrade that broke
3749 beets. There are just two fixes:
3750
3751 - Fix compatibility with Jellyfish_ version 0.5.0.
3752 - :doc:`/plugins/embedart`: In ``auto`` mode (the import hook), the plugin now
3753 respects the ``write`` config option under ``import``. If this is disabled,
3754 album art is no longer embedded on import in order to leave files
3755 untouched---in effect, ``auto`` is implicitly disabled. :bug:`1427`
3756
3757 1.3.12 (April 18, 2015)
3758 -----------------------
3759
3760 This little update makes queries more powerful, sorts music more intelligently,
3761 and removes a performance bottleneck. There's an experimental new plugin for
3762 synchronizing metadata with music players.
3763
3764 Packagers should also note a new dependency in this version: the Jellyfish_
3765 Python library makes our text comparisons (a big part of the auto-tagging
3766 process) go much faster.
3767
3768 New features
3769 ~~~~~~~~~~~~
3770
3771 - Queries can now use **"or" logic**: if you use a comma to separate parts of a
3772 query, items and albums will match *either* side of the comma. For example,
3773 ``beet ls foo , bar`` will get all the items matching ``foo`` or matching
3774 ``bar``. See :ref:`combiningqueries`. :bug:`1423`
3775 - The autotagger's **matching algorithm is faster**. We now use the Jellyfish_
3776 library to compute string similarity, which is better optimized than our
3777 hand-rolled edit distance implementation. :bug:`1389`
3778 - Sorting is now **case insensitive** by default. This means that artists will
3779 be sorted lexicographically regardless of case. For example, the artist alt-J
3780 will now properly sort before YACHT. (Previously, it would have ended up at
3781 the end of the list, after all the capital-letter artists.) You can turn this
3782 new behavior off using the :ref:`sort_case_insensitive` configuration option.
3783 See :ref:`query-sort`. :bug:`1429`
3784 - An experimental new :doc:`/plugins/metasync` lets you get metadata from your
3785 favorite music players, starting with Amarok. :bug:`1386`
3786 - :doc:`/plugins/fetchart`: There are new settings to control what constitutes
3787 "acceptable" images. The ``minwidth`` option constrains the minimum image
3788 width in pixels and the ``enforce_ratio`` option requires that images be
3789 square. :bug:`1394`
3790
3791 Little fixes and improvements
3792 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3793
3794 - :doc:`/plugins/fetchart`: Remove a hard size limit when fetching from the
3795 Cover Art Archive.
3796 - The output of the :ref:`fields-cmd` command is now sorted. Thanks to
3797 :user:`multikatt`. :bug:`1402`
3798 - :doc:`/plugins/replaygain`: Fix a number of issues with the new ``bs1770gain``
3799 backend on Windows. Also, fix missing debug output in import mode. :bug:`1398`
3800 - Beets should now be better at guessing the appropriate output encoding on
3801 Windows. (Specifically, the console output encoding is guessed separately from
3802 the encoding for command-line arguments.) A bug was also fixed where beets
3803 would ignore the locale settings and use UTF-8 by default. :bug:`1419`
3804 - :doc:`/plugins/discogs`: Better error handling when we can't communicate with
3805 Discogs on setup. :bug:`1417`
3806 - :doc:`/plugins/importadded`: Fix a crash when importing singletons in-place.
3807 :bug:`1416`
3808 - :doc:`/plugins/fuzzy`: Fix a regression causing a crash in the last release.
3809 :bug:`1422`
3810 - Fix a crash when the importer cannot open its log file. Thanks to
3811 :user:`barsanuphe`. :bug:`1426`
3812 - Fix an error when trying to write tags for items with flexible fields called
3813 ``date`` and ``original_date`` (which are not built-in beets fields).
3814 :bug:`1404`
3815
3816 .. _jellyfish: https://github.com/jamesturk/jellyfish
3817
3818 1.3.11 (April 5, 2015)
3819 ----------------------
3820
3821 In this release, we refactored the logging system to be more flexible and more
3822 useful. There are more granular levels of verbosity, the output from plugins
3823 should be more consistent, and several kinds of logging bugs should be
3824 impossible in the future.
3825
3826 There are also two new plugins: one for filtering the files you import and an
3827 evolved plugin for using album art as directory thumbnails in file managers.
3828 There's a new source for album art, and the importer now records the source of
3829 match data. This is a particularly huge release---there's lots more below.
3830
3831 There's one big change with this release: **Python 2.6 is no longer supported**.
3832 You'll need Python 2.7. Please trust us when we say this let us remove a
3833 surprising number of ugly hacks throughout the code.
3834
3835 Major new features and bigger changes
3836 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3837
3838 - There are now **multiple levels of output verbosity**. On the command line,
3839 you can make beets somewhat verbose with ``-v`` or very verbose with ``-vv``.
3840 For the importer especially, this makes the first verbose mode much more
3841 manageable, while still preserving an option for overwhelmingly verbose debug
3842 output. :bug:`1244`
3843 - A new :doc:`/plugins/filefilter` lets you write regular expressions to
3844 automatically **avoid importing** certain files. Thanks to :user:`mried`.
3845 :bug:`1186`
3846 - A new :doc:`/plugins/thumbnails` generates cover-art **thumbnails for album
3847 folders** for Freedesktop.org-compliant file managers. (This replaces the
3848 :doc:`/plugins/freedesktop`, which only worked with the Dolphin file manager.)
3849 - :doc:`/plugins/replaygain`: There is a new backend that uses the bs1770gain_
3850 analysis tool. Thanks to :user:`jmwatte`. :bug:`1343`
3851 - A new ``filesize`` field on items indicates the number of bytes in the file.
3852 :bug:`1291`
3853 - A new :conf:`plugins.index:search_limit` configuration option allows you to
3854 specify how many search results you wish to see when looking up releases at
3855 MusicBrainz during import. :bug:`1245`
3856 - The importer now records the data source for a match in a new flexible
3857 attribute ``data_source`` on items and albums. :bug:`1311`
3858 - The colors used in the terminal interface are now configurable via the new
3859 config option ``colors``, nested under the option ``ui``. (Also, the ``color``
3860 config option has been moved from top-level to under ``ui``. Beets will
3861 respect the old color setting, but will warn the user with a deprecation
3862 message.) :bug:`1238`
3863 - :doc:`/plugins/fetchart`: There's a new Wikipedia image source that uses
3864 DBpedia to find albums. Thanks to Tom Jaspers. :bug:`1194`
3865 - In the :ref:`config-cmd` command, the output is now redacted by default.
3866 Sensitive information like passwords and API keys is not included. The new
3867 ``--clear`` option disables redaction. :bug:`1376`
3868
3869 You should probably also know about these core changes to the way beets works
3870 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3871
3872 - As mentioned above, Python 2.6 is no longer supported.
3873 - The ``tracktotal`` attribute is now a *track-level field* instead of an
3874 album-level one. This field stores the total number of tracks on the album, or
3875 if the :ref:`per_disc_numbering` config option is set, the total number of
3876 tracks on a particular medium (i.e., disc). The field was causing problems
3877 with that :ref:`per_disc_numbering` mode: different discs on the same album
3878 needed different track totals. The field can now work correctly in either
3879 mode.
3880 - To replace ``tracktotal`` as an album-level field, there is a new
3881 ``albumtotal`` computed attribute that provides the total number of tracks on
3882 the album. (The :ref:`per_disc_numbering` option has no influence on this
3883 field.)
3884 - The ``list_format_album`` and ``list_format_item`` configuration keys now
3885 affect (almost) every place where objects are printed and logged. (Previously,
3886 they only controlled the :ref:`list-cmd` command and a few other scattered
3887 pieces.) :bug:`1269`
3888 - Relatedly, the ``beet`` program now accept top-level options ``--format-item``
3889 and ``--format-album`` before any subcommand to control how items and albums
3890 are displayed. :bug:`1271`
3891 - ``list_format_album`` and ``list_format_album`` have respectively been renamed
3892 :ref:`format_album` and :ref:`format_item`. The old names still work but each
3893 triggers a warning message. :bug:`1271`
3894 - :ref:`Path queries <pathquery>` are automatically triggered only if the path
3895 targeted by the query exists. Previously, just having a slash somewhere in the
3896 query was enough, so ``beet ls AC/DC`` wouldn't work to refer to the artist.
3897
3898 There are also lots of medium-sized features in this update
3899 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3900
3901 - :doc:`/plugins/duplicates`: The command has a new ``--strict`` option that
3902 will only report duplicates if all attributes are explicitly set. :bug:`1000`
3903 - :doc:`/plugins/smartplaylist`: Playlist updating should now be faster: the
3904 plugin detects, for each playlist, whether it needs to be regenerated, instead
3905 of obliviously regenerating all of them. The ``splupdate`` command can now
3906 also take additional parameters that indicate the names of the playlists to
3907 regenerate.
3908 - :doc:`/plugins/play`: The command shows the output of the underlying player
3909 command and lets you interact with it. :bug:`1321`
3910 - The summary shown to compare duplicate albums during import now displays the
3911 old and new filesizes. :bug:`1291`
3912 - :doc:`/plugins/lastgenre`: Add *comedy*, *humor*, and *stand-up* as well as a
3913 longer list of classical music genre tags to the built-in whitelist and
3914 canonicalization tree. :bug:`1206` :bug:`1239` :bug:`1240`
3915 - :doc:`/plugins/web`: Add support for *cross-origin resource sharing* for more
3916 flexible in-browser clients. Thanks to Andre Miller. :bug:`1236` :bug:`1237`
3917 - :doc:`plugins/mbsync`: A new ``-f/--format`` option controls the output format
3918 when listing unrecognized items. The output is also now more helpful by
3919 default. :bug:`1246`
3920 - :doc:`/plugins/fetchart`: A new option, ``-n``, extracts the cover art of all
3921 matched albums into their respective directories. Another new flag, ``-a``,
3922 associates the extracted files with the albums in the database. :bug:`1261`
3923 - :doc:`/plugins/info`: A new option, ``-i``, can display only a specified
3924 subset of properties. :bug:`1287`
3925 - The number of missing/unmatched tracks is shown during import. :bug:`1088`
3926 - :doc:`/plugins/permissions`: The plugin now also adjusts the permissions of
3927 the directories. (Previously, it only affected files.) :bug:`1308` :bug:`1324`
3928 - :doc:`/plugins/ftintitle`: You can now configure the format that the plugin
3929 uses to add the artist to the title. Thanks to :user:`amishb`. :bug:`1377`
3930
3931 And many little fixes and improvements
3932 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3933
3934 - :doc:`/plugins/replaygain`: Stop applying replaygain directly to source files
3935 when using the mp3gain backend. :bug:`1316`
3936 - Path queries are case-sensitive on non-Windows OSes. :bug:`1165`
3937 - :doc:`/plugins/lyrics`: Silence a warning about insecure requests in the new
3938 MusixMatch backend. :bug:`1204`
3939 - Fix a crash when ``beet`` is invoked without arguments. :bug:`1205`
3940 :bug:`1207`
3941 - :doc:`/plugins/fetchart`: Do not attempt to import directories as album art.
3942 :bug:`1177` :bug:`1211`
3943 - :doc:`/plugins/mpdstats`: Avoid double-counting some play events. :bug:`773`
3944 :bug:`1212`
3945 - Fix a crash when the importer deals with Unicode metadata in ``--pretend``
3946 mode. :bug:`1214`
3947 - :doc:`/plugins/smartplaylist`: Fix ``album_query`` so that individual files
3948 are added to the playlist instead of directories. :bug:`1225`
3949 - Remove the ``beatport`` plugin. Beatport_ has shut off public access to their
3950 API and denied our request for an account. We have not heard from the company
3951 since 2013, so we are assuming access will not be restored.
3952 - Incremental imports now (once again) show a "skipped N directories" message.
3953 - :doc:`/plugins/embedart`: Handle errors in ImageMagick's output. :bug:`1241`
3954 - :doc:`/plugins/keyfinder`: Parse the underlying tool's output more robustly.
3955 :bug:`1248`
3956 - :doc:`/plugins/embedart`: We now show a comprehensible error message when
3957 ``beet embedart -f FILE`` is given a non-existent path. :bug:`1252`
3958 - Fix a crash when a file has an unrecognized image type tag. Thanks to Matthias
3959 Kiefer. :bug:`1260`
3960 - :doc:`/plugins/importfeeds` and :doc:`/plugins/smartplaylist`: Automatically
3961 create parent directories for playlist files (instead of crashing when the
3962 parent directory does not exist). :bug:`1266`
3963 - The :ref:`write-cmd` command no longer tries to "write" non-writable fields,
3964 such as the bitrate. :bug:`1268`
3965 - The error message when MusicBrainz is not reachable on the network is now much
3966 clearer. Thanks to Tom Jaspers. :bug:`1190` :bug:`1272`
3967 - Improve error messages when parsing query strings with shlex. :bug:`1290`
3968 - :doc:`/plugins/embedart`: Fix a crash that occurred when used together with
3969 the *check* plugin. :bug:`1241`
3970 - :doc:`/plugins/scrub`: Log an error instead of stopping when the ``beet
3971 scrub`` command cannot write a file. Also, avoid problems on Windows with
3972 Unicode filenames. :bug:`1297`
3973 - :doc:`/plugins/discogs`: Handle and log more kinds of communication errors.
3974 :bug:`1299` :bug:`1305`
3975 - :doc:`/plugins/lastgenre`: Bugs in the ``pylast`` library can no longer crash
3976 beets.
3977 - :doc:`/plugins/convert`: You can now configure the temporary directory for
3978 conversions. Thanks to :user:`autochthe`. :bug:`1382` :bug:`1383`
3979 - :doc:`/plugins/rewrite`: Fix a regression that prevented the plugin's
3980 rewriting from applying to album-level fields like ``$albumartist``.
3981 :bug:`1393`
3982 - :doc:`/plugins/play`: The plugin now sorts items according to the
3983 configuration in album mode.
3984 - :doc:`/plugins/fetchart`: The name for extracted art files is taken from the
3985 ``art_filename`` configuration option. :bug:`1258`
3986 - When there's a parse error in a query (for example, when you type a malformed
3987 date in a :ref:`date query <datequery>`), beets now stops with an error
3988 instead of silently ignoring the query component.
3989 - :doc:`/plugins/smartplaylist`: Stream-friendly smart playlists. The
3990 ``splupdate`` command can now also add a URL-encodable prefix to every path in
3991 the playlist file.
3992
3993 For developers
3994 ~~~~~~~~~~~~~~
3995
3996 - The ``database_change`` event now sends the item or album that is subject to a
3997 change.
3998 - The ``OptionParser`` is now a ``CommonOptionsParser`` that offers facilities
3999 for adding usual options (``--album``, ``--path`` and ``--format``). See
4000 :ref:`add_subcommands`. :bug:`1271`
4001 - The logging system in beets has been overhauled. Plugins now each have their
4002 own logger, which helps by automatically adjusting the verbosity level in
4003 import mode and by prefixing the plugin's name. Logging levels are dynamically
4004 set when a plugin is called, depending on how it is called (import stage,
4005 event or direct command). Finally, logging calls can (and should!) use modern
4006 ``{}``-style string formatting lazily. See :ref:`plugin-logging` in the plugin
4007 API docs.
4008 - A new ``import_task_created`` event lets you manipulate import tasks
4009 immediately after they are initialized. It's also possible to replace the
4010 originally created tasks by returning new ones using this event.
4011
4012 .. _bs1770gain: https://sourceforge.net/projects/bs1770gain/
4013
4014 1.3.10 (January 5, 2015)
4015 ------------------------
4016
4017 This version adds a healthy helping of new features and fixes a critical
4018 MPEG-4--related bug. There are more lyrics sources, there new plugins for
4019 managing permissions and integrating with Plex_, and the importer has a new
4020 ``--pretend`` flag that shows which music *would* be imported.
4021
4022 One backwards-compatibility note: the :doc:`/plugins/lyrics` now requires the
4023 requests_ library. If you use this plugin, you will need to install the library
4024 by typing ``pip install requests`` or the equivalent for your OS.
4025
4026 Also, as an advance warning, this will be one of the last releases to support
4027 Python 2.6. If you have a system that cannot run Python 2.7, please consider
4028 upgrading soon.
4029
4030 The new features are
4031 ~~~~~~~~~~~~~~~~~~~~
4032
4033 - A new :doc:`/plugins/permissions` makes it easy to fix permissions on music
4034 files as they are imported. Thanks to :user:`xsteadfastx`. :bug:`1098`
4035 - A new :doc:`/plugins/plexupdate` lets you notify a Plex_ server when the
4036 database changes. Thanks again to xsteadfastx. :bug:`1120`
4037 - The :ref:`import-cmd` command now has a ``--pretend`` flag that lists the
4038 files that will be imported. Thanks to :user:`mried`. :bug:`1162`
4039 - :doc:`/plugins/lyrics`: Add Musixmatch_ source and introduce a new ``sources``
4040 config option that lets you choose exactly where to look for lyrics and in
4041 which order.
4042 - :doc:`/plugins/lyrics`: Add Brazilian and Spanish sources to Google custom
4043 search engine.
4044 - Add a warning when importing a directory that contains no music. :bug:`1116`
4045 :bug:`1127`
4046 - :doc:`/plugins/zero`: Can now remove embedded images. :bug:`1129` :bug:`1100`
4047 - The :ref:`config-cmd` command can now be used to edit the configuration even
4048 when it has syntax errors. :bug:`1123` :bug:`1128`
4049 - :doc:`/plugins/lyrics`: Added a new ``force`` config option. :bug:`1150`
4050
4051 As usual, there are loads of little fixes and improvements
4052 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4053
4054 - Fix a new crash with the latest version of Mutagen (1.26).
4055 - :doc:`/plugins/lyrics`: Avoid fetching truncated lyrics from the Google backed
4056 by merging text blocks separated by empty ``<div>`` tags before scraping.
4057 - We now print a better error message when the database file is corrupted.
4058 - :doc:`/plugins/discogs`: Only prompt for authentication when running the
4059 :ref:`import-cmd` command. :bug:`1123`
4060 - When deleting fields with the :ref:`modify-cmd` command, do not crash when the
4061 field cannot be removed (i.e., when it does not exist, when it is a built-in
4062 field, or when it is a computed field). :bug:`1124`
4063 - The deprecated ``echonest_tempo`` plugin has been removed. Please use the
4064 ``echonest`` plugin instead.
4065 - ``echonest`` plugin: Fingerprint-based lookup has been removed in accordance
4066 with `API changes`_. :bug:`1121`
4067 - ``echonest`` plugin: Avoid a crash when the song has no duration information.
4068 :bug:`896`
4069 - :doc:`/plugins/lyrics`: Avoid a crash when retrieving non-ASCII lyrics from
4070 the Google backend. :bug:`1135` :bug:`1136`
4071 - :doc:`/plugins/smartplaylist`: Sort specifiers are now respected in queries.
4072 Thanks to :user:`djl`. :bug:`1138` :bug:`1137`
4073 - :doc:`/plugins/ftintitle` and :doc:`/plugins/lyrics`: Featuring artists can
4074 now be detected when they use the Spanish word *con*. :bug:`1060` :bug:`1143`
4075 - :doc:`/plugins/mbcollection`: Fix an "HTTP 400" error caused by a change in
4076 the MusicBrainz API. :bug:`1152`
4077 - The ``%`` and ``_`` characters in path queries do not invoke their special SQL
4078 meaning anymore. :bug:`1146`
4079 - :doc:`/plugins/convert`: Command-line argument construction now works on
4080 Windows. Thanks to :user:`mluds`. :bug:`1026` :bug:`1157` :bug:`1158`
4081 - :doc:`/plugins/embedart`: Fix an erroneous missing-art error on Windows.
4082 Thanks to :user:`mluds`. :bug:`1163`
4083 - :doc:`/plugins/importadded`: Now works with in-place and symlinked imports.
4084 :bug:`1170`
4085 - :doc:`/plugins/ftintitle`: The plugin is now quiet when it runs as part of the
4086 import process. Thanks to :user:`Freso`. :bug:`1176` :bug:`1172`
4087 - :doc:`/plugins/ftintitle`: Fix weird behavior when the same artist appears
4088 twice in the artist string. Thanks to Marc Addeo. :bug:`1179` :bug:`1181`
4089 - :doc:`/plugins/lastgenre`: Match songs more robustly when they contain dashes.
4090 Thanks to :user:`djl`. :bug:`1156`
4091 - The :ref:`config-cmd` command can now use ``$EDITOR`` variables with
4092 arguments.
4093
4094 .. _api changes: https://web.archive.org/web/20160814092627/https://developer.echonest.com/forums/thread/3650
4095
4096 .. _musixmatch: https://www.musixmatch.com/
4097
4098 .. _plex: https://watch.plex.tv/
4099
4100 1.3.9 (November 17, 2014)
4101 -------------------------
4102
4103 This release adds two new standard plugins to beets: one for synchronizing
4104 Last.fm listening data and one for integrating with Linux desktops. And at long
4105 last, imports can now create symbolic links to music files instead of copying or
4106 moving them. We also gained the ability to search for album art on the iTunes
4107 Store and a new way to compute ReplayGain levels.
4108
4109 The major new features are
4110 ~~~~~~~~~~~~~~~~~~~~~~~~~~
4111
4112 - A new :doc:`/plugins/lastimport` lets you download your play count data from
4113 Last.fm into a flexible attribute. Thanks to Rafael Bodill.
4114 - A new :doc:`/plugins/freedesktop` creates metadata files for
4115 Freedesktop.org--compliant file managers. Thanks to :user:`kerobaros`.
4116 :bug:`1056`, :bug:`707`
4117 - A new :ref:`link` option in the ``import`` section creates symbolic links
4118 during import instead of moving or copying. Thanks to Rovanion Luckey.
4119 :bug:`710`, :bug:`114`
4120 - :doc:`/plugins/fetchart`: You can now search for art on the iTunes Store.
4121 There's also a new ``sources`` config option that lets you choose exactly
4122 where to look for images and in which order.
4123 - :doc:`/plugins/replaygain`: A new Python Audio Tools backend was added. Thanks
4124 to Francesco Rubino. :bug:`1070`
4125 - :doc:`/plugins/embedart`: You can now automatically check that new art looks
4126 similar to existing art---ensuring that you only get a better "version" of the
4127 art you already have. See :ref:`image-similarity-check`.
4128 - :doc:`/plugins/ftintitle`: The plugin now runs automatically on import. To
4129 disable this, unset the ``auto`` config flag.
4130
4131 There are also core improvements and other substantial additions
4132 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4133
4134 - The ``media`` attribute is now a *track-level field* instead of an album-level
4135 one. This field stores the delivery mechanism for the music, so in its
4136 album-level incarnation, it could not represent heterogeneous releases---for
4137 example, an album consisting of a CD and a DVD. Now, tracks accurately
4138 indicate the media they appear on. Thanks to Heinz Wiesinger.
4139 - Re-imports of your existing music (see :ref:`reimport`) now preserve its added
4140 date and flexible attributes. Thanks to Stig Inge Lea Bjørnsen.
4141 - Slow queries, such as those over flexible attributes, should now be much
4142 faster when used with certain commands---notably, the :doc:`/plugins/play`.
4143 - :doc:`/plugins/bpd`: Add a new configuration option for setting the default
4144 volume. Thanks to IndiGit.
4145 - :doc:`/plugins/embedart`: A new ``ifempty`` config option lets you only embed
4146 album art when no album art is present. Thanks to kerobaros.
4147 - :doc:`/plugins/discogs`: Authenticate with the Discogs server. The plugin now
4148 requires a Discogs account due to new API restrictions. Thanks to
4149 :user:`multikatt`. :bug:`1027`, :bug:`1040`
4150
4151 And countless little improvements and fixes
4152 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4153
4154 - Standard cover art in APEv2 metadata is now supported. Thanks to Matthias
4155 Kiefer. :bug:`1042`
4156 - :doc:`/plugins/convert`: Avoid a crash when embedding cover art fails.
4157 - :doc:`/plugins/mpdstats`: Fix an error on start (introduced in the previous
4158 version). Thanks to Zach Denton.
4159 - :doc:`/plugins/convert`: The ``--yes`` command-line flag no longer expects an
4160 argument.
4161 - :doc:`/plugins/play`: Remove the temporary .m3u file after sending it to the
4162 player.
4163 - The importer no longer tries to highlight partial differences in numeric
4164 quantities (track numbers and durations), which was often confusing.
4165 - Date-based queries that are malformed (not parse-able) no longer crash beets
4166 and instead fail silently.
4167 - :doc:`/plugins/duplicates`: Emit an error when the ``checksum`` config option
4168 is set incorrectly.
4169 - The migration from pre-1.1, non-YAML configuration files has been removed. If
4170 you need to upgrade an old config file, use an older version of beets
4171 temporarily.
4172 - :doc:`/plugins/discogs`: Recover from HTTP errors when communicating with the
4173 Discogs servers. Thanks to Dustin Rodriguez.
4174 - :doc:`/plugins/embedart`: Do not log "embedding album art into..." messages
4175 during the import process.
4176 - Fix a crash in the autotagger when files had only whitespace in their
4177 metadata.
4178 - :doc:`/plugins/play`: Fix a potential crash when the command outputs special
4179 characters. :bug:`1041`
4180 - :doc:`/plugins/web`: Queries typed into the search field are now treated as
4181 separate query components. :bug:`1045`
4182 - Date tags that use slashes instead of dashes as separators are now interpreted
4183 correctly. And WMA (ASF) files now map the ``comments`` field to the
4184 "Description" tag (in addition to "WM/Comments"). Thanks to Matthias Kiefer.
4185 :bug:`1043`
4186 - :doc:`/plugins/embedart`: Avoid resizing the image multiple times when
4187 embedding into an album. Thanks to :user:`kerobaros`. :bug:`1028`, :bug:`1036`
4188 - :doc:`/plugins/discogs`: Avoid a situation where a trailing comma could be
4189 appended to some artist names. :bug:`1049`
4190 - The output of the :ref:`stats-cmd` command is slightly different: the
4191 approximate size is now marked as such, and the total number of seconds only
4192 appears in exact mode.
4193 - :doc:`/plugins/convert`: A new ``copy_album_art`` option puts images alongside
4194 converted files. Thanks to Ángel Alonso. :bug:`1050`, :bug:`1055`
4195 - There is no longer a "conflict" between two plugins that declare the same
4196 field with the same type. Thanks to Peter Schnebel. :bug:`1059` :bug:`1061`
4197 - :doc:`/plugins/chroma`: Limit the number of releases and recordings fetched as
4198 the result of an Acoustid match to avoid extremely long processing times for
4199 very popular music. :bug:`1068`
4200 - Fix an issue where modifying an album's field without actually changing it
4201 would not update the corresponding tracks to bring differing tracks back in
4202 line with the album. :bug:`856`
4203 - ``echonest`` plugin: When communicating with the Echo Nest servers fails
4204 repeatedly, log an error instead of exiting. :bug:`1096`
4205 - :doc:`/plugins/lyrics`: Avoid an error when the Google source returns a result
4206 without a title. Thanks to Alberto Leal. :bug:`1097`
4207 - Importing an archive will no longer leave temporary files behind in ``/tmp``.
4208 Thanks to :user:`multikatt`. :bug:`1067`, :bug:`1091`
4209
4210 1.3.8 (September 17, 2014)
4211 --------------------------
4212
4213 This release has two big new chunks of functionality. Queries now support
4214 **sorting** and user-defined fields can now have **types**.
4215
4216 If you want to see all your songs in reverse chronological order, just type
4217 ``beet list year-``. It couldn't be easier. For details, see :ref:`query-sort`.
4218
4219 Flexible field types mean that some functionality that has previously only
4220 worked for built-in fields, like range queries, can now work with plugin- and
4221 user-defined fields too. For starters, the ``echonest`` plugin and
4222 :doc:`/plugins/mpdstats` now mark the types of the fields they provide---so you
4223 can now say, for example, ``beet ls liveness:0.5..1.5`` for the Echo Nest
4224 "liveness" attribute. The :doc:`/plugins/types` makes it easy to specify field
4225 types in your config file.
4226
4227 One upgrade note: if you use the :doc:`/plugins/discogs`, you will need to
4228 upgrade the Discogs client library to use this version. Just type ``pip install
4229 -U discogs-client``.
4230
4231 Other new features
4232 ~~~~~~~~~~~~~~~~~~
4233
4234 - :doc:`/plugins/info`: Target files can now be specified through library
4235 queries (in addition to filenames). The ``--library`` option prints library
4236 fields instead of tags. Multiple files can be summarized together with the new
4237 ``--summarize`` option.
4238 - :doc:`/plugins/mbcollection`: A new option lets you automatically update your
4239 collection on import. Thanks to Olin Gay.
4240 - :doc:`/plugins/convert`: A new ``never_convert_lossy_files`` option can
4241 prevent lossy transcoding. Thanks to Simon Kohlmeyer.
4242 - :doc:`/plugins/convert`: A new ``--yes`` command-line flag skips the
4243 confirmation.
4244
4245 Still more fixes and little improvements
4246 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4247
4248 - Invalid state files don't crash the importer.
4249 - :doc:`/plugins/lyrics`: Only strip featured artists and parenthesized title
4250 suffixes if no lyrics for the original artist and title were found.
4251 - Fix a crash when reading some files with missing tags.
4252 - :doc:`/plugins/discogs`: Compatibility with the new 2.0 version of the
4253 discogs_client_ Python library. If you were using the old version, you will
4254 need to upgrade to the latest version of the library to use the
4255 correspondingly new version of the plugin (e.g., with ``pip install -U
4256 discogs-client``). Thanks to Andriy Kohut.
4257 - Fix a crash when writing files that can't be read. Thanks to Jocelyn De La
4258 Rosa.
4259 - The :ref:`stats-cmd` command now counts album artists. The album count also
4260 more accurately reflects the number of albums in the database.
4261 - :doc:`/plugins/convert`: Avoid crashes when tags cannot be written to newly
4262 converted files.
4263 - Formatting templates with item data no longer confusingly shows album-level
4264 data when the two are inconsistent.
4265 - Resuming imports and beginning incremental imports should now be much faster
4266 when there is a lot of previously-imported music to skip.
4267 - :doc:`/plugins/lyrics`: Remove ``<script>`` tags from scraped lyrics. Thanks
4268 to Bombardment.
4269 - :doc:`/plugins/play`: Add a ``relative_to`` config option. Thanks to
4270 BrainDamage.
4271 - Fix a crash when a MusicBrainz release has zero tracks.
4272 - The ``--version`` flag now works as an alias for the ``version`` command.
4273 - :doc:`/plugins/lastgenre`: Remove some unhelpful genres from the default
4274 whitelist. Thanks to gwern.
4275 - :doc:`/plugins/importfeeds`: A new ``echo`` output mode prints files' paths to
4276 standard error. Thanks to robotanarchy.
4277 - :doc:`/plugins/replaygain`: Restore some error handling when ``mp3gain``
4278 output cannot be parsed. The verbose log now contains the bad tool output in
4279 this case.
4280 - :doc:`/plugins/convert`: Fix filename extensions when converting
4281 automatically.
4282 - The ``write`` plugin event allows plugins to change the tags that are written
4283 to a media file.
4284 - :doc:`/plugins/zero`: Do not delete database values; only media file tags are
4285 affected.
4286
4287 .. _discogs_client: https://github.com/discogs/discogs_client
4288
4289 1.3.7 (August 22, 2014)
4290 -----------------------
4291
4292 This release of beets fixes all the bugs, and you can be confident that you will
4293 never again find any bugs in beets, ever. It also adds support for plain old
4294 AIFF files and adds three more plugins, including a nifty one that lets you
4295 measure a song's tempo by tapping out the beat on your keyboard. The importer
4296 deals more elegantly with duplicates and you can broaden your cover art search
4297 to the entire web with Google Image Search.
4298
4299 The big new features are
4300 ~~~~~~~~~~~~~~~~~~~~~~~~
4301
4302 - Support for AIFF files. Tags are stored as ID3 frames in one of the file's IFF
4303 chunks. Thanks to Evan Purkhiser for contributing support to Mutagen_.
4304 - The new :doc:`/plugins/importadded` reads files' modification times to set
4305 their "added" date. Thanks to Stig Inge Lea Bjørnsen.
4306 - The new :doc:`/plugins/bpm` lets you manually measure the tempo of a playing
4307 song. Thanks to aroquen.
4308 - The new :doc:`/plugins/spotify` generates playlists for your Spotify_ account.
4309 Thanks to Olin Gay.
4310 - A new :ref:`required` configuration option for the importer skips matches that
4311 are missing certain data. Thanks to oprietop.
4312 - When the importer detects duplicates, it now shows you some details about the
4313 potentially-replaced music so you can make an informed decision. Thanks to
4314 Howard Jones.
4315 - :doc:`/plugins/fetchart`: You can now optionally search for cover art on
4316 Google Image Search. Thanks to Lemutar.
4317 - A new :ref:`asciify-paths` configuration option replaces all non-ASCII
4318 characters in paths.
4319
4320 .. _mutagen: https://github.com/quodlibet/mutagen
4321
4322 .. _spotify: https://open.spotify.com/
4323
4324 And the multitude of little improvements and fixes
4325 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4326
4327 - Compatibility with the latest version of Mutagen_, 1.23.
4328 - :doc:`/plugins/web`: Lyrics now display readably with correct line breaks.
4329 Also, the detail view scrolls to reveal all of the lyrics. Thanks to Meet
4330 Udeshi.
4331 - :doc:`/plugins/play`: The ``command`` config option can now contain arguments
4332 (rather than just an executable). Thanks to Alessandro Ghedini.
4333 - Fix an error when using the :ref:`modify-cmd` command to remove a flexible
4334 attribute. Thanks to Pierre Rust.
4335 - :doc:`/plugins/info`: The command now shows audio properties (e.g., bitrate)
4336 in addition to metadata. Thanks Alessandro Ghedini.
4337 - Avoid a crash on Windows when writing to files with special characters in
4338 their names.
4339 - :doc:`/plugins/play`: Playing albums now generates filenames by default (as
4340 opposed to directories) for better compatibility. The ``use_folders`` option
4341 restores the old behavior. Thanks to Lucas Duailibe.
4342 - Fix an error when importing an empty directory with the ``--flat`` option.
4343 - :doc:`/plugins/mpdstats`: The last song in a playlist is now correctly counted
4344 as played. Thanks to Johann Klähn.
4345 - :doc:`/plugins/zero`: Prevent accidental nulling of dangerous fields (IDs and
4346 paths). Thanks to brunal.
4347 - The :ref:`remove-cmd` command now shows the paths of files that will be
4348 deleted. Thanks again to brunal.
4349 - Don't display changes for fields that are not in the restricted field set.
4350 This fixes :ref:`write-cmd` showing changes for fields that are not written to
4351 the file.
4352 - The :ref:`write-cmd` command avoids displaying the item name if there are no
4353 changes for it.
4354 - When using both the :doc:`/plugins/convert` and the :doc:`/plugins/scrub`,
4355 avoid scrubbing the source file of conversions. (Fix a regression introduced
4356 in the previous release.)
4357 - :doc:`/plugins/replaygain`: Logging is now quieter during import. Thanks to
4358 Yevgeny Bezman.
4359 - :doc:`/plugins/fetchart`: When loading art from the filesystem, we now
4360 prioritize covers with more keywords in them. This means that
4361 ``cover-front.jpg`` will now be taken before ``cover-back.jpg`` because it
4362 contains two keywords rather than one. Thanks to Fabrice Laporte.
4363 - :doc:`/plugins/lastgenre`: Remove duplicates from canonicalized genre lists.
4364 Thanks again to Fabrice Laporte.
4365 - The importer now records its progress when skipping albums. This means that
4366 incremental imports will no longer try to import albums again after you've
4367 chosen to skip them, and erroneous invitations to resume "interrupted" imports
4368 should be reduced. Thanks to jcassette.
4369 - :doc:`/plugins/bucket`: You can now customize the definition of alphanumeric
4370 "ranges" using regular expressions. And the heuristic for detecting years has
4371 been improved. Thanks to sotho.
4372 - Already-imported singleton tracks are skipped when resuming an import.
4373 - :doc:`/plugins/chroma`: A new ``auto`` configuration option disables
4374 fingerprinting on import. Thanks to ddettrittus.
4375 - :doc:`/plugins/convert`: A new ``--format`` option to can select the
4376 transcoding preset from the command-line.
4377 - :doc:`/plugins/convert`: Transcoding presets can now omit their filename
4378 extensions (extensions default to the name of the preset).
4379 - :doc:`/plugins/convert`: A new ``--pretend`` option lets you preview the
4380 commands the plugin will execute without actually taking any action. Thanks to
4381 Dietrich Daroch.
4382 - Fix a crash when a float-valued tag field only contained a ``+`` or ``-``
4383 character.
4384 - Fixed a regression in the core that caused the :doc:`/plugins/scrub` not to
4385 work in ``auto`` mode. Thanks to Harry Khanna.
4386 - The :ref:`write-cmd` command now has a ``--force`` flag. Thanks again to Harry
4387 Khanna.
4388 - :doc:`/plugins/mbsync`: Track alignment now works with albums that have
4389 multiple copies of the same recording. Thanks to Rui Gonçalves.
4390
4391 1.3.6 (May 10, 2014)
4392 --------------------
4393
4394 This is primarily a bugfix release, but it also brings two new plugins: one for
4395 playing music in desktop players and another for organizing your directories
4396 into "buckets." It also brings huge performance optimizations to queries---your
4397 ``beet ls`` commands will now go much faster.
4398
4399 New features
4400 ~~~~~~~~~~~~
4401
4402 - The new :doc:`/plugins/play` lets you start your desktop music player with the
4403 songs that match a query. Thanks to David Hamp-Gonsalves.
4404 - The new :doc:`/plugins/bucket` provides a ``%bucket{}`` function for path
4405 formatting to generate folder names representing ranges of years or initial
4406 letter. Thanks to Fabrice Laporte.
4407 - Item and album queries are much faster.
4408 - :doc:`/plugins/ftintitle`: A new option lets you remove featured artists
4409 entirely instead of moving them to the title. Thanks to SUTJael.
4410
4411 And those all-important bug fixes
4412 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4413
4414 - :doc:`/plugins/mbsync`: Fix a regression in 1.3.5 that broke the plugin
4415 entirely.
4416 - :ref:`Shell completion <completion>` now searches more common paths for its
4417 ``bash_completion`` dependency.
4418 - Fix encoding-related logging errors in :doc:`/plugins/convert` and
4419 :doc:`/plugins/replaygain`.
4420 - :doc:`/plugins/replaygain`: Suppress a deprecation warning emitted by later
4421 versions of PyGI.
4422 - Fix a crash when reading files whose iTunes SoundCheck tags contain non-ASCII
4423 characters.
4424 - The ``%if{}`` template function now appropriately interprets the condition as
4425 false when it contains the string "false". Thanks to Ayberk Yilmaz.
4426 - :doc:`/plugins/convert`: Fix conversion for files that include a video stream
4427 by ignoring it. Thanks to brunal.
4428 - :doc:`/plugins/fetchart`: Log an error instead of crashing when tag
4429 manipulation fails.
4430 - :doc:`/plugins/convert`: Log an error instead of crashing when embedding album
4431 art fails.
4432 - :doc:`/plugins/convert`: Embed cover art into converted files. Previously they
4433 were embedded into the source files.
4434 - New plugin event: ``before_item_moved``. Thanks to Robert Speicher.
4435
4436 1.3.5 (April 15, 2014)
4437 ----------------------
4438
4439 This is a short-term release that adds some great new stuff to beets. There's
4440 support for tracking and calculating musical keys, the ReplayGain plugin was
4441 expanded to work with more music formats via GStreamer, we can now import
4442 directly from compressed archives, and the lyrics plugin is more robust.
4443
4444 One note for upgraders and packagers: this version of beets has a new dependency
4445 in enum34_, which is a backport of the new enum_ standard library module.
4446
4447 The major new features are
4448 ~~~~~~~~~~~~~~~~~~~~~~~~~~
4449
4450 - Beets can now import ``zip``, ``tar``, and ``rar`` archives. Just type ``beet
4451 import music.zip`` to have beets transparently extract the files to import.
4452 - :doc:`/plugins/replaygain`: Added support for calculating ReplayGain values
4453 with GStreamer as well the mp3gain program. This enables ReplayGain
4454 calculation for any audio format. Thanks to Yevgeny Bezman.
4455 - :doc:`/plugins/lyrics`: Lyrics should now be found for more songs. Searching
4456 is now sensitive to featured artists and parenthesized title suffixes. When a
4457 song has multiple titles, lyrics from all the named songs are now
4458 concatenated. Thanks to Fabrice Laporte and Paul Phillips.
4459
4460 In particular, a full complement of features for supporting musical keys are new
4461 in this release:
4462
4463 - A new ``initial_key`` field is available in the database and files' tags. You
4464 can set the field manually using a command like ``beet modify
4465 initial_key=Am``.
4466 - The ``echonest`` plugin sets the ``initial_key`` field if the data is
4467 available.
4468 - A new :doc:`/plugins/keyfinder` runs a command-line tool to get the key from
4469 audio data and store it in the ``initial_key`` field.
4470
4471 There are also many bug fixes and little enhancements
4472 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4473
4474 - ``echonest`` plugin: Truncate files larger than 50MB before uploading for
4475 analysis.
4476 - :doc:`/plugins/fetchart`: Fix a crash when the server does not specify a
4477 content type. Thanks to Lee Reinhardt.
4478 - :doc:`/plugins/convert`: The ``--keep-new`` flag now works correctly and the
4479 library includes the converted item.
4480 - The importer now logs a message instead of crashing when errors occur while
4481 opening the files to be imported.
4482 - :doc:`/plugins/embedart`: Better error messages in exceptional conditions.
4483 - Silenced some confusing error messages when searching for a non-MusicBrainz
4484 ID. Using an invalid ID (of any kind---Discogs IDs can be used there too) at
4485 the "Enter ID:" importer prompt now just silently returns no results. More
4486 info is in the verbose logs.
4487 - :doc:`/plugins/mbsync`: Fix application of album-level metadata. Due to a
4488 regression a few releases ago, only track-level metadata was being updated.
4489 - On Windows, paths on network shares (UNC paths) no longer cause "invalid
4490 filename" errors.
4491 - :doc:`/plugins/replaygain`: Fix crashes when attempting to log errors.
4492 - The :ref:`modify-cmd` command can now accept query arguments that contain =
4493 signs. An argument is considered a query part when a : appears before any =s.
4494 Thanks to mook.
4495
4496 .. _enum: https://docs.python.org/3.4/library/enum.html
4497
4498 .. _enum34: https://pypi.org/project/enum34/
4499
4500 1.3.4 (April 5, 2014)
4501 ---------------------
4502
4503 This release brings a hodgepodge of medium-sized conveniences to beets. A new
4504 :ref:`config-cmd` command manages your configuration, we now have :ref:`bash
4505 completion <completion>`, and the :ref:`modify-cmd` command can delete
4506 attributes. There are also some significant performance optimizations to the
4507 autotagger's matching logic.
4508
4509 One note for upgraders: if you use the :doc:`/plugins/fetchart`, it has a new
4510 dependency, the requests_ module.
4511
4512 New stuff
4513 ~~~~~~~~~
4514
4515 - Added a :ref:`config-cmd` command to manage your configuration. It can show
4516 you what you currently have in your config file, point you at where the file
4517 should be, or launch your text editor to let you modify the file. Thanks to
4518 geigerzaehler.
4519 - Beets now ships with a shell command completion script! See :ref:`completion`.
4520 Thanks to geigerzaehler.
4521 - The :ref:`modify-cmd` command now allows removing flexible attributes. For
4522 example, ``beet modify artist:beatles oldies!`` deletes the ``oldies``
4523 attribute from matching items. Thanks to brilnius.
4524 - Internally, beets has laid the groundwork for supporting multi-valued fields.
4525 Thanks to geigerzaehler.
4526 - The importer interface now shows the URL for MusicBrainz matches. Thanks to
4527 johtso.
4528 - :doc:`/plugins/smartplaylist`: Playlists can now be generated from multiple
4529 queries (combined with "or" logic). Album-level queries are also now possible
4530 and automatic playlist regeneration can now be disabled. Thanks to brilnius.
4531 - ``echonest`` plugin: Echo Nest similarity now weights the tempo in better
4532 proportion to other metrics. Also, options were added to specify custom
4533 thresholds and output formats. Thanks to Adam M.
4534 - Added the :ref:`after_write <plugin_events>` plugin event.
4535 - :doc:`/plugins/lastgenre`: Separator in genre lists can now be configured.
4536 Thanks to brilnius.
4537 - We now only use "primary" aliases for artist names from MusicBrainz. This
4538 eliminates some strange naming that could occur when the ``languages`` config
4539 option was set. Thanks to Filipe Fortes.
4540 - The performance of the autotagger's matching mechanism is vastly improved.
4541 This should be noticeable when matching against very large releases such as
4542 box sets.
4543 - The :ref:`import-cmd` command can now accept individual files as arguments
4544 even in non-singleton mode. Files are imported as one-track albums.
4545
4546 Fixes
4547 ~~~~~
4548
4549 - Error messages involving paths no longer escape non-ASCII characters (for
4550 legibility).
4551 - Fixed a regression that made it impossible to use the :ref:`modify-cmd`
4552 command to add new flexible fields. Thanks to brilnius.
4553 - ``echonest`` plugin: Avoid crashing when the audio analysis fails. Thanks to
4554 Pedro Silva.
4555 - :doc:`/plugins/duplicates`: Fix checksumming command execution for files with
4556 quotation marks in their names. Thanks again to Pedro Silva.
4557 - Fix a crash when importing with both of the :ref:`group_albums` and
4558 :ref:`incremental` options enabled. Thanks to geigerzaehler.
4559 - Give a sensible error message when ``BEETSDIR`` points to a file. Thanks again
4560 to geigerzaehler.
4561 - Fix a crash when reading WMA files whose boolean-valued fields contain
4562 strings. Thanks to johtso.
4563 - :doc:`/plugins/fetchart`: The plugin now sends "beets" as the User-Agent when
4564 making scraping requests. This helps resolve some blocked requests. The plugin
4565 now also depends on the requests_ Python library.
4566 - The :ref:`write-cmd` command now only shows the changes to fields that will
4567 actually be written to a file.
4568 - :doc:`/plugins/duplicates`: Spurious reports are now avoided for tracks with
4569 missing values (e.g., no MBIDs). Thanks to Pedro Silva.
4570 - The default :ref:`replace` sanitation options now remove leading whitespace by
4571 default. Thanks to brilnius.
4572 - :doc:`/plugins/importfeeds`: Fix crash when importing albums containing ``/``
4573 with the ``m3u_multi`` format.
4574 - Avoid crashing on Mutagen bugs while writing files' tags.
4575 - :doc:`/plugins/convert`: Display a useful error message when the FFmpeg
4576 executable can't be found.
4577
4578 .. _requests: https://requests.readthedocs.io/en/latest/
4579
4580 1.3.3 (February 26, 2014)
4581 -------------------------
4582
4583 Version 1.3.3 brings a bunch changes to how item and album fields work
4584 internally. Along with laying the groundwork for some great things in the
4585 future, this brings a number of improvements to how you interact with beets.
4586 Here's what's new with fields in particular:
4587
4588 - Plugin-provided fields can now be used in queries. For example, if you use the
4589 :doc:`/plugins/inline` to define a field called ``era``, you can now filter
4590 your library based on that field by typing something like ``beet list
4591 era:goldenage``.
4592 - Album-level flexible attributes and plugin-provided attributes can now be used
4593 in path formats (and other item-level templates).
4594 - :ref:`Date-based queries <datequery>` are now possible. Try getting every
4595 track you added in February 2014 with ``beet ls added:2014-02`` or in the
4596 whole decade with ``added:2010..``. Thanks to Stig Inge Lea Bjørnsen.
4597 - The :ref:`modify-cmd` command is now better at parsing and formatting fields.
4598 You can assign to boolean fields like ``comp``, for example, using either the
4599 words "true" or "false" or the numerals 1 and 0. Any boolean-esque value is
4600 normalized to a real boolean. The :ref:`update-cmd` and :ref:`write-cmd`
4601 commands also got smarter at formatting and colorizing changes.
4602
4603 For developers, the short version of the story is that Item and Album objects
4604 provide *uniform access* across fixed, flexible, and computed attributes. You
4605 can write ``item.foo`` to access the ``foo`` field without worrying about where
4606 the data comes from.
4607
4608 Unrelated new stuff
4609 ~~~~~~~~~~~~~~~~~~~
4610
4611 - The importer has a new interactive option (*G* for "Group albums"),
4612 command-line flag (``--group-albums``), and config option
4613 (:ref:`group_albums`) that lets you split apart albums that are mixed together
4614 in a single directory. Thanks to geigerzaehler.
4615 - A new ``--config`` command-line option lets you specify an additional
4616 configuration file. This option *combines* config settings with your default
4617 config file. (As part of this change, the ``BEETSDIR`` environment variable no
4618 longer combines---it *replaces* your default config file.) Thanks again to
4619 geigerzaehler.
4620 - :doc:`/plugins/ihate`: The plugin's configuration interface was overhauled.
4621 Its configuration is now much simpler---it uses beets queries instead of an
4622 ad-hoc per-field configuration. This is *backwards-incompatible*---if you use
4623 this plugin, you will need to update your configuration. Thanks to
4624 BrainDamage.
4625
4626 Other little fixes
4627 ~~~~~~~~~~~~~~~~~~
4628
4629 - ``echonest`` plugin: Tempo (BPM) is now always stored as an integer. Thanks to
4630 Heinz Wiesinger.
4631 - Fix Python 2.6 compatibility in some logging statements in
4632 :doc:`/plugins/chroma` and :doc:`/plugins/lastgenre`.
4633 - Prevent some crashes when things go really wrong when writing file metadata at
4634 the end of the import process.
4635 - New plugin events: ``item_removed`` (thanks to Romuald Conty) and
4636 ``item_copied`` (thanks to Stig Inge Lea Bjørnsen).
4637 - The ``pluginpath`` config option can now point to the directory containing
4638 plugin code. (Previously, it awkwardly needed to point at a directory
4639 containing a ``beetsplug`` directory, which would then contain your code. This
4640 is preserved as an option for backwards compatibility.) This change should
4641 also work around a long-standing issue when using ``pluginpath`` when beets is
4642 installed using pip. Many thanks to geigerzaehler.
4643 - :doc:`/plugins/web`: The ``/item/`` and ``/album/`` API endpoints now produce
4644 full details about albums and items, not just lists of IDs. Thanks to
4645 geigerzaehler.
4646 - Fix a potential crash when using image resizing with the
4647 :doc:`/plugins/fetchart` or :doc:`/plugins/embedart` without ImageMagick
4648 installed.
4649 - Also, when invoking ``convert`` for image resizing fails, we now log an error
4650 instead of crashing.
4651 - :doc:`/plugins/fetchart`: The ``beet fetchart`` command can now associate
4652 local images with albums (unless ``--force`` is provided). Thanks to brilnius.
4653 - :doc:`/plugins/fetchart`: Command output is now colorized. Thanks again to
4654 brilnius.
4655 - The :ref:`modify-cmd` command avoids writing files and committing to the
4656 database when nothing has changed. Thanks once more to brilnius.
4657 - The importer now uses the album artist field when guessing existing metadata
4658 for albums (rather than just the track artist field). Thanks to geigerzaehler.
4659 - :doc:`/plugins/fromfilename`: Fix a crash when a filename contained only a
4660 track number (e.g., ``02.mp3``).
4661 - :doc:`/plugins/convert`: Transcoding should now work on Windows.
4662 - :doc:`/plugins/duplicates`: The ``move`` and ``copy`` destination arguments
4663 are now treated as directories. Thanks to Pedro Silva.
4664 - The :ref:`modify-cmd` command now skips confirmation and prints a message if
4665 no changes are necessary. Thanks to brilnius.
4666 - :doc:`/plugins/fetchart`: When using the ``remote_priority`` config option,
4667 local image files are no longer completely ignored.
4668 - ``echonest`` plugin: Fix an issue causing the plugin to appear twice in the
4669 output of the ``beet version`` command.
4670 - :doc:`/plugins/lastgenre`: Fix an occasional crash when no tag weight was
4671 returned by Last.fm.
4672 - :doc:`/plugins/mpdstats`: Restore the ``last_played`` field. Thanks to Johann
4673 Klähn.
4674 - The :ref:`modify-cmd` command's output now clearly shows when a file has been
4675 deleted.
4676 - Album art in files with Vorbis Comments is now marked with the "front cover"
4677 type. Thanks to Jason Lefley.
4678
4679 1.3.2 (December 22, 2013)
4680 -------------------------
4681
4682 This update brings new plugins for fetching acoustic metrics and listening
4683 statistics, many more options for the duplicate detection plugin, and flexible
4684 options for fetching multiple genres.
4685
4686 The "core" of beets gained a new built-in command: :ref:`beet write <write-cmd>`
4687 updates the metadata tags for files, bringing them back into sync with your
4688 database. Thanks to Heinz Wiesinger.
4689
4690 We added some plugins and overhauled some existing ones
4691 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4692
4693 - The new ``echonest`` plugin plugin can fetch a wide range of `acoustic
4694 attributes`_ from `The Echo Nest`_, including the "speechiness" and "liveness"
4695 of each track. The new plugin supersedes an older version (``echonest_tempo``)
4696 that only fetched the BPM field. Thanks to Pedro Silva and Peter Schnebel.
4697 - The :doc:`/plugins/duplicates` got a number of new features, thanks to Pedro
4698 Silva:
4699
4700 - The ``keys`` option lets you specify the fields used detect duplicates.
4701 - You can now use checksumming (via an external command) to find duplicates
4702 instead of metadata via the ``checksum`` option.
4703 - The plugin can perform actions on the duplicates it find. The new ``copy``,
4704 ``move``, ``delete``, ``delete_file``, and ``tag`` options perform those
4705 actions.
4706
4707 - The new :doc:`/plugins/mpdstats` collects statistics about your listening
4708 habits from MPD_. Thanks to Peter Schnebel and Johann Klähn.
4709 - :doc:`/plugins/lastgenre`: The new ``multiple`` option has been replaced with
4710 the ``count`` option, which lets you limit the number of genres added to your
4711 music. (No more thousand-character genre fields!) Also, the ``min_weight``
4712 field filters out nonsense tags to make your genres more relevant. Thanks to
4713 Peter Schnebel and rashley60.
4714 - :doc:`/plugins/lyrics`: A new ``--force`` option optionally re-downloads
4715 lyrics even when files already have them. Thanks to Bitdemon.
4716
4717 As usual, there are also innumerable little fixes and improvements
4718 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4719
4720 - When writing ID3 tags for ReplayGain normalization, tags are written with both
4721 upper-case and lower-case TXXX frame descriptions. Previous versions of beets
4722 used only the upper-case style, which seems to be more standard, but some
4723 players (namely, Quod Libet and foobar2000) seem to only use lower-case names.
4724 - :doc:`/plugins/missing`: Avoid a possible error when an album's ``tracktotal``
4725 field is missing.
4726 - :doc:`/plugins/ftintitle`: Fix an error when the sort artist is missing.
4727 - ``echonest_tempo``: The plugin should now match songs more reliably (i.e.,
4728 fewer "no tempo found" messages). Thanks to Peter Schnebel.
4729 - :doc:`/plugins/convert`: Fix an "Item has no library" error when using the
4730 ``auto`` config option.
4731 - :doc:`/plugins/convert`: Fix an issue where files of the wrong format would
4732 have their transcoding skipped (and files with the right format would be
4733 needlessly transcoded). Thanks to Jakob Schnitzer.
4734 - Fix an issue that caused the :ref:`id3v23` option to work only occasionally.
4735 - Also fix using :ref:`id3v23` in conjunction with the ``scrub`` and
4736 ``embedart`` plugins. Thanks to Chris Cogburn.
4737 - :doc:`/plugins/ihate`: Fix an error when importing singletons. Thanks to
4738 Mathijs de Bruin.
4739 - The :ref:`clutter` option can now be a whitespace-separated list in addition
4740 to a YAML list.
4741 - Values for the :ref:`replace` option can now be empty (i.e., null is
4742 equivalent to the empty string).
4743 - :doc:`/plugins/lastgenre`: Fix a conflict between canonicalization and
4744 multiple genres.
4745 - When a match has a year but not a month or day, the autotagger now "zeros out"
4746 the month and day fields after applying the year.
4747 - For plugin developers: added an ``optparse`` callback utility function for
4748 performing actions based on arguments. Thanks to Pedro Silva.
4749 - :doc:`/plugins/scrub`: Fix scrubbing of MPEG-4 files. Thanks to Yevgeny
4750 Bezman.
4751
4752 .. _acoustic attributes: https://web.archive.org/web/20160701063109/http://developer.echonest.com/acoustic-attributes.html
4753
4754 .. _mpd: https://www.musicpd.org/
4755
4756 1.3.1 (October 12, 2013)
4757 ------------------------
4758
4759 This release boasts a host of new little features, many of them contributed by
4760 beets' amazing and prolific community. It adds support for Opus_ files,
4761 transcoding to any format, and two new plugins: one that guesses metadata for
4762 "blank" files based on their filenames and one that moves featured artists into
4763 the title field.
4764
4765 Here's the new stuff
4766 ~~~~~~~~~~~~~~~~~~~~
4767
4768 - Add Opus_ audio support. Thanks to Rowan Lewis.
4769 - :doc:`/plugins/convert`: You can now transcode files to any audio format,
4770 rather than just MP3. Thanks again to Rowan Lewis.
4771 - The new :doc:`/plugins/fromfilename` guesses tags from the filenames during
4772 import when metadata tags themselves are missing. Thanks to Jan-Erik Dahlin.
4773 - The :doc:`/plugins/ftintitle`, by `@Verrus`_, is now distributed with beets.
4774 It helps you rewrite tags to move "featured" artists from the artist field to
4775 the title field.
4776 - The MusicBrainz data source now uses track artists over recording artists.
4777 This leads to better metadata when tagging classical music. Thanks to Henrique
4778 Ferreiro.
4779 - :doc:`/plugins/lastgenre`: You can now get multiple genres per album or track
4780 using the ``multiple`` config option. Thanks to rashley60 on GitHub.
4781 - A new :ref:`id3v23` config option makes beets write MP3 files' tags using the
4782 older ID3v2.3 metadata standard. Use this if you want your tags to be visible
4783 to Windows and some older players.
4784
4785 And some fixes
4786 ~~~~~~~~~~~~~~
4787
4788 - :doc:`/plugins/fetchart`: Better error message when the image file has an
4789 unrecognized type.
4790 - :doc:`/plugins/mbcollection`: Detect, log, and skip invalid MusicBrainz IDs
4791 (instead of failing with an API error).
4792 - :doc:`/plugins/info`: Fail gracefully when used erroneously with a directory.
4793 - ``echonest_tempo``: Fix an issue where the plugin could use the tempo from the
4794 wrong song when the API did not contain the requested song.
4795 - Fix a crash when a file's metadata included a very large number (one wider
4796 than 64 bits). These huge numbers are now replaced with zeroes in the
4797 database.
4798 - When a track on a MusicBrainz release has a different length from the
4799 underlying recording's length, the track length is now used instead.
4800 - With :ref:`per_disc_numbering` enabled, the ``tracktotal`` field is now set
4801 correctly (i.e., to the number of tracks on the disc).
4802 - :doc:`/plugins/scrub`: The ``scrub`` command now restores album art in
4803 addition to other (database-backed) tags.
4804 - :doc:`/plugins/mpdupdate`: Domain sockets can now begin with a tilde (which is
4805 correctly expanded to ``$HOME``) as well as a slash. Thanks to Johann Klähn.
4806 - :doc:`/plugins/lastgenre`: Fix a regression that could cause new genres found
4807 during import not to be persisted.
4808 - Fixed a crash when imported album art was also marked as "clutter" where the
4809 art would be deleted before it could be moved into place. This led to a
4810 "image.jpg not found during copy" error. Now clutter is removed (and
4811 directories pruned) much later in the process, after the ``import_task_files``
4812 hook.
4813 - :doc:`/plugins/missing`: Fix an error when printing missing track names.
4814 Thanks to Pedro Silva.
4815 - Fix an occasional KeyError in the :ref:`update-cmd` command introduced in
4816 1.3.0.
4817 - :doc:`/plugins/scrub`: Avoid preserving certain non-standard ID3 tags such as
4818 NCON.
4819
4820 .. _@verrus: https://github.com/Verrus
4821
4822 .. _opus: https://www.opus-codec.org/
4823
4824 1.3.0 (September 11, 2013)
4825 --------------------------
4826
4827 Albums and items now have **flexible attributes**. This means that, when you
4828 want to store information about your music in the beets database, you're no
4829 longer constrained to the set of fields it supports out of the box (title,
4830 artist, track, etc.). Instead, you can use any field name you can think of and
4831 treat it just like the built-in fields.
4832
4833 For example, you can use the :ref:`modify-cmd` command to set a new field on a
4834 track:
4835
4836 ::
4837
4838 $ beet modify mood=sexy artist:miguel
4839
4840 and then query your music based on that field:
4841
4842 ::
4843
4844 $ beet ls mood:sunny
4845
4846 or use templates to see the value of the field:
4847
4848 ::
4849
4850 $ beet ls -f '$title: $mood'
4851
4852 While this feature is nifty when used directly with the usual command-line
4853 suspects, it's especially useful for plugin authors and for future beets
4854 features. Stay tuned for great things built on this flexible attribute
4855 infrastructure.
4856
4857 One side effect of this change: queries that include unknown fields will now
4858 match *nothing* instead of *everything*. So if you type ``beet ls
4859 fieldThatDoesNotExist:foo``, beets will now return no results, whereas previous
4860 versions would spit out a warning and then list your entire library.
4861
4862 There's more detail than you could ever need `on the beets blog`_.
4863
4864 .. _on the beets blog: https://beets.io/blog/flexattr.html
4865
4866 1.2.2 (August 27, 2013)
4867 -----------------------
4868
4869 This is a bugfix release. We're in the midst of preparing for a large change in
4870 beets 1.3, so 1.2.2 resolves some issues that came up over the last few weeks.
4871 Stay tuned!
4872
4873 The improvements in this release are
4874 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4875
4876 - A new plugin event, ``item_moved``, is sent when files are moved on disk.
4877 Thanks to dsedivec.
4878 - :doc:`/plugins/lyrics`: More improvements to the Google backend by Fabrice
4879 Laporte.
4880 - :doc:`/plugins/bpd`: Fix for a crash when searching, thanks to Simon Chopin.
4881 - Regular expression queries (and other query types) over paths now work.
4882 (Previously, special query types were ignored for the ``path`` field.)
4883 - :doc:`/plugins/fetchart`: Look for images in the Cover Art Archive for the
4884 release group in addition to the specific release. Thanks to Filipe Fortes.
4885 - Fix a race in the importer that could cause files to be deleted before they
4886 were imported. This happened when importing one album, importing a duplicate
4887 album, and then asking for the first album to be replaced with the second. The
4888 situation could only arise when importing music from the library directory and
4889 when the two albums are imported close in time.
4890
4891 1.2.1 (June 22, 2013)
4892 ---------------------
4893
4894 This release introduces a major internal change in the way that similarity
4895 scores are handled. It means that the importer interface can now show you
4896 exactly why a match is assigned its score and that the autotagger gained a few
4897 new options that let you customize how matches are prioritized and recommended.
4898
4899 The refactoring work is due to the continued efforts of Tai Lee. The changes
4900 you'll notice while using the autotagger are:
4901
4902 - The top 3 distance penalties are now displayed on the release listing, and all
4903 album and track penalties are now displayed on the track changes list. This
4904 should make it clear exactly which metadata is contributing to a low
4905 similarity score.
4906 - When displaying differences, the colorization has been made more consistent
4907 and helpful: red for an actual difference, yellow to indicate that a distance
4908 penalty is being applied, and light gray for no penalty (e.g., case changes)
4909 or disambiguation data.
4910
4911 There are also three new (or overhauled) configuration options that let you
4912 customize the way that matches are selected:
4913
4914 - The :ref:`ignored` setting lets you instruct the importer not to show you
4915 matches that have a certain penalty applied.
4916 - The :ref:`preferred` collection of settings specifies a sorted list of
4917 preferred countries and media types, or prioritizes releases closest to the
4918 original year for an album.
4919 - The :ref:`max_rec` settings can now be used for any distance penalty
4920 component. The recommendation will be downgraded if a non-zero penalty is
4921 being applied to the specified field.
4922
4923 And some little enhancements and bug fixes
4924 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4925
4926 - Multi-disc directory names can now contain "disk" (in addition to "disc").
4927 Thanks to John Hawthorn.
4928 - :doc:`/plugins/web`: Item and album counts are now exposed through the API for
4929 use with the Tomahawk resolver. Thanks to Uwe L. Korn.
4930 - Python 2.6 compatibility for ``beatport``, :doc:`/plugins/missing`, and
4931 :doc:`/plugins/duplicates`. Thanks to Wesley Bitter and Pedro Silva.
4932 - Don't move the config file during a null migration. Thanks to Theofilos
4933 Intzoglou.
4934 - Fix an occasional crash in the ``beatport`` when a length field was missing
4935 from the API response. Thanks to Timothy Appnel.
4936 - :doc:`/plugins/scrub`: Handle and log I/O errors.
4937 - :doc:`/plugins/lyrics`: The Google backend should now turn up more results.
4938 Thanks to Fabrice Laporte.
4939 - :doc:`/plugins/random`: Fix compatibility with Python 2.6. Thanks to Matthias
4940 Drochner.
4941
4942 1.2.0 (June 5, 2013)
4943 --------------------
4944
4945 There's a *lot* of new stuff in this release: new data sources for the
4946 autotagger, new plugins to look for problems in your library, tracking the date
4947 that you acquired new music, an awesome new syntax for doing queries over
4948 numeric fields, support for ALAC files, and major enhancements to the importer's
4949 UI and distance calculations. A special thanks goes out to all the contributors
4950 who helped make this release awesome.
4951
4952 For the first time, beets can now tag your music using additional **data
4953 sources** to augment the matches from MusicBrainz. When you enable either of
4954 these plugins, the importer will start showing you new kinds of matches:
4955
4956 - New :doc:`/plugins/discogs`: Get matches from the Discogs_ database. Thanks to
4957 Artem Ponomarenko and Tai Lee.
4958 - New ``beatport`` plugin: Get matches from the Beatport_ database. Thanks to
4959 Johannes Baiter.
4960
4961 We also have two other new plugins that can scan your library to check for
4962 common problems, both by Pedro Silva:
4963
4964 - New :doc:`/plugins/duplicates`: Find tracks or albums in your library that are
4965 **duplicated**.
4966 - New :doc:`/plugins/missing`: Find albums in your library that are **missing
4967 tracks**.
4968
4969 There are also three more big features added to beets core
4970 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4971
4972 - Your library now keeps track of **when music was added** to it. The new
4973 ``added`` field is a timestamp reflecting when each item and album was
4974 imported and the new ``%time{}`` template function lets you format this
4975 timestamp for humans. Thanks to Lucas Duailibe.
4976 - When using queries to match on quantitative fields, you can now use **numeric
4977 ranges**. For example, you can get a list of albums from the '90s by typing
4978 ``beet ls year:1990..1999`` or find high-bitrate music with
4979 ``bitrate:128000..``. See :ref:`numericquery`. Thanks to Michael Schuerig.
4980 - **ALAC files** are now marked as ALAC instead of being conflated with AAC
4981 audio. Thanks to Simon Luijk.
4982
4983 In addition, the importer saw various UI enhancements, thanks to Tai Lee
4984 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4985
4986 - More consistent format and colorization of album and track metadata.
4987 - Display data source URL for matches from the new data source plugins. This
4988 should make it easier to migrate data from Discogs or Beatport into
4989 MusicBrainz.
4990 - Display album disambiguation and disc titles in the track listing, when
4991 available.
4992 - Track changes are highlighted in yellow when they indicate a change in format
4993 to or from the style of :ref:`per_disc_numbering`. (As before, no penalty is
4994 applied because the track number is still "correct", just in a different
4995 format.)
4996 - Sort missing and unmatched tracks by index and title and group them together
4997 for better readability.
4998 - Indicate MusicBrainz ID mismatches.
4999
5000 The calculation of the similarity score for autotagger matches was also
5001 improved, again thanks to Tai Lee. These changes, in general, help deal with the
5002 new metadata sources and help disambiguate between similar releases in the same
5003 MusicBrainz release group:
5004
5005 - Strongly prefer releases with a matching MusicBrainz album ID. This helps
5006 beets re-identify the same release when re-importing existing files.
5007 - Prefer releases that are closest to the tagged ``year``. Tolerate files tagged
5008 with release or original year.
5009 - The new ``preferred_media`` config option lets you prefer a certain media type
5010 when the ``media`` field is unset on an album.
5011 - Apply minor penalties across a range of fields to differentiate between nearly
5012 identical releases: ``disctotal``, ``label``, ``catalognum``, ``country`` and
5013 ``albumdisambig``.
5014
5015 As usual, there were also lots of other great littler enhancements
5016 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5017
5018 - :doc:`/plugins/random`: A new ``-e`` option gives an equal chance to each
5019 artist in your collection to avoid biasing random samples to prolific artists.
5020 Thanks to Georges Dubus.
5021 - The :ref:`modify-cmd` now correctly converts types when modifying non-string
5022 fields. You can now safely modify the "comp" flag and the "year" field, for
5023 example. Thanks to Lucas Duailibe.
5024 - :doc:`/plugins/convert`: You can now configure the path formats for converted
5025 files separately from your main library. Thanks again to Lucas Duailibe.
5026 - The importer output now shows the number of audio files in each album. Thanks
5027 to jayme on GitHub.
5028 - Plugins can now provide fields for both Album and Item templates, thanks to
5029 Pedro Silva. Accordingly, the :doc:`/plugins/inline` can also now define album
5030 fields. For consistency, the ``pathfields`` configuration section has been
5031 renamed ``item_fields`` (although the old name will still work for
5032 compatibility).
5033 - Plugins can also provide metadata matches for ID searches. For example, the
5034 new Discogs plugin lets you search for an album by its Discogs ID from the
5035 same prompt that previously just accepted MusicBrainz IDs. Thanks to Johannes
5036 Baiter.
5037 - The :ref:`fields-cmd` command shows template fields provided by plugins.
5038 Thanks again to Pedro Silva.
5039 - :doc:`/plugins/mpdupdate`: You can now communicate with MPD over a Unix domain
5040 socket. Thanks to John Hawthorn.
5041
5042 And a batch of fixes
5043 ~~~~~~~~~~~~~~~~~~~~
5044
5045 - Album art filenames now respect the :ref:`replace` configuration.
5046 - Friendly error messages are now printed when trying to read or write files
5047 that go missing.
5048 - The :ref:`modify-cmd` command can now change albums' album art paths (i.e.,
5049 ``beet modify artpath=...`` works). Thanks to Lucas Duailibe.
5050 - :doc:`/plugins/zero`: Fix a crash when nulling out a field that contains None.
5051 - Templates can now refer to non-tag item fields (e.g., ``$id`` and
5052 ``$album_id``).
5053 - :doc:`/plugins/lyrics`: Lyrics searches should now turn up more results due to
5054 some fixes in dealing with special characters.
5055
5056 .. _beatport: https://www.beatport.com/
5057
5058 .. _discogs: https://discogs.com/
5059
5060 1.1.0 (April 29, 2013)
5061 ----------------------
5062
5063 This final release of 1.1 brings a little polish to the betas that introduced
5064 the new configuration system. The album art and lyrics plugins also got a little
5065 love.
5066
5067 If you're upgrading from 1.0.0 or earlier, this release (like the 1.1 betas)
5068 will automatically migrate your configuration to the new system.
5069
5070 - :doc:`/plugins/embedart`: The ``embedart`` command now embeds each album's
5071 associated art by default. The ``--file`` option invokes the old behavior, in
5072 which a specific image file is used.
5073 - :doc:`/plugins/lyrics`: A new (optional) Google Custom Search backend was
5074 added for finding lyrics on a wide array of sites. Thanks to Fabrice Laporte.
5075 - When automatically detecting the filesystem's maximum filename length, never
5076 guess more than 200 characters. This prevents errors on systems where the
5077 maximum length was misreported. You can, of course, override this default with
5078 the :ref:`max_filename_length` option.
5079 - :doc:`/plugins/fetchart`: Two new configuration options were added:
5080 ``cover_names``, the list of keywords used to identify preferred images, and
5081 ``cautious``, which lets you avoid falling back to images that don't contain
5082 those keywords. Thanks to Fabrice Laporte.
5083 - Avoid some error cases in the ``update`` command and the ``embedart`` and
5084 ``mbsync`` plugins. Invalid or missing files now cause error logs instead of
5085 crashing beets. Thanks to Lucas Duailibe.
5086 - :doc:`/plugins/lyrics`: Searches now strip "featuring" artists when searching
5087 for lyrics, which should increase the hit rate for these tracks. Thanks to
5088 Fabrice Laporte.
5089 - When listing the items in an album, the items are now always in track-number
5090 order. This should lead to more predictable listings from the
5091 :doc:`/plugins/importfeeds`.
5092 - :doc:`/plugins/smartplaylist`: Queries are now split using shell-like syntax
5093 instead of just whitespace, so you can now construct terms that contain
5094 spaces.
5095 - :doc:`/plugins/lastgenre`: The ``force`` config option now defaults to true
5096 and controls the behavior of the import hook. (Previously, new genres were
5097 always forced during import.)
5098 - :doc:`/plugins/web`: Fix an error when specifying the hostname on the command
5099 line.
5100 - :doc:`/plugins/web`: The underlying API was expanded slightly to support
5101 Tomahawk_ collections. And file transfers now have a "Content-Length" header.
5102 Thanks to Uwe L. Korn.
5103 - :doc:`/plugins/lastgenre`: Fix an error when using genre canonicalization.
5104
5105 .. _tomahawk: https://github.com/tomahawk-player/tomahawk
5106
5107 1.1b3 (March 16, 2013)
5108 ----------------------
5109
5110 This third beta of beets 1.1 brings a hodgepodge of little new features (and
5111 internal overhauls that will make improvements easier in the future). There are
5112 new options for getting metadata in a particular language and seeing more detail
5113 during the import process. There's also a new plugin for synchronizing your
5114 metadata with MusicBrainz. Under the hood, plugins can now extend the query
5115 syntax.
5116
5117 New configuration options
5118 ~~~~~~~~~~~~~~~~~~~~~~~~~
5119
5120 - :ref:`languages` controls the preferred languages when selecting an alias from
5121 MusicBrainz. This feature requires python-musicbrainzngs_ 0.3 or later. Thanks
5122 to Sam Doshi.
5123 - :ref:`detail` enables a mode where all tracks are listed in the importer UI,
5124 as opposed to only changed tracks.
5125 - The ``--flat`` option to the ``beet import`` command treats an entire
5126 directory tree of music files as a single album. This can help in situations
5127 where a multi-disc album is split across multiple directories.
5128 - :doc:`/plugins/importfeeds`: An option was added to use absolute, rather than
5129 relative, paths. Thanks to Lucas Duailibe.
5130
5131 Other stuff
5132 ~~~~~~~~~~~
5133
5134 - A new :doc:`/plugins/mbsync` provides a command that looks up each item and
5135 track in MusicBrainz and updates your library to reflect it. This can help you
5136 easily correct errors that have been fixed in the MB database. Thanks to Jakob
5137 Schnitzer.
5138 - :doc:`/plugins/fuzzy`: The ``fuzzy`` command was removed and replaced with a
5139 new query type. To perform fuzzy searches, use the ``~`` prefix with
5140 :ref:`list-cmd` or other commands. Thanks to Philippe Mongeau.
5141 - As part of the above, plugins can now extend the query syntax and new kinds of
5142 matching capabilities to beets. See :ref:`extend-query`. Thanks again to
5143 Philippe Mongeau.
5144 - :doc:`/plugins/convert`: A new ``--keep-new`` option lets you store transcoded
5145 files in your library while backing up the originals (instead of vice-versa).
5146 Thanks to Lucas Duailibe.
5147 - :doc:`/plugins/convert`: Also, a new ``auto`` config option will transcode
5148 audio files automatically during import. Thanks again to Lucas Duailibe.
5149 - :doc:`/plugins/chroma`: A new ``fingerprint`` command lets you generate and
5150 store fingerprints for items that don't yet have them. One more round of
5151 applause for Lucas Duailibe.
5152 - ``echonest_tempo``: API errors now issue a warning instead of exiting with an
5153 exception. We also avoid an error when track metadata contains newlines.
5154 - When the importer encounters an error (insufficient permissions, for example)
5155 when walking a directory tree, it now logs an error instead of crashing.
5156 - In path formats, null database values now expand to the empty string instead
5157 of the string "None".
5158 - Add "System Volume Information" (an internal directory found on some Windows
5159 filesystems) to the default ignore list.
5160 - Fix a crash when ReplayGain values were set to null.
5161 - Fix a crash when iTunes Sound Check tags contained invalid data.
5162 - Fix an error when the configuration file (``config.yaml``) is completely
5163 empty.
5164 - Fix an error introduced in 1.1b1 when importing using timid mode. Thanks to
5165 Sam Doshi.
5166 - :doc:`/plugins/convert`: Fix a bug when creating files with Unicode pathnames.
5167 - Fix a spurious warning from the Unidecode module when matching albums that are
5168 missing all metadata.
5169 - Fix Unicode errors when a directory or file doesn't exist when invoking the
5170 import command. Thanks to Lucas Duailibe.
5171 - :doc:`/plugins/mbcollection`: Show friendly, human-readable errors when
5172 MusicBrainz exceptions occur.
5173 - ``echonest_tempo``: Catch socket errors that are not handled by the Echo Nest
5174 library.
5175 - :doc:`/plugins/chroma`: Catch Acoustid Web service errors when submitting
5176 fingerprints.
5177
5178 1.1b2 (February 16, 2013)
5179 -------------------------
5180
5181 The second beta of beets 1.1 uses the fancy new configuration infrastructure to
5182 add many, many new config options. The import process is more flexible;
5183 filenames can be customized in more detail; and more. This release also supports
5184 Windows Media (ASF) files and iTunes Sound Check volume normalization.
5185
5186 This version introduces one **change to the default behavior** that you should
5187 be aware of. Previously, when importing new albums matched in MusicBrainz, the
5188 date fields (``year``, ``month``, and ``day``) would be set to the release date
5189 of the *original* version of the album, as opposed to the specific date of the
5190 release selected. Now, these fields reflect the specific release and
5191 ``original_year``, etc., reflect the earlier release date. If you want the old
5192 behavior, just set :ref:`original_date` to true in your config file.
5193
5194 New configuration options
5195 ~~~~~~~~~~~~~~~~~~~~~~~~~
5196
5197 - :ref:`default_action` lets you determine the default (just-hit-return) option
5198 is when considering a candidate.
5199 - :ref:`none_rec_action` lets you skip the prompt, and automatically choose an
5200 action, when there is no good candidate. Thanks to Tai Lee.
5201 - :ref:`max_rec` lets you define a maximum recommendation for albums with
5202 missing/extra tracks or differing track lengths/numbers. Thanks again to Tai
5203 Lee.
5204 - :ref:`original_date` determines whether, when importing new albums, the
5205 ``year``, ``month``, and ``day`` fields should reflect the specific (e.g.,
5206 reissue) release date or the original release date. Note that the original
5207 release date is always available as ``original_year``, etc.
5208 - :ref:`clutter` controls which files should be ignored when cleaning up empty
5209 directories. Thanks to Steinþór Pálsson.
5210 - :doc:`/plugins/lastgenre`: A new configuration option lets you choose to
5211 retrieve artist-level tags as genres instead of album- or track-level tags.
5212 Thanks to Peter Fern and Peter Schnebel.
5213 - :ref:`max_filename_length` controls truncation of long filenames. Also, beets
5214 now tries to determine the filesystem's maximum length automatically if you
5215 leave this option unset.
5216 - :doc:`/plugins/fetchart`: The ``remote_priority`` option searches remote (Web)
5217 art sources even when local art is present.
5218 - You can now customize the character substituted for path separators (e.g., /)
5219 in filenames via ``path_sep_replace``. The default is an underscore. Use this
5220 setting with caution.
5221
5222 Other new stuff
5223 ~~~~~~~~~~~~~~~
5224
5225 - Support for Windows Media/ASF audio files. Thanks to Dave Hayes.
5226 - New :doc:`/plugins/smartplaylist`: generate and maintain m3u playlist files
5227 based on beets queries. Thanks to Dang Mai Hai.
5228 - ReplayGain tags on MPEG-4/AAC files are now supported. And, even more
5229 astonishingly, ReplayGain values in MP3 and AAC files are now compatible with
5230 `iTunes Sound Check`_. Thanks to Dave Hayes.
5231 - Track titles in the importer UI's difference display are now either aligned
5232 vertically or broken across two lines for readability. Thanks to Tai Lee.
5233 - Albums and items have new fields reflecting the *original* release date
5234 (``original_year``, ``original_month``, and ``original_day``). Previously,
5235 when tagging from MusicBrainz, *only* the original date was stored; now, the
5236 old fields refer to the *specific* release date (e.g., when the album was
5237 reissued).
5238 - Some changes to the way candidates are recommended for selection, thanks to
5239 Tai Lee:
5240
5241 - According to the new :ref:`max_rec` configuration option, partial album
5242 matches are downgraded to a "low" recommendation by default.
5243 - When a match isn't great but is either better than all the others or the
5244 only match, it is given a "low" (rather than "medium") recommendation.
5245 - There is no prompt default (i.e., input is required) when matches are bad:
5246 "low" or "none" recommendations or when choosing a candidate other than the
5247 first.
5248
5249 - The importer's heuristic for coalescing the directories in a multi-disc album
5250 has been improved. It can now detect when two directories alongside each other
5251 share a similar prefix but a different number (e.g., "Album Disc 1" and "Album
5252 Disc 2") even when they are not alone in a common parent directory. Thanks
5253 once again to Tai Lee.
5254 - Album listings in the importer UI now show the release medium (CD, Vinyl,
5255 3xCD, etc.) as well as the disambiguation string. Thanks to Peter Schnebel.
5256 - :doc:`/plugins/lastgenre`: The plugin can now get different genres for
5257 individual tracks on an album. Thanks to Peter Schnebel.
5258 - When getting data from MusicBrainz, the album disambiguation string
5259 (``albumdisambig``) now reflects both the release and the release group.
5260 - :doc:`/plugins/mpdupdate`: Sends an update message whenever *anything* in the
5261 database changes---not just when importing. Thanks to Dang Mai Hai.
5262 - When the importer UI shows a difference in track numbers or durations, they
5263 are now colorized based on the *suffixes* that differ. For example, when
5264 showing the difference between 2:01 and 2:09, only the last digit will be
5265 highlighted.
5266 - The importer UI no longer shows a change when the track length difference is
5267 less than 10 seconds. (This threshold was previously 2 seconds.)
5268 - Two new plugin events were added: *database_change* and *cli_exit*. Thanks
5269 again to Dang Mai Hai.
5270 - Plugins are now loaded in the order they appear in the config file. Thanks to
5271 Dang Mai Hai.
5272 - :doc:`/plugins/bpd`: Browse by album artist and album artist sort name. Thanks
5273 to Steinþór Pálsson.
5274 - ``echonest_tempo``: Don't attempt a lookup when the artist or track title is
5275 missing.
5276 - Fix an error when migrating the ``.beetsstate`` file on Windows.
5277 - A nicer error message is now given when the configuration file contains tabs.
5278 (YAML doesn't like tabs.)
5279 - Fix the ``-l`` (log path) command-line option for the ``import`` command.
5280
5281 .. _itunes sound check: https://support.apple.com/itunes
5282
5283 1.1b1 (January 29, 2013)
5284 ------------------------
5285
5286 This release entirely revamps beets' configuration system. The configuration
5287 file is now a YAML_ document and is located, along with other support files, in
5288 a common directory (e.g., ``~/.config/beets`` on Unix-like systems).
5289
5290 .. _yaml: https://en.wikipedia.org/wiki/YAML
5291
5292 - Renamed plugins: The ``rdm`` plugin has been renamed to ``random`` and
5293 ``fuzzy_search`` has been renamed to ``fuzzy``.
5294 - Renamed config options: Many plugins have a flag dictating whether their
5295 action runs at import time. This option had many names (``autofetch``,
5296 ``autoembed``, etc.) but is now consistently called ``auto``.
5297 - Reorganized import config options: The various ``import_*`` options are now
5298 organized under an ``import:`` heading and their prefixes have been removed.
5299 - New default file locations: The default filename of the library database is
5300 now ``library.db`` in the same directory as the config file, as opposed to
5301 ``~/.beetsmusic.blb`` previously. Similarly, the runtime state file is now
5302 called ``state.pickle`` in the same directory instead of ``~/.beetsstate``.
5303
5304 It also adds some new features
5305 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5306
5307 - :doc:`/plugins/inline`: Inline definitions can now contain statements or
5308 blocks in addition to just expressions. Thanks to Florent Thoumie.
5309 - Add a configuration option, :ref:`terminal_encoding`, controlling the text
5310 encoding used to print messages to standard output.
5311 - The MusicBrainz hostname (and rate limiting) are now configurable. See
5312 :ref:`musicbrainz-config`.
5313 - You can now configure the similarity thresholds used to determine when the
5314 autotagger automatically accepts a metadata match. See :ref:`match-config`.
5315 - :doc:`/plugins/importfeeds`: Added a new configuration option that controls
5316 the base for relative paths used in m3u files. Thanks to Philippe Mongeau.
5317
5318 1.0.0 (January 29, 2013)
5319 ------------------------
5320
5321 After fifteen betas and two release candidates, beets has finally hit
5322 one-point-oh. Congratulations to everybody involved. This version of beets will
5323 remain stable and receive only bug fixes from here on out. New development is
5324 ongoing in the betas of version 1.1.
5325
5326 - :doc:`/plugins/scrub`: Fix an incompatibility with Python 2.6.
5327 - :doc:`/plugins/lyrics`: Fix an issue that failed to find lyrics when metadata
5328 contained "real" apostrophes.
5329 - :doc:`/plugins/replaygain`: On Windows, emit a warning instead of crashing
5330 when analyzing non-ASCII filenames.
5331 - Silence a spurious warning from version 0.04.12 of the Unidecode module.
5332
5333 1.0rc2 (December 31, 2012)
5334 --------------------------
5335
5336 This second release candidate follows quickly after rc1 and fixes a few small
5337 bugs found since that release. There were a couple of regressions and some bugs
5338 in a newly added plugin.
5339
5340 - ``echonest_tempo``: If the Echo Nest API limit is exceeded or a communication
5341 error occurs, the plugin now waits and tries again instead of crashing. Thanks
5342 to Zach Denton.
5343 - :doc:`/plugins/fetchart`: Fix a regression that caused crashes when art was
5344 not available from some sources.
5345 - Fix a regression on Windows that caused all relative paths to be "not found".
5346
5347 1.0rc1 (December 17, 2012)
5348 --------------------------
5349
5350 The first release candidate for beets 1.0 includes a deluge of new features
5351 contributed by beets users. The vast majority of the credit for this release
5352 goes to the growing and vibrant beets community. A million thanks to everybody
5353 who contributed to this release.
5354
5355 There are new plugins for transcoding music, fuzzy searches, tempo collection,
5356 and fiddling with metadata. The ReplayGain plugin has been rebuilt from scratch.
5357 Album art images can now be resized automatically. Many other smaller
5358 refinements make things "just work" as smoothly as possible.
5359
5360 With this release candidate, beets 1.0 is feature-complete. We'll be fixing bugs
5361 on the road to 1.0 but no new features will be added. Concurrently, work begins
5362 today on features for version 1.1.
5363
5364 - New plugin: :doc:`/plugins/convert` **transcodes** music and embeds album art
5365 while copying to a separate directory. Thanks to Jakob Schnitzer and Andrew G.
5366 Dunn.
5367 - New plugin: :doc:`/plugins/fuzzy` lets you find albums and tracks using
5368 **fuzzy string matching** so you don't have to type (or even remember) their
5369 exact names. Thanks to Philippe Mongeau.
5370 - New plugin: ``echonest_tempo`` fetches **tempo** (BPM) information from `The
5371 Echo Nest`_. Thanks to David Brenner.
5372 - New plugin: :doc:`/plugins/the` adds a template function that helps format
5373 text for nicely-sorted directory listings. Thanks to Blemjhoo Tezoulbr.
5374 - New plugin: :doc:`/plugins/zero` **filters out undesirable fields** before
5375 they are written to your tags. Thanks again to Blemjhoo Tezoulbr.
5376 - New plugin: :doc:`/plugins/ihate` automatically skips (or warns you about)
5377 importing albums that match certain criteria. Thanks once again to Blemjhoo
5378 Tezoulbr.
5379 - :doc:`/plugins/replaygain`: This plugin has been completely overhauled to use
5380 the mp3gain_ or aacgain_ command-line tools instead of the failure-prone
5381 Gstreamer ReplayGain implementation. Thanks to Fabrice Laporte.
5382 - :doc:`/plugins/fetchart` and :doc:`/plugins/embedart`: Both plugins can now
5383 **resize album art** to avoid excessively large images. Use the ``maxwidth``
5384 config option with either plugin. Thanks to Fabrice Laporte.
5385 - :doc:`/plugins/scrub`: Scrubbing now removes *all* types of tags from a file
5386 rather than just one. For example, if your FLAC file has both ordinary FLAC
5387 tags and ID3 tags, the ID3 tags are now also removed.
5388 - :ref:`stats-cmd` command: New ``--exact`` switch to make the file size
5389 calculation more accurate (thanks to Jakob Schnitzer).
5390 - :ref:`list-cmd` command: Templates given with ``-f`` can now show items' and
5391 albums' paths (using ``$path``).
5392 - The output of the :ref:`update-cmd`, :ref:`remove-cmd`, and :ref:`modify-cmd`
5393 commands now respects the :ref:`list_format_album` and :ref:`list_format_item`
5394 config options. Thanks to Mike Kazantsev.
5395 - The :ref:`art-filename` option can now be a template rather than a simple
5396 string. Thanks to Jarrod Beardwood.
5397 - Fix album queries for ``artpath`` and other non-item fields.
5398 - Null values in the database can now be matched with the empty-string regular
5399 expression, ``^$``.
5400 - Queries now correctly match non-string values in path format predicates.
5401 - When autotagging a various-artists album, the album artist field is now used
5402 instead of the majority track artist.
5403 - :doc:`/plugins/lastgenre`: Use the albums' existing genre tags if they pass
5404 the whitelist (thanks to Fabrice Laporte).
5405 - :doc:`/plugins/lastgenre`: Add a ``lastgenre`` command for fetching genres
5406 post facto (thanks to Jakob Schnitzer).
5407 - :doc:`/plugins/fetchart`: Local image filenames are now used in alphabetical
5408 order.
5409 - :doc:`/plugins/fetchart`: Fix a bug where cover art filenames could lack a
5410 ``.jpg`` extension.
5411 - :doc:`/plugins/lyrics`: Fix an exception with non-ASCII lyrics.
5412 - :doc:`/plugins/web`: The API now reports file sizes (for use with the
5413 `Tomahawk resolver`_).
5414 - :doc:`/plugins/web`: Files now download with a reasonable filename rather than
5415 just being called "file" (thanks to Zach Denton).
5416 - :doc:`/plugins/importfeeds`: Fix error in symlink mode with non-ASCII
5417 filenames.
5418 - :doc:`/plugins/mbcollection`: Fix an error when submitting a large number of
5419 releases (we now submit only 200 releases at a time instead of 350). Thanks to
5420 Jonathan Towne.
5421 - :doc:`/plugins/embedart`: Made the method for embedding art into FLAC files
5422 `standard
5423 <https://wiki.xiph.org/VorbisComment#METADATA_BLOCK_PICTURE>`_-compliant.
5424 Thanks to Daniele Sluijters.
5425 - Add the track mapping dictionary to the ``album_distance`` plugin function.
5426 - When an exception is raised while reading a file, the path of the file in
5427 question is now logged (thanks to Mike Kazantsev).
5428 - Truncate long filenames based on their *bytes* rather than their Unicode
5429 *characters*, fixing situations where encoded names could be too long.
5430 - Filename truncation now incorporates the length of the extension.
5431 - Fix an assertion failure when the MusicBrainz main database and search server
5432 disagree.
5433 - Fix a bug that caused the :doc:`/plugins/lastgenre` and other plugins not to
5434 modify files' tags even when they successfully change the database.
5435 - Fix a VFS bug leading to a crash in the :doc:`/plugins/bpd` when files had
5436 non-ASCII extensions.
5437 - Fix for changing date fields (like "year") with the :ref:`modify-cmd` command.
5438 - Fix a crash when input is read from a pipe without a specified encoding.
5439 - Fix some problem with identifying files on Windows with Unicode directory
5440 names in their path.
5441 - Fix a crash when Unicode queries were used with ``import -L`` re-imports.
5442 - Fix an error when fingerprinting files with Unicode filenames on Windows.
5443 - Warn instead of crashing when importing a specific file in singleton mode.
5444 - Add human-readable error messages when writing files' tags fails or when a
5445 directory can't be created.
5446 - Changed plugin loading so that modules can be imported without unintentionally
5447 loading the plugins they contain.
5448
5449 .. _aacgain: https://github.com/dgilman/aacgain
5450
5451 .. _mp3gain: https://sourceforge.net/projects/mp3gain/
5452
5453 .. _the echo nest: https://web.archive.org/web/20180329103558/http://the.echonest.com/
5454
5455 .. _tomahawk resolver: https://beets.io/blog/tomahawk-resolver.html
5456
5457 1.0b15 (July 26, 2012)
5458 ----------------------
5459
5460 The fifteenth (!) beta of beets is compendium of small fixes and features, most
5461 of which represent long-standing requests. The improvements include matching
5462 albums with extra tracks, per-disc track numbering in multi-disc albums, an
5463 overhaul of the album art downloader, and robustness enhancements that should
5464 keep beets running even when things go wrong. All these smaller changes should
5465 help us focus on some larger changes coming before 1.0.
5466
5467 Please note that this release contains one backwards-incompatible change: album
5468 art fetching, which was previously baked into the import workflow, is now
5469 encapsulated in a plugin (the :doc:`/plugins/fetchart`). If you want to continue
5470 fetching cover art for your music, enable this plugin after upgrading to beets
5471 1.0b15.
5472
5473 - The autotagger can now find matches for albums when you have **extra tracks**
5474 on your filesystem that aren't present in the MusicBrainz catalog. Previously,
5475 if you tried to match album with 15 audio files but the MusicBrainz entry had
5476 only 14 tracks, beets would ignore this match. Now, beets will show you
5477 matches even when they are "too short" and indicate which tracks from your
5478 disk are unmatched.
5479 - Tracks on multi-disc albums can now be **numbered per-disc** instead of
5480 per-album via the :ref:`per_disc_numbering` config option.
5481 - The default output format for the ``beet list`` command is now configurable
5482 via the :ref:`list_format_item` and :ref:`list_format_album` config options.
5483 Thanks to Fabrice Laporte.
5484 - Album **cover art fetching** is now encapsulated in the
5485 :doc:`/plugins/fetchart`. Be sure to enable this plugin if you're using this
5486 functionality. As a result of this new organization, the new plugin has gained
5487 a few new features:
5488
5489 - "As-is" and non-autotagged imports can now have album art imported from the
5490 local filesystem (although Web repositories are still not searched in these
5491 cases).
5492 - A new command, ``beet fetchart``, allows you to download album art
5493 post-import. If you only want to fetch art manually, not automatically
5494 during import, set the new plugin's ``autofetch`` option to ``no``.
5495 - New album art sources have been added.
5496
5497 - Errors when communicating with MusicBrainz now log an error message instead of
5498 halting the importer.
5499 - Similarly, filesystem manipulation errors now print helpful error messages
5500 instead of a messy traceback. They still interrupt beets, but they should now
5501 be easier for users to understand. Tracebacks are still available in verbose
5502 mode.
5503 - New metadata fields for `artist credits`_: ``artist_credit`` and
5504 ``albumartist_credit`` can now contain release- and recording-specific
5505 variations of the artist's name. See :ref:`itemfields`.
5506 - Revamped the way beets handles concurrent database access to avoid
5507 nondeterministic SQLite-related crashes when using the multithreaded importer.
5508 On systems where SQLite was compiled without ``usleep(3)`` support,
5509 multithreaded database access could cause an internal error (with the message
5510 "database is locked"). This release synchronizes access to the database to
5511 avoid internal SQLite contention, which should avoid this error.
5512 - Plugins can now add parallel stages to the import pipeline. See
5513 :ref:`basic-plugin-setup`.
5514 - Beets now prints out an error when you use an unrecognized field name in a
5515 query: for example, when running ``beet ls -a artist:foo`` (because ``artist``
5516 is an item-level field).
5517 - New plugin events:
5518
5519 - ``import_task_choice`` is called after an import task has an action
5520 assigned.
5521 - ``import_task_files`` is called after a task's file manipulation has
5522 finished (copying or moving files, writing metadata tags).
5523 - ``library_opened`` is called when beets starts up and opens the library
5524 database.
5525
5526 - :doc:`/plugins/lastgenre`: Fixed a problem where path formats containing
5527 ``$genre`` would use the old genre instead of the newly discovered one.
5528 - Fix a crash when moving files to a Samba share.
5529 - :doc:`/plugins/mpdupdate`: Fix TypeError crash (thanks to Philippe Mongeau).
5530 - When re-importing files with ``import_copy`` enabled, only files inside the
5531 library directory are moved. Files outside the library directory are still
5532 copied. This solves a problem (introduced in 1.0b14) where beets could crash
5533 after adding files to the library but before finishing copying them; during
5534 the next import, the (external) files would be moved instead of copied.
5535 - Artist sort names are now populated correctly for multi-artist tracks and
5536 releases. (Previously, they only reflected the first artist.)
5537 - When previewing changes during import, differences in track duration are now
5538 shown as "2:50 vs. 3:10" rather than separated with ``->`` like track numbers.
5539 This should clarify that beets isn't doing anything to modify lengths.
5540 - Fix a problem with query-based path format matching where a field-qualified
5541 pattern, like ``albumtype_soundtrack``, would match everything.
5542 - :doc:`/plugins/chroma`: Fix matching with ambiguous Acoustids. Some Acoustids
5543 are identified with multiple recordings; beets now considers any associated
5544 recording a valid match. This should reduce some cases of errant track
5545 reordering when using chroma.
5546 - Fix the ID3 tag name for the catalog number field.
5547 - :doc:`/plugins/chroma`: Fix occasional crash at end of fingerprint submission
5548 and give more context to "failed fingerprint generation" errors.
5549 - Interactive prompts are sent to stdout instead of stderr.
5550 - :doc:`/plugins/embedart`: Fix crash when audio files are unreadable.
5551 - :doc:`/plugins/bpd`: Fix crash when sockets disconnect (thanks to Matteo
5552 Mecucci).
5553 - Fix an assertion failure while importing with moving enabled when the file was
5554 already at its destination.
5555 - Fix Unicode values in the ``replace`` config option (thanks to Jakob Borg).
5556 - Use a nicer error message when input is requested but stdin is closed.
5557 - Fix errors on Windows for certain Unicode characters that can't be represented
5558 in the MBCS encoding. This required a change to the way that paths are
5559 represented in the database on Windows; if you find that beets' paths are out
5560 of sync with your filesystem with this release, delete and recreate your
5561 database with ``beet import -AWC /path/to/music``.
5562 - Fix ``import`` with relative path arguments on Windows.
5563
5564 .. _artist credits: https://wiki.musicbrainz.org/Artist_Credit
5565
5566 1.0b14 (May 12, 2012)
5567 ---------------------
5568
5569 The centerpiece of this beets release is the graceful handling of
5570 similarly-named albums. It's now possible to import two albums with the same
5571 artist and title and to keep them from conflicting in the filesystem. Many other
5572 awesome new features were contributed by the beets community, including regular
5573 expression queries, artist sort names, moving files on import. There are three
5574 new plugins: random song/album selection; MusicBrainz "collection" integration;
5575 and a plugin for interoperability with other music library systems.
5576
5577 A million thanks to the (growing) beets community for making this a huge
5578 release.
5579
5580 - The importer now gives you **choices when duplicates are detected**.
5581 Previously, when beets found an existing album or item in your library
5582 matching the metadata on a newly-imported one, it would just skip the new
5583 music to avoid introducing duplicates into your library. Now, you have three
5584 choices: skip the new music (the previous behavior), keep both, or remove the
5585 old music. See the :ref:`guide-duplicates` section in the autotagging guide
5586 for details.
5587 - Beets can now avoid storing identically-named albums in the same directory.
5588 The new ``%aunique{}`` template function, which is included in the default
5589 path formats, ensures that Crystal Castles' albums will be placed into
5590 different directories. See :ref:`aunique` for details.
5591 - Beets queries can now use **regular expressions**. Use an additional ``:`` in
5592 your query to enable regex matching. See :ref:`regex` for the full details.
5593 Thanks to Matteo Mecucci.
5594 - Artist **sort names** are now fetched from MusicBrainz. There are two new data
5595 fields, ``artist_sort`` and ``albumartist_sort``, that contain sortable artist
5596 names like "Beatles, The". These fields are also used to sort albums and items
5597 when using the ``list`` command. Thanks to Paul Provost.
5598 - Many other **new metadata fields** were added, including ASIN, label catalog
5599 number, disc title, encoder, and MusicBrainz release group ID. For a full list
5600 of fields, see :ref:`itemfields`.
5601 - :doc:`/plugins/chroma`: A new command, ``beet submit``, will **submit
5602 fingerprints** to the Acoustid database. Submitting your library helps
5603 increase the coverage and accuracy of Acoustid fingerprinting. The Chromaprint
5604 fingerprint and Acoustid ID are also now stored for all fingerprinted tracks.
5605 This version of beets *requires* at least version 0.6 of pyacoustid_ for
5606 fingerprinting to work.
5607 - The importer can now **move files**. Previously, beets could only copy files
5608 and delete the originals, which is inefficient if the source and destination
5609 are on the same filesystem. Use the ``import_move`` configuration option and
5610 see :doc:`/reference/config` for more details. Thanks to Domen Kožar.
5611 - New :doc:`/plugins/random`: Randomly select albums and tracks from your
5612 library. Thanks to Philippe Mongeau.
5613 - The :doc:`/plugins/mbcollection` by Jeffrey Aylesworth was added to the core
5614 beets distribution.
5615 - New :doc:`/plugins/importfeeds`: Catalog imported files in ``m3u`` playlist
5616 files or as symlinks for easy importing to other systems. Thanks to Fabrice
5617 Laporte.
5618 - The ``-f`` (output format) option to the ``beet list`` command can now contain
5619 template functions as well as field references. Thanks to Steve Dougherty.
5620 - A new command ``beet fields`` displays the available metadata fields (thanks
5621 to Matteo Mecucci).
5622 - The ``import`` command now has a ``--noincremental`` or ``-I`` flag to disable
5623 incremental imports (thanks to Matteo Mecucci).
5624 - When the autotagger fails to find a match, it now displays the number of
5625 tracks on the album (to help you guess what might be going wrong) and a link
5626 to the FAQ.
5627 - The default filename character substitutions were changed to be more
5628 conservative. The Windows "reserved characters" are substituted by default
5629 even on Unix platforms (this causes less surprise when using Samba shares to
5630 store music). To customize your character substitutions, see :ref:`the replace
5631 config option <replace>`.
5632 - :doc:`/plugins/lastgenre`: Added a "fallback" option when no suitable genre
5633 can be found (thanks to Fabrice Laporte).
5634 - :doc:`/plugins/rewrite`: Unicode rewriting rules are now allowed (thanks to
5635 Nicolas Dietrich).
5636 - Filename collisions are now avoided when moving album art.
5637 - :doc:`/plugins/bpd`: Print messages to show when directory tree is being
5638 constructed.
5639 - :doc:`/plugins/bpd`: Use Gstreamer's ``playbin2`` element instead of the
5640 deprecated ``playbin``.
5641 - :doc:`/plugins/bpd`: Random and repeat modes are now supported (thanks to
5642 Matteo Mecucci).
5643 - :doc:`/plugins/bpd`: Listings are now sorted (thanks once again to Matteo
5644 Mecucci).
5645 - Filenames are normalized with Unicode Normal Form D (NFD) on Mac OS X and NFC
5646 on all other platforms.
5647 - Significant internal restructuring to avoid SQLite locking errors. As part of
5648 these changes, the not-very-useful "save" plugin event has been removed.
5649
5650 .. _pyacoustid: https://github.com/beetbox/pyacoustid
5651
5652 1.0b13 (March 16, 2012)
5653 -----------------------
5654
5655 Beets 1.0b13 consists of a plethora of small but important fixes and
5656 refinements. A lyrics plugin is now included with beets; new audio properties
5657 are catalogged; the ``list`` command has been made more powerful; the autotagger
5658 is more tolerant of different tagging styles; and importing with original file
5659 deletion now cleans up after itself more thoroughly. Many, many bugs—including
5660 several crashers—were fixed. This release lays the foundation for more features
5661 to come in the next couple of releases.
5662
5663 - The :doc:`/plugins/lyrics`, originally by `Peter Brunner`_, is revamped and
5664 included with beets, making it easy to fetch **song lyrics**.
5665 - Items now expose their audio **sample rate**, number of **channels**, and
5666 **bits per sample** (bitdepth). See :doc:`/reference/pathformat` for a list of
5667 all available audio properties. Thanks to Andrew Dunn.
5668 - The ``beet list`` command now accepts a "format" argument that lets you **show
5669 specific information about each album or track**. For example, run ``beet ls
5670 -af '$album: $tracktotal' beatles`` to see how long each Beatles album is.
5671 Thanks to Philippe Mongeau.
5672 - The autotagger now tolerates tracks on multi-disc albums that are numbered
5673 per-disc. For example, if track 24 on a release is the first track on the
5674 second disc, then it is not penalized for having its track number set to 1
5675 instead of 24.
5676 - The autotagger sets the disc number and disc total fields on autotagged
5677 albums.
5678 - The autotagger now also tolerates tracks whose track artists tags are set to
5679 "Various Artists".
5680 - Terminal colors are now supported on Windows via Colorama_ (thanks to Karl).
5681 - When previewing metadata differences, the importer now shows discrepancies in
5682 track length.
5683 - Importing with ``import_delete`` enabled now cleans up empty directories that
5684 contained deleting imported music files.
5685 - Similarly, ``import_delete`` now causes original album art imported from the
5686 disk to be deleted.
5687 - Plugin-supplied template values, such as those created by ``rewrite``, are now
5688 properly sanitized (for example, ``AC/DC`` properly becomes ``AC_DC``).
5689 - Filename extensions are now always lower-cased when copying and moving files.
5690 - The ``inline`` plugin now prints a more comprehensible error when exceptions
5691 occur in Python snippets.
5692 - The ``replace`` configuration option can now remove characters entirely (in
5693 addition to replacing them) if the special string ``<strip>`` is specified as
5694 the replacement.
5695 - New plugin API: plugins can now add fields to the MediaFile tag abstraction
5696 layer. See :ref:`basic-plugin-setup`.
5697 - A reasonable error message is now shown when the import log file cannot be
5698 opened.
5699 - The import log file is now flushed and closed properly so that it can be used
5700 to monitor import progress, even when the import crashes.
5701 - Duplicate track matches are no longer shown when autotagging singletons.
5702 - The ``chroma`` plugin now logs errors when fingerprinting fails.
5703 - The ``lastgenre`` plugin suppresses more errors when dealing with the Last.fm
5704 API.
5705 - Fix a bug in the ``rewrite`` plugin that broke the use of multiple rules for a
5706 single field.
5707 - Fix a crash with non-ASCII characters in bytestring metadata fields (e.g.,
5708 MusicBrainz IDs).
5709 - Fix another crash with non-ASCII characters in the configuration paths.
5710 - Fix a divide-by-zero crash on zero-length audio files.
5711 - Fix a crash in the ``chroma`` plugin when the Acoustid database had no
5712 recording associated with a fingerprint.
5713 - Fix a crash when an autotagging with an artist or album containing "AND" or
5714 "OR" (upper case).
5715 - Fix an error in the ``rewrite`` and ``inline`` plugins when the corresponding
5716 config sections did not exist.
5717 - Fix bitrate estimation for AAC files whose headers are missing the relevant
5718 data.
5719 - Fix the ``list`` command in BPD (thanks to Simon Chopin).
5720
5721 .. _colorama: https://pypi.org/project/colorama/
5722
5723 1.0b12 (January 16, 2012)
5724 -------------------------
5725
5726 This release focuses on making beets' path formatting vastly more powerful. It
5727 adds a function syntax for transforming text. Via a new plugin, arbitrary Python
5728 code can also be used to define new path format fields. Each path format
5729 template can now be activated conditionally based on a query. Character set
5730 substitutions are also now configurable.
5731
5732 In addition, beets avoids problematic filename conflicts by appending numbers to
5733 filenames that would otherwise conflict. Three new plugins (``inline``,
5734 ``scrub``, and ``rewrite``) are included in this release.
5735
5736 - **Functions in path formats** provide a simple way to write complex file
5737 naming rules: for example, ``%upper{%left{$artist,1}}`` will insert the
5738 capitalized first letter of the track's artist. For more details, see
5739 :doc:`/reference/pathformat`. If you're interested in adding your own template
5740 functions via a plugin, see :ref:`basic-plugin-setup`.
5741 - Plugins can also now define new path *fields* in addition to functions.
5742 - The new :doc:`/plugins/inline` lets you **use Python expressions to customize
5743 path formats** by defining new fields in the config file.
5744 - The configuration can **condition path formats based on queries**. That is,
5745 you can write a path format that is only used if an item matches a given
5746 query. (This supersedes the earlier functionality that only allowed
5747 conditioning on album type; if you used this feature in a previous version,
5748 you will need to replace, for example, ``soundtrack:`` with
5749 ``albumtype_soundtrack:``.) See :ref:`path-format-config`.
5750 - **Filename substitutions are now configurable** via the ``replace`` config
5751 value. You can choose which characters you think should be allowed in your
5752 directory and music file names. See :doc:`/reference/config`.
5753 - Beets now ensures that files have **unique filenames** by appending a number
5754 to any filename that would otherwise conflict with an existing file.
5755 - The new :doc:`/plugins/scrub` can remove extraneous metadata either manually
5756 or automatically.
5757 - The new :doc:`/plugins/rewrite` can canonicalize names for path formats.
5758 - The autotagging heuristics have been tweaked in situations where the
5759 MusicBrainz database did not contain track lengths. Previously, beets
5760 penalized matches where this was the case, leading to situations where
5761 seemingly good matches would have poor similarity. This penalty has been
5762 removed.
5763 - Fix an incompatibility in BPD with libmpc (the library that powers mpc and
5764 ncmpc).
5765 - Fix a crash when importing a partial match whose first track was missing.
5766 - The ``lastgenre`` plugin now correctly writes discovered genres to imported
5767 files (when tag-writing is enabled).
5768 - Add a message when skipping directories during an incremental import.
5769 - The default ignore settings now ignore all files beginning with a dot.
5770 - Date values in path formats (``$year``, ``$month``, and ``$day``) are now
5771 appropriately zero-padded.
5772 - Removed the ``--path-format`` global flag for ``beet``.
5773 - Removed the ``lastid`` plugin, which was deprecated in the previous version.
5774
5775 1.0b11 (December 12, 2011)
5776 --------------------------
5777
5778 This version of beets focuses on transitioning the autotagger to the new version
5779 of the MusicBrainz database (called NGS). This transition brings with it a
5780 number of long-overdue improvements: most notably, predictable behavior when
5781 tagging multi-disc albums and integration with the new Acoustid_ acoustic
5782 fingerprinting technology.
5783
5784 The importer can also now tag *incomplete* albums when you're missing a few
5785 tracks from a given release. Two other new plugins are also included with this
5786 release: one for assigning genres and another for ReplayGain analysis.
5787
5788 - Beets now communicates with MusicBrainz via the new `Next Generation Schema`_
5789 (NGS) service via python-musicbrainzngs_. The bindings are included with this
5790 version of beets, but a future version will make them an external dependency.
5791 - The importer now detects **multi-disc albums** and tags them together. Using a
5792 heuristic based on the names of directories, certain structures are classified
5793 as multi-disc albums: for example, if a directory contains subdirectories
5794 labeled "disc 1" and "disc 2", these subdirectories will be coalesced into a
5795 single album for tagging.
5796 - The new :doc:`/plugins/chroma` uses the Acoustid_ **open-source acoustic
5797 fingerprinting** service. This replaces the old ``lastid`` plugin, which used
5798 Last.fm fingerprinting and is now deprecated. Fingerprinting with this library
5799 should be faster and more reliable.
5800 - The importer can now perform **partial matches**. This means that, if you're
5801 missing a few tracks from an album, beets can still tag the remaining tracks
5802 as a single album. (Thanks to `Simon Chopin`_.)
5803 - The new :doc:`/plugins/lastgenre` automatically **assigns genres to imported
5804 albums** and items based on Last.fm tags and an internal whitelist. (Thanks to
5805 KraYmer_.)
5806 - The :doc:`/plugins/replaygain`, written by `Peter Brunner`_, has been merged
5807 into the core beets distribution. Use it to analyze audio and **adjust
5808 playback levels** in ReplayGain-aware music players.
5809 - Albums are now tagged with their *original* release date rather than the date
5810 of any reissue, remaster, "special edition", or the like.
5811 - The config file and library databases are now given better names and locations
5812 on Windows. Namely, both files now reside in ``%APPDATA%``; the config file is
5813 named ``beetsconfig.ini`` and the database is called ``beetslibrary.blb``
5814 (neither has a leading dot as on Unix). For backwards compatibility, beets
5815 will check the old locations first.
5816 - When entering an ID manually during tagging, beets now searches for anything
5817 that looks like an MBID in the entered string. This means that full
5818 MusicBrainz URLs now work as IDs at the prompt. (Thanks to derwin.)
5819 - The importer now ignores certain "clutter" files like ``.AppleDouble``
5820 directories and ``._*`` files. The list of ignored patterns is configurable
5821 via the ``ignore`` setting; see :doc:`/reference/config`.
5822 - The database now keeps track of files' modification times so that, during an
5823 ``update``, unmodified files can be skipped. (Thanks to Jos van der Til.)
5824 - The album art fetcher now uses albumart.org_ as a fallback when the Amazon art
5825 downloader fails.
5826 - A new ``timeout`` config value avoids database locking errors on slow systems.
5827 - Fix a crash after using the "as Tracks" option during import.
5828 - Fix a Unicode error when tagging items with missing titles.
5829 - Fix a crash when the state file (``~/.beetsstate``) became emptied or
5830 corrupted.
5831
5832 .. _acoustid: https://acoustid.org/
5833
5834 .. _albumart.org: https://web.archive.org/web/20191217041318/http://www.albumart.org/
5835
5836 .. _kraymer: https://github.com/KraYmer
5837
5838 .. _next generation schema: https://musicbrainz.org/doc/MusicBrainz_API
5839
5840 .. _peter brunner: https://github.com/Lugoues
5841
5842 .. _python-musicbrainzngs: https://github.com/alastair/python-musicbrainzngs
5843
5844 .. _simon chopin: https://github.com/laarmen
5845
5846 1.0b10 (September 22, 2011)
5847 ---------------------------
5848
5849 This version of beets focuses on making it easier to manage your metadata
5850 *after* you've imported it. A bumper crop of new commands has been added: a
5851 manual tag editor (``modify``), a tool to pick up out-of-band deletions and
5852 modifications (``update``), and functionality for moving and copying files
5853 around (``move``). Furthermore, the concept of "re-importing" is new: you can
5854 choose to re-run beets' advanced autotagger on any files you already have in
5855 your library if you change your mind after you finish the initial import.
5856
5857 As a couple of added bonuses, imports can now automatically skip
5858 previously-imported directories (with the ``-i`` flag) and there's an
5859 :doc:`experimental Web interface </plugins/web>` to beets in a new standard
5860 plugin.
5861
5862 - A new ``beet modify`` command enables **manual, command-line-based
5863 modification** of music metadata. Pass it a query along with ``field=value``
5864 pairs that specify the changes you want to make.
5865 - A new ``beet update`` command updates the database to reflect **changes in the
5866 on-disk metadata**. You can now use an external program to edit tags on files,
5867 remove files and directories, etc., and then run ``beet update`` to make sure
5868 your beets library is in sync. This will also rename files to reflect their
5869 new metadata.
5870 - A new ``beet move`` command can **copy or move files** into your library
5871 directory or to another specified directory.
5872 - When importing files that are already in the library database, the items are
5873 no longer duplicated---instead, the library is updated to reflect the new
5874 metadata. This way, the import command can be transparently used as a
5875 **re-import**.
5876 - Relatedly, the ``-L`` flag to the "import" command makes it take a query as
5877 its argument instead of a list of directories. The matched albums (or items,
5878 depending on the ``-s`` flag) are then re-imported.
5879 - A new flag ``-i`` to the import command runs **incremental imports**, keeping
5880 track of and skipping previously-imported directories. This has the effect of
5881 making repeated import commands pick up only newly-added directories. The
5882 ``import_incremental`` config option makes this the default.
5883 - When pruning directories, "clutter" files such as ``.DS_Store`` and
5884 ``Thumbs.db`` are ignored (and removed with otherwise-empty directories).
5885 - The :doc:`/plugins/web` encapsulates a simple **Web-based GUI for beets**. The
5886 current iteration can browse the library and play music in browsers that
5887 support HTML5 Audio.
5888 - When moving items that are part of an album, the album art implicitly moves
5889 too.
5890 - Files are no longer silently overwritten when moving and copying files.
5891 - Handle exceptions thrown when running Mutagen.
5892 - Fix a missing ``__future__`` import in ``embed art`` on Python 2.5.
5893 - Fix ID3 and MPEG-4 tag names for the album-artist field.
5894 - Fix Unicode encoding of album artist, album type, and label.
5895 - Fix crash when "copying" an art file that's already in place.
5896
5897 1.0b9 (July 9, 2011)
5898 --------------------
5899
5900 This release focuses on a large number of small fixes and improvements that turn
5901 beets into a well-oiled, music-devouring machine. See the full release notes,
5902 below, for a plethora of new features.
5903
5904 - **Queries can now contain whitespace.** Spaces passed as shell arguments are
5905 now preserved, so you can use your shell's escaping syntax (quotes or
5906 backslashes, for instance) to include spaces in queries. For example, ``beet
5907 ls "the knife"`` or ``beet ls theknife``. Read more in
5908 :doc:`/reference/query`.
5909 - Queries can **match items from the library by directory**. A ``path:`` prefix
5910 is optional; any query containing a path separator (/ on POSIX systems) is
5911 assumed to be a path query. Running ``beet ls path/to/music`` will show all
5912 the music in your library under the specified directory. The
5913 :doc:`/reference/query` reference again has more details.
5914 - **Local album art** is now automatically discovered and copied from the
5915 imported directories when available.
5916 - When choosing the "as-is" import album (or doing a non-autotagged import),
5917 **every album either has an "album artist" set or is marked as a compilation
5918 (Various Artists)**. The choice is made based on the homogeneity of the
5919 tracks' artists. This prevents compilations that are imported as-is from being
5920 scattered across many directories after they are imported.
5921 - The release **label** for albums and tracks is now fetched from !MusicBrainz,
5922 written to files, and stored in the database.
5923 - The "list" command now accepts a ``-p`` switch that causes it to **show
5924 paths** instead of titles. This makes the output of ``beet ls -p`` suitable
5925 for piping into another command such as xargs_.
5926 - Release year and label are now shown in the candidate selection list to help
5927 disambiguate different releases of the same album.
5928 - Prompts in the importer interface are now colorized for easy reading. The
5929 default option is always highlighted.
5930 - The importer now provides the option to specify a MusicBrainz ID manually if
5931 the built-in searching isn't working for a particular album or track.
5932 - ``$bitrate`` in path formats is now formatted as a human-readable kbps value
5933 instead of as a raw integer.
5934 - The import logger has been improved for "always-on" use. First, it is now
5935 possible to specify a log file in .beetsconfig. Also, logs are now appended
5936 rather than overwritten and contain timestamps.
5937 - Album art fetching and plugin events are each now run in separate pipeline
5938 stages during imports. This should bring additional performance when using
5939 album art plugins like embedart or beets-lyrics.
5940 - Accents and other Unicode decorators on characters are now treated more fairly
5941 by the autotagger. For example, if you're missing the acute accent on the "e"
5942 in "café", that change won't be penalized. This introduces a new dependency on
5943 the unidecode_ Python module.
5944 - When tagging a track with no title set, the track's filename is now shown
5945 (instead of nothing at all).
5946 - The bitrate of lossless files is now calculated from their file size (rather
5947 than being fixed at 0 or reflecting the uncompressed audio bitrate).
5948 - Fixed a problem where duplicate albums or items imported at the same time
5949 would fail to be detected.
5950 - BPD now uses a persistent "virtual filesystem" in order to fake a directory
5951 structure. This means that your path format settings are respected in BPD's
5952 browsing hierarchy. This may come at a performance cost, however. The virtual
5953 filesystem used by BPD is available for reuse by plugins (e.g., the FUSE
5954 plugin).
5955 - Singleton imports (``beet import -s``) can now take individual files as
5956 arguments as well as directories.
5957 - Fix Unicode queries given on the command line.
5958 - Fix crasher in quiet singleton imports (``import -qs``).
5959 - Fix crash when autotagging files with no metadata.
5960 - Fix a rare deadlock when finishing the import pipeline.
5961 - Fix an issue that was causing mpdupdate to run twice for every album.
5962 - Fix a bug that caused release dates/years not to be fetched.
5963 - Fix a crasher when setting MBIDs on MP3s file metadata.
5964 - Fix a "broken pipe" error when piping beets' standard output.
5965 - A better error message is given when the database file is unopenable.
5966 - Suppress errors due to timeouts and bad responses from MusicBrainz.
5967 - Fix a crash on album queries with item-only field names.
5968
5969 .. _unidecode: https://pypi.org/project/Unidecode/0.04.1/
5970
5971 .. _xargs: https://en.wikipedia.org/wiki/Xargs
5972
5973 1.0b8 (April 28, 2011)
5974 ----------------------
5975
5976 This release of beets brings two significant new features. First, beets now has
5977 first-class support for "singleton" tracks. Previously, it was only really meant
5978 to manage whole albums, but many of us have lots of non-album tracks to keep
5979 track of alongside our collections of albums. So now beets makes it easy to tag,
5980 catalog, and manipulate your individual tracks. Second, beets can now
5981 (optionally) embed album art directly into file metadata rather than only
5982 storing it in a "file on the side." Check out the :doc:`/plugins/embedart` for
5983 that functionality.
5984
5985 - Better support for **singleton (non-album) tracks**. Whereas beets previously
5986 only really supported full albums, now it can also keep track of individual,
5987 off-album songs. The "singleton" path format can be used to customize where
5988 these tracks are stored. To import singleton tracks, provide the -s switch to
5989 the import command or, while doing a normal full-album import, choose the "as
5990 Tracks" (T) option to add singletons to your library. To list only singleton
5991 or only album tracks, use the new ``singleton:`` query term: the query
5992 ``singleton:true`` matches only singleton tracks; ``singleton:false`` matches
5993 only album tracks. The ``lastid`` plugin has been extended to support matching
5994 individual items as well.
5995 - The importer/autotagger system has been heavily refactored in this release. If
5996 anything breaks as a result, please get in touch or just file a bug.
5997 - Support for **album art embedded in files**. A new :doc:`/plugins/embedart`
5998 implements this functionality. Enable the plugin to automatically embed
5999 downloaded album art into your music files' metadata. The plugin also provides
6000 the "embedart" and "extractart" commands for moving image files in and out of
6001 metadata. See the wiki for more details. (Thanks, daenney!)
6002 - The "distance" number, which quantifies how different an album's current and
6003 proposed metadata are, is now displayed as "similarity" instead. This should
6004 be less noisy and confusing; you'll now see 99.5% instead of 0.00489323.
6005 - A new "timid mode" in the importer asks the user every time, even when it
6006 makes a match with very high confidence. The ``-t`` flag on the command line
6007 and the ``import_timid`` config option control this mode. (Thanks to mdecker
6008 on GitHub!)
6009 - The multithreaded importer should now abort (either by selecting aBort or by
6010 typing ^C) much more quickly. Previously, it would try to get a lot of work
6011 done before quitting; now it gives up as soon as it can.
6012 - Added a new plugin event, ``album_imported``, which is called every time an
6013 album is added to the library. (Thanks, Lugoues!)
6014 - A new plugin method, ``register_listener``, is an imperative alternative to
6015 the ``@listen`` decorator (Thanks again, Lugoues!)
6016 - In path formats, ``$albumartist`` now falls back to ``$artist`` (as well as
6017 the other way around).
6018 - The importer now prints "(unknown album)" when no tags are present.
6019 - When autotagging, "and" is considered equal to "&".
6020 - Fix some crashes when deleting files that don't exist.
6021 - Fix adding individual tracks in BPD.
6022 - Fix crash when ``~/.beetsconfig`` does not exist.
6023
6024 1.0b7 (April 5, 2011)
6025 ---------------------
6026
6027 Beta 7's focus is on better support for "various artists" releases. These albums
6028 can be treated differently via the new ``[paths]`` config section and the
6029 autotagger is better at handling them. It also includes a number of
6030 oft-requested improvements to the ``beet`` command-line tool, including several
6031 new configuration options and the ability to clean up empty directory subtrees.
6032
6033 - **"Various artists" releases** are handled much more gracefully. The
6034 autotagger now sets the ``comp`` flag on albums whenever the album is
6035 identified as a "various artists" release by !MusicBrainz. Also, there is now
6036 a distinction between the "album artist" and the "track artist", the latter of
6037 which is never "Various Artists" or other such bogus stand-in. *(Thanks to
6038 Jonathan for the bulk of the implementation work on this feature!)*
6039 - The directory hierarchy can now be **customized based on release type**. In
6040 particular, the ``path_format`` setting in .beetsconfig has been replaced with
6041 a new ``[paths]`` section, which allows you to specify different path formats
6042 for normal and "compilation" (various artists) releases as well as for each
6043 album type (see below). The default path formats have been changed to use
6044 ``$albumartist`` instead of ``$artist``.
6045 - A **new** ``albumtype`` **field** reflects the release type `as specified by
6046 MusicBrainz`_.
6047 - When deleting files, beets now appropriately "prunes" the directory
6048 tree---empty directories are automatically cleaned up. *(Thanks to wlof on
6049 GitHub for this!)*
6050 - The tagger's output now always shows the album directory that is currently
6051 being tagged. This should help in situations where files' current tags are
6052 missing or useless.
6053 - The logging option (``-l``) to the ``import`` command now logs duplicate
6054 albums.
6055 - A new ``import_resume`` configuration option can be used to disable the
6056 importer's resuming feature or force it to resume without asking. This option
6057 may be either ``yes``, ``no``, or ``ask``, with the obvious meanings. The
6058 ``-p`` and ``-P`` command-line flags override this setting and correspond to
6059 the "yes" and "no" settings.
6060 - Resuming is automatically disabled when the importer is in quiet (``-q``)
6061 mode. Progress is still saved, however, and the ``-p`` flag (above) can be
6062 used to force resuming.
6063 - The ``BEETSCONFIG`` environment variable can now be used to specify the
6064 location of the config file that is at ~/.beetsconfig by default.
6065 - A new ``import_quiet_fallback`` config option specifies what should happen in
6066 quiet mode when there is no strong recommendation. The options are ``skip``
6067 (the default) and "asis".
6068 - When importing with the "delete" option and importing files that are already
6069 at their destination, files could be deleted (leaving zero copies afterward).
6070 This is fixed.
6071 - The ``version`` command now lists all the loaded plugins.
6072 - A new plugin, called ``info``, just prints out audio file metadata.
6073 - Fix a bug where some files would be erroneously interpreted as MPEG-4 audio.
6074 - Fix permission bits applied to album art files.
6075 - Fix malformed !MusicBrainz queries caused by null characters.
6076 - Fix a bug with old versions of the Monkey's Audio format.
6077 - Fix a crash on broken symbolic links.
6078 - Retry in more cases when !MusicBrainz servers are slow/overloaded.
6079 - The old "albumify" plugin for upgrading databases was removed.
6080
6081 .. _as specified by musicbrainz: https://wiki.musicbrainz.org/ReleaseType
6082
6083 1.0b6 (January 20, 2011)
6084 ------------------------
6085
6086 This version consists primarily of bug fixes and other small improvements. It's
6087 in preparation for a more feature-ful release in beta 7. The most important
6088 issue involves correct ordering of autotagged albums.
6089
6090 - **Quiet import:** a new "-q" command line switch for the import command
6091 suppresses all prompts for input; it pessimistically skips all albums that the
6092 importer is not completely confident about.
6093 - Added support for the **WavPack** and **Musepack** formats. Unfortunately, due
6094 to a limitation in the Mutagen library (used by beets for metadata
6095 manipulation), Musepack SV8 is not yet supported. Here's the `upstream bug`_
6096 in question.
6097 - BPD now uses a pure-Python socket library and no longer requires
6098 eventlet/greenlet (the latter of which is a C extension). For the curious, the
6099 socket library in question is called Bluelet_.
6100 - Non-autotagged imports are now resumable (just like autotagged imports).
6101 - Fix a terrible and long-standing bug where track orderings were never applied.
6102 This manifested when the tagger appeared to be applying a reasonable ordering
6103 to the tracks but, later, the database reflects a completely wrong association
6104 of track names to files. The order applied was always just alphabetical by
6105 filename, which is frequently but not always what you want.
6106 - We now use Windows' "long filename" support. This API is fairly tricky,
6107 though, so some instability may still be present---please file a bug if you
6108 run into pathname weirdness on Windows. Also, filenames on Windows now never
6109 end in spaces.
6110 - Fix crash in lastid when the artist name is not available.
6111 - Fixed a spurious crash when ``LANG`` or a related environment variable is set
6112 to an invalid value (such as ``'UTF-8'`` on some installations of Mac OS X).
6113 - Fixed an error when trying to copy a file that is already at its destination.
6114 - When copying read-only files, the importer now tries to make the copy
6115 writable. (Previously, this would just crash the import.)
6116 - Fixed an ``UnboundLocalError`` when no matches are found during autotag.
6117 - Fixed a Unicode encoding error when entering special characters into the
6118 "manual search" prompt.
6119 - Added ``beet version`` command that just shows the current release version.
6120
6121 .. _bluelet: https://github.com/sampsyo/bluelet
6122
6123 .. _upstream bug: https://github.com/quodlibet/mutagen/issues/7
6124
6125 1.0b5 (September 28, 2010)
6126 --------------------------
6127
6128 This version of beets focuses on increasing the accuracy of the autotagger. The
6129 main addition is an included plugin that uses acoustic fingerprinting to match
6130 based on the audio content (rather than existing metadata). Additional
6131 heuristics were also added to the metadata-based tagger as well that should make
6132 it more reliable. This release also greatly expands the capabilities of beets'
6133 :doc:`plugin API </plugins/index>`. A host of other little features and fixes
6134 are also rolled into this release.
6135
6136 - The ``lastid`` plugin adds Last.fm **acoustic fingerprinting support** to the
6137 autotagger. Similar to the PUIDs used by !MusicBrainz Picard, this system
6138 allows beets to recognize files that don't have any metadata at all. You'll
6139 need to install some dependencies for this plugin to work.
6140 - To support the above, there's also a new system for **extending the autotagger
6141 via plugins**. Plugins can currently add components to the track and album
6142 distance functions as well as augment the MusicBrainz search. The new API is
6143 documented at :doc:`/plugins/index`.
6144 - **String comparisons** in the autotagger have been augmented to act more
6145 intuitively. Previously, if your album had the title "Something (EP)" and it
6146 was officially called "Something", then beets would think this was a fairly
6147 significant change. It now checks for and appropriately reweights certain
6148 parts of each string. As another example, the title "The Great Album" is
6149 considered equal to "Great Album, The".
6150 - New **event system for plugins** (thanks, Jeff!). Plugins can now get
6151 callbacks from beets when certain events occur in the core. Again, the API is
6152 documented in :doc:`/plugins/index`.
6153 - The BPD plugin is now disabled by default. This greatly simplifies
6154 installation of the beets core, which is now 100% pure Python. To use BPD,
6155 though, you'll need to set ``plugins: bpd`` in your .beetsconfig.
6156 - The ``import`` command can now remove original files when it copies items into
6157 your library. (This might be useful if you're low on disk space.) Set the
6158 ``import_delete`` option in your .beetsconfig to ``yes``.
6159 - Importing without autotagging (``beet import -A``) now prints out album names
6160 as it imports them to indicate progress.
6161 - The new :doc:`/plugins/mpdupdate` will automatically update your MPD server's
6162 index whenever your beets library changes.
6163 - Efficiency tweak should reduce the number of !MusicBrainz queries per
6164 autotagged album.
6165 - A new ``-v`` command line switch enables debugging output.
6166 - Fixed bug that completely broke non-autotagged imports (``import -A``).
6167 - Fixed bug that logged the wrong paths when using ``import -l``.
6168 - Fixed autotagging for the creatively-named band `!!!`_.
6169 - Fixed normalization of relative paths.
6170 - Fixed escaping of ``/`` characters in paths on Windows.
6171
6172 .. _!!!: https://musicbrainz.org/artist/f26c72d3-e52c-467b-b651-679c73d8e1a7
6173
6174 1.0b4 (August 9, 2010)
6175 ----------------------
6176
6177 This thrilling new release of beets focuses on making the tagger more usable in
6178 a variety of ways. First and foremost, it should now be much faster: the tagger
6179 now uses a multithreaded algorithm by default (although, because the new tagger
6180 is experimental, a single-threaded version is still available via a config
6181 option). Second, the tagger output now uses a little bit of ANSI terminal
6182 coloring to make changes stand out. This way, it should be faster to decide what
6183 to do with a proposed match: the more red you see, the worse the match is.
6184 Finally, the tagger can be safely interrupted (paused) and restarted later at
6185 the same point. Just enter ``b`` for aBort at any prompt to stop the tagging
6186 process and save its progress. (The progress-saving also works in the
6187 unthinkable event that beets crashes while tagging.)
6188
6189 Among the under-the-hood changes in 1.0b4 is a major change to the way beets
6190 handles paths (filenames). This should make the whole system more tolerant to
6191 special characters in filenames, but it may break things (especially databases
6192 created with older versions of beets). As always, let me know if you run into
6193 weird problems with this release.
6194
6195 Finally, this release's ``setup.py`` should install a ``beet.exe`` startup stub
6196 for Windows users. This should make running beets much easier: just type
6197 ``beet`` if you have your ``PATH`` environment variable set up correctly. The
6198 :doc:`/guides/main` guide has some tips on installing beets on Windows.
6199
6200 Here's the detailed list of changes
6201 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6202
6203 - **Parallel tagger.** The autotagger has been reimplemented to use multiple
6204 threads. This means that it can concurrently read files from disk, talk to the
6205 user, communicate with MusicBrainz, and write data back to disk. Not only does
6206 this make the tagger much faster because independent work may be performed in
6207 parallel, but it makes the tagging process much more pleasant for large
6208 imports. The user can let albums queue up in the background while making a
6209 decision rather than waiting for beets between each question it asks. The
6210 parallel tagger is on by default but a sequential (single- threaded) version
6211 is still available by setting the ``threaded`` config value to ``no`` (because
6212 the parallel version is still quite experimental).
6213 - **Colorized tagger output.** The autotagger interface now makes it a little
6214 easier to see what's going on at a glance by highlighting changes with
6215 terminal colors. This feature is on by default, but you can turn it off by
6216 setting ``color`` to ``no`` in your ``.beetsconfig`` (if, for example, your
6217 terminal doesn't understand colors and garbles the output).
6218 - **Pause and resume imports.** The ``import`` command now keeps track of its
6219 progress, so if you're interrupted (beets crashes, you abort the process, an
6220 alien devours your motherboard, etc.), beets will try to resume from the point
6221 where you left off. The next time you run ``import`` on the same directory, it
6222 will ask if you want to resume. It accomplishes this by "fast-forwarding"
6223 through the albums in the directory until it encounters the last one it saw.
6224 (This means it might fail if that album can't be found.) Also, you can now
6225 abort the tagging process by entering ``b`` (for aBort) at any of the prompts.
6226 - Overhauled methods for handling filesystem paths to allow filenames that have
6227 badly encoded special characters. These changes are pretty fragile, so please
6228 report any bugs involving ``UnicodeError`` or SQLite ``ProgrammingError``
6229 messages in this version.
6230 - The destination paths (the library directory structure) now respect
6231 album-level metadata. This means that if you have an album in which two tracks
6232 have different album-level attributes (like year, for instance), they will
6233 still wind up in the same directory together. (There's currently not a very
6234 smart method for picking the "correct" album-level metadata, but we'll fix
6235 that later.)
6236 - Fixed a bug where the CLI would fail completely if the ``LANG`` environment
6237 variable was not set.
6238 - Fixed removal of albums (``beet remove -a``): previously, the album record
6239 would stay around although the items were deleted.
6240 - The setup script now makes a ``beet.exe`` startup stub on Windows; Windows
6241 users can now just type ``beet`` at the prompt to run beets.
6242 - Fixed an occasional bug where Mutagen would complain that a tag was already
6243 present.
6244 - Fixed a bug with reading invalid integers from ID3 tags.
6245 - The tagger should now be a little more reluctant to reorder tracks that
6246 already have indices.
6247
6248 1.0b3 (July 22, 2010)
6249 ---------------------
6250
6251 This release features two major additions to the autotagger's functionality:
6252 album art fetching and MusicBrainz ID tags. It also contains some important
6253 under-the-hood improvements: a new plugin architecture is introduced and the
6254 database schema is extended with explicit support for albums.
6255
6256 This release has one major backwards-incompatibility. Because of the new way
6257 beets handles albums in the library, databases created with an old version of
6258 beets might have trouble with operations that deal with albums (like the ``-a``
6259 switch to ``beet list`` and ``beet remove``, as well as the file browser for
6260 BPD). To "upgrade" an old database, you can use the included ``albumify`` plugin
6261 (see the fourth bullet point below).
6262
6263 - **Album art.** The tagger now, by default, downloads album art from Amazon
6264 that is referenced in the MusicBrainz database. It places the album art
6265 alongside the audio files in a file called (for example) ``cover.jpg``. The
6266 ``import_art`` config option controls this behavior, as do the ``-r`` and
6267 ``-R`` options to the import command. You can set the name (minus extension)
6268 of the album art file with the ``art_filename`` config option. (See
6269 :doc:`/reference/config` for more information about how to configure the album
6270 art downloader.)
6271 - **Support for MusicBrainz ID tags.** The autotagger now keeps track of the
6272 MusicBrainz track, album, and artist IDs it matched for each file. It also
6273 looks for album IDs in new files it's importing and uses those to look up data
6274 in MusicBrainz. Furthermore, track IDs are used as a component of the tagger's
6275 distance metric now. (This obviously lays the groundwork for a utility that
6276 can update tags if the MB database changes, but that's `for the future`_.)
6277 Tangentially, this change required the database code to support a lightweight
6278 form of migrations so that new columns could be added to old databases--this
6279 is a delicate feature, so it would be very wise to make a backup of your
6280 database before upgrading to this version.
6281 - **Plugin architecture.** Add-on modules can now add new commands to the beets
6282 command-line interface. The ``bpd`` and ``dadd`` commands were removed from
6283 the beets core and turned into plugins; BPD is loaded by default. To load the
6284 non-default plugins, use the config options ``plugins`` (a space-separated
6285 list of plugin names) and ``pluginpath`` (a colon-separated list of
6286 directories to search beyond ``sys.path``). Plugins are just Python modules
6287 under the ``beetsplug`` namespace package containing subclasses of
6288 |BeetsPlugin|. See `the beetsplug directory`_ for examples or
6289 :doc:`/plugins/index` for instructions.
6290 - As a consequence of adding album art, the database was significantly
6291 refactored to keep track of some information at an album (rather than item)
6292 granularity. Databases created with earlier versions of beets should work
6293 fine, but they won't have any "albums" in them--they'll just be a bag of
6294 items. This means that commands like ``beet ls -a`` and ``beet rm -a`` won't
6295 match anything. To "upgrade" your database, you can use the included
6296 ``albumify`` plugin. Running ``beets albumify`` with the plugin activated (set
6297 ``plugins=albumify`` in your config file) will group all your items into
6298 albums, making beets behave more or less as it did before.
6299 - Fixed some bugs with encoding paths on Windows. Also, ``:`` is now replaced
6300 with ``-`` in path names (instead of ``_``) for readability.
6301 - ``MediaFile`` now has a ``format`` attribute, so you can use ``$format`` in
6302 your library path format strings like ``$artist - $album ($format)`` to get
6303 directories with names like ``Paul Simon - Graceland (FLAC)``.
6304
6305 .. _for the future: https://github.com/google-code-export/beets/issues/69
6306
6307 .. _the beetsplug directory: https://github.com/beetbox/beets/tree/master/beetsplug
6308
6309 Beets also now has its first third-party plugin: beetfs_, by Martin Eve! It
6310 exposes your music in a FUSE filesystem using a custom directory structure. Even
6311 cooler: it lets you keep your files intact on-disk while correcting their tags
6312 when accessed through FUSE. Check it out!
6313
6314 .. _beetfs: https://github.com/jbaiter/beetfs
6315
6316 1.0b2 (July 7, 2010)
6317 --------------------
6318
6319 This release focuses on high-priority fixes and conspicuously missing features.
6320 Highlights include support for two new audio formats (Monkey's Audio and Ogg
6321 Vorbis) and an option to log untaggable albums during import.
6322
6323 - **Support for Ogg Vorbis and Monkey's Audio** files and their tags. (This
6324 support should be considered preliminary: I haven't tested it heavily because
6325 I don't use either of these formats regularly.)
6326 - An option to the ``beet import`` command for **logging albums that are
6327 untaggable** (i.e., are skipped or taken "as-is"). Use ``beet import -l
6328 LOGFILE PATHS``. The log format is very simple: it's just a status (either
6329 "skip" or "asis") followed by the path to the album in question. The idea is
6330 that you can tag a large collection and automatically keep track of the albums
6331 that weren't found in MusicBrainz so you can come back and look at them later.
6332 - Fixed a ``UnicodeEncodeError`` on terminals that don't (or don't claim to)
6333 support UTF-8.
6334 - Importing without autotagging (``beet import -A``) is now faster and doesn't
6335 print out a bunch of whitespace. It also lets you specify single files on the
6336 command line (rather than just directories).
6337 - Fixed importer crash when attempting to read a corrupt file.
6338 - Reorganized code for CLI in preparation for adding pluggable subcommands. Also
6339 removed dependency on the aging ``cmdln`` module in favor of `a hand-rolled
6340 solution`_.
6341
6342 .. _a hand-rolled solution: https://gist.github.com/sampsyo/462717
6343
6344 1.0b1 (June 17, 2010)
6345 ---------------------
6346
6347 Initial release.