| 1 |
Deezer Plugin |
| 2 |
============= |
| 3 |
|
| 4 |
The ``deezer`` plugin provides metadata matches for the importer using the |
| 5 |
Deezer_ Album_ and Track_ APIs. |
| 6 |
|
| 7 |
.. _album: https://developers.deezer.com/api/album |
| 8 |
|
| 9 |
.. _deezer: https://www.deezer.com/en/ |
| 10 |
|
| 11 |
.. _track: https://developers.deezer.com/api/track |
| 12 |
|
| 13 |
Basic Usage |
| 14 |
----------- |
| 15 |
|
| 16 |
First, enable the ``deezer`` plugin (see :ref:`using-plugins`). |
| 17 |
|
| 18 |
You can enter the URL for an album or song on Deezer at the ``enter Id`` prompt |
| 19 |
during import: |
| 20 |
|
| 21 |
:: |
| 22 |
|
| 23 |
Enter search, enter Id, aBort, eDit, edit Candidates, plaY? i |
| 24 |
Enter release ID: https://www.deezer.com/en/album/572261 |
| 25 |
|
| 26 |
Configuration |
| 27 |
------------- |
| 28 |
|
| 29 |
This plugin can be configured like other metadata source plugins as described in |
| 30 |
:ref:`metadata-source-plugin-configuration`. |
| 31 |
|
| 32 |
Default |
| 33 |
~~~~~~~ |
| 34 |
|
| 35 |
.. code-block:: yaml |
| 36 |
|
| 37 |
deezer: |
| 38 |
search_query_ascii: no |
| 39 |
data_source_mismatch_penalty: 0.5 |
| 40 |
search_limit: 5 |
| 41 |
|
| 42 |
.. conf:: search_query_ascii |
| 43 |
:default: no |
| 44 |
|
| 45 |
If enabled, the search query will be converted to ASCII before being sent to |
| 46 |
Deezer. Converting searches to ASCII can enhance search results in some cases, |
| 47 |
but in general, it is not recommended. For instance, ``artist:deadmau5 |
| 48 |
album:4×4`` will be converted to ``artist:deadmau5 album:4x4`` (notice |
| 49 |
``×!=x``). |
| 50 |
|
| 51 |
.. include:: ./shared_metadata_source_config.rst |
| 52 |
|
| 53 |
Commands |
| 54 |
-------- |
| 55 |
|
| 56 |
The ``deezer`` plugin provides an additional command ``deezerupdate`` to update |
| 57 |
the ``rank`` information from Deezer. The ``rank`` (ranges from 0 to 1M) is a |
| 58 |
global indicator of a song's popularity on Deezer that is updated daily based on |
| 59 |
streams. The higher the ``rank``, the more popular the track is. |