Debian Codegraph @

docs/plugins/beatport.rst

raw
1 Beatport Plugin
2 ===============
3
4 .. deprecated:: 2.8
5
6 Beatport retired the API this plugin relies on. See :bug:`3862` and
7 :bug:`4477`.
8
9 The ``beatport`` plugin adds support for querying the Beatport_ catalogue during
10 the autotagging process. This can potentially be helpful for users whose
11 collection includes a lot of diverse electronic music releases, for which both
12 MusicBrainz and (to a lesser degree) Discogs_ show no matches.
13
14 .. _discogs: https://discogs.com
15
16 Installation
17 ------------
18
19 To use the ``beatport`` plugin, first enable it in your configuration (see
20 :ref:`using-plugins`). Then, install ``beets`` with ``beatport`` extra
21
22 .. code-block:: bash
23
24 pip install "beets[beatport]"
25
26 You will also need to register for a Beatport_ account. The first time you run
27 the :ref:`import-cmd` command after enabling the plugin, it will ask you to
28 authorize with Beatport by visiting the site in a browser. On the site you will
29 be asked to enter your username and password to authorize beets to query the
30 Beatport API. You will then be displayed with a single line of text that you
31 should paste as a whole into your terminal. This will store the authentication
32 data for subsequent runs and you will not be required to repeat the above steps.
33
34 Matches from Beatport should now show up alongside matches from MusicBrainz and
35 other sources.
36
37 If you have a Beatport ID or a URL for a release or track you want to tag, you
38 can just enter one of the two at the "enter Id" prompt in the importer. You can
39 also search for an id like so:
40
41 ::
42
43 beet import path/to/music/library --search-id id
44
45 Configuration
46 -------------
47
48 This plugin can be configured like other metadata source plugins as described in
49 :ref:`metadata-source-plugin-configuration`.
50
51 .. _beatport: https://www.beatport.com/