| 1 |
FtInTitle Plugin |
| 2 |
================ |
| 3 |
|
| 4 |
The ``ftintitle`` plugin automatically moves "featured" artists from the |
| 5 |
``artist`` field to the ``title`` field. |
| 6 |
|
| 7 |
According to `MusicBrainz style`_, featured artists are part of the artist |
| 8 |
field. That means that, if you tag your music using MusicBrainz, you'll have |
| 9 |
tracks in your library like "Tellin' Me Things" by the artist "Blakroc feat. |
| 10 |
RZA". If you prefer to tag this as "Tellin' Me Things feat. RZA" by "Blakroc", |
| 11 |
then this plugin is for you. |
| 12 |
|
| 13 |
To use the ``ftintitle`` plugin, enable it in your configuration (see |
| 14 |
:ref:`using-plugins`). |
| 15 |
|
| 16 |
Configuration |
| 17 |
------------- |
| 18 |
|
| 19 |
To configure the plugin, make a ``ftintitle:`` section in your configuration |
| 20 |
file. The available options are: |
| 21 |
|
| 22 |
- **auto**: Enable metadata rewriting during import and when fetched metadata is |
| 23 |
later applied by commands such as ``mbsync``. Default: ``yes``. |
| 24 |
- **drop**: Remove featured artists entirely instead of adding them to the title |
| 25 |
field. Default: ``no``. |
| 26 |
- **format**: Defines the format for the featuring X part of the new title |
| 27 |
field. In this format the ``{0}`` is used to define where the featured artists |
| 28 |
are placed. Default: ``feat. {0}`` |
| 29 |
- **keep_in_artist**: Keep the featuring X part in the artist field. This can be |
| 30 |
useful if you still want to be able to search for features in the artist |
| 31 |
field. Default: ``no``. |
| 32 |
- **preserve_album_artist**: If the artist and the album artist are the same, |
| 33 |
skip the ftintitle processing. Default: ``yes``. |
| 34 |
- **custom_words**: List of additional words that will be treated as a marker |
| 35 |
for artist features. Default: ``[]``. |
| 36 |
- **bracket_keywords**: Controls where the featuring text is inserted when the |
| 37 |
title includes bracketed qualifiers such as ``(Remix)`` or ``[Live]``. |
| 38 |
FtInTitle inserts the new text before the first bracket whose contents match |
| 39 |
any of these keywords. Supply a list of words to fine-tune the behavior or set |
| 40 |
the list to ``[]`` to match *any* bracket regardless of its contents. Default: |
| 41 |
|
| 42 |
:: |
| 43 |
|
| 44 |
["abridged", "acapella", "club", "demo", "edit", "edition", "extended", |
| 45 |
"instrumental", "live", "mix", "radio", "release", "remaster", |
| 46 |
"remastered", "remix", "rmx", "unabridged", "unreleased", |
| 47 |
"version", "vip"] |
| 48 |
|
| 49 |
Path Template Values |
| 50 |
-------------------- |
| 51 |
|
| 52 |
This plugin provides the ``album_artist_no_feat`` :ref:`template value |
| 53 |
<templ_plugins>` that you can use in your :ref:`path-format-config` in |
| 54 |
``paths.default``. Any ``custom_words`` in the configuration are taken into |
| 55 |
account. |
| 56 |
|
| 57 |
Running Manually |
| 58 |
---------------- |
| 59 |
|
| 60 |
From the command line, type: |
| 61 |
|
| 62 |
:: |
| 63 |
|
| 64 |
$ beet ftintitle [QUERY] |
| 65 |
|
| 66 |
The query is optional; if it's left off, the transformation will be applied to |
| 67 |
your entire collection. |
| 68 |
|
| 69 |
Use the ``-d`` flag to remove featured artists (equivalent of the ``drop`` |
| 70 |
config option). |
| 71 |
|
| 72 |
.. _musicbrainz style: https://musicbrainz.org/doc/Style |