Debian Codegraph @

docs/plugins/keyfinder.rst

raw
1 Key Finder Plugin
2 =================
3
4 The ``keyfinder`` plugin uses either the KeyFinder_ or keyfinder-cli_ program to
5 detect the musical key of a track from its audio data and store it in the
6 ``initial_key`` field of your database. It does so automatically when importing
7 music or through the ``beet keyfinder [QUERY]`` command.
8
9 To use the ``keyfinder`` plugin, enable it in your configuration (see
10 :ref:`using-plugins`).
11
12 Configuration
13 -------------
14
15 To configure the plugin, make a ``keyfinder:`` section in your configuration
16 file. The available options are:
17
18 - **auto**: Analyze every file on import. Otherwise, you need to use the ``beet
19 keyfinder`` command explicitly. Default: ``yes``
20 - **bin**: The name of the program use for key analysis. You can use either
21 KeyFinder_ or keyfinder-cli_. If you installed the KeyFinder GUI on a Mac, for
22 example, you want something like
23 ``/Applications/KeyFinder.app/Contents/MacOS/KeyFinder``. If using
24 keyfinder-cli_, the binary must be named ``keyfinder-cli``. Default:
25 ``KeyFinder`` (i.e., search for the program in your ``$PATH``)..
26 - **overwrite**: Calculate a key even for files that already have an
27 ``initial_key`` value. Default: ``no``.
28
29 .. _keyfinder: https://www.ibrahimshaath.co.uk/keyfinder/
30
31 .. _keyfinder-cli: https://github.com/EvanPurkhiser/keyfinder-cli/