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