Debian Codegraph @

docs/plugins/mbcollection.rst

raw
1 MusicBrainz Collection Plugin
2 =============================
3
4 The ``mbcollection`` plugin lets you submit your catalog to MusicBrainz to
5 maintain your `music collection`_ list there.
6
7 .. _music collection: https://musicbrainz.org/doc/Collections
8
9 To begin, just enable the ``mbcollection`` plugin in your configuration (see
10 :ref:`using-plugins`). Then, add your MusicBrainz username and password to your
11 :doc:`configuration file </reference/config>` under a ``musicbrainz`` section:
12
13 ::
14
15 musicbrainz:
16 user: you
17 pass: seekrit
18
19 Then, use the ``beet mbupdate`` command to send your albums to MusicBrainz. The
20 command automatically adds all of your albums to the first collection it finds.
21 If you don't have a MusicBrainz collection yet, you may need to add one to your
22 profile first.
23
24 The command has one command-line option:
25
26 - To remove albums from the collection which are no longer present in the beets
27 database, use the ``-r`` (``--remove``) flag.
28
29 Configuration
30 -------------
31
32 To configure the plugin, make a ``mbcollection:`` section in your configuration
33 file. There is one option available:
34
35 - **auto**: Automatically amend your MusicBrainz collection whenever you import
36 a new album. Default: ``no``.
37 - **collection**: The MBID of which MusicBrainz collection to update. Default:
38 ``None``.
39 - **remove**: Remove albums from collections which are no longer present in the
40 beets database. Default: ``no``.