Skip to content

Commit 6eb483c

Browse files
committed
Update docs
1 parent 4271921 commit 6eb483c

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

docs/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ Bug fixes
3535
Play-count imports now use source-specific fields so
3636
:doc:`plugins/listenbrainz`, :doc:`plugins/lastimport`, and
3737
:doc:`plugins/mpdstats` do not clash. :bug:`6469`
38+
- :ref:`modify-cmd`: Accept legacy singular list-field names such as ``genre``,
39+
``composer``, ``lyricist``, ``remixer``, and ``arranger`` in assignments,
40+
rewrite them to the corresponding multi-value fields, and warn users to switch
41+
to the plural field names. :bug:`6483`
3842

3943
For plugin developers
4044
~~~~~~~~~~~~~~~~~~~~~

docs/reference/cli.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ To adjust a multi-valued field, such as ``genres``, ``remixers``, ``lyricists``,
271271
``composers``, or ``arrangers``, separate the values with |semicolon_space|. For
272272
example, ``beet modify genres="rock; pop"``.
273273

274+
For compatibility, ``modify`` still accepts legacy singular names such as
275+
``genre``, ``composer``, ``lyricist``, ``remixer``, and ``arranger`` when you
276+
assign values, but it will warn and translate them to the plural multi-valued
277+
fields. Prefer the plural field names in new commands.
278+
274279
The ``-a`` option changes to querying album fields instead of track fields and
275280
also enables to operate on albums in addition to the individual tracks. Without
276281
this flag, the command will only change *track-level* data, even if all the

0 commit comments

Comments
 (0)