mirror of
https://github.com/beetbox/beets.git
synced 2026-01-02 22:12:53 +01:00
run docstrfmt
This commit is contained in:
parent
014831b588
commit
279c828369
3 changed files with 14 additions and 13 deletions
|
|
@ -13,8 +13,8 @@ import re
|
|||
import warnings
|
||||
from typing import TYPE_CHECKING, Generic, Literal, Sequence, TypedDict, TypeVar
|
||||
|
||||
from typing_extensions import NotRequired
|
||||
import unidecode
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
from beets.util import cached_classproperty
|
||||
from beets.util.id_extractors import extract_release_id
|
||||
|
|
|
|||
|
|
@ -59,9 +59,8 @@ Bug fixes:
|
|||
10 seconds, rather than hanging the entire import process.
|
||||
- :doc:`/plugins/deezer`: Fix the issue with that every query to deezer was
|
||||
ascii encoded. This resulted in bad matches for queries that contained special
|
||||
e.g. non latin characters as 盗作. If you want to keep the legacy behavior
|
||||
set the config option ``deezer.search_query_ascii: yes``.
|
||||
:bug:`5860`
|
||||
e.g. non latin characters as 盗作. If you want to keep the legacy behavior set
|
||||
the config option ``deezer.search_query_ascii: yes``. :bug:`5860`
|
||||
|
||||
For packagers:
|
||||
|
||||
|
|
|
|||
|
|
@ -29,14 +29,16 @@ Configuration
|
|||
This plugin can be configured like other metadata source plugins as described in
|
||||
:ref:`metadata-source-plugin-configuration`.
|
||||
|
||||
The default options should work as-is, but there are some options you can put
|
||||
in config.yaml under the ``deezer:`` section:
|
||||
The default options should work as-is, but there are some options you can put in
|
||||
config.yaml under the ``deezer:`` section:
|
||||
|
||||
- **search_query_ascii**: If set to ``yes``, the search query will be converted to
|
||||
ASCII before being sent to Deezer. Converting searches to ASCII can
|
||||
enhance search results in some cases, but in general, it is not recommended.
|
||||
For instance `artist:deadmau5 album:4×4` will be converted to
|
||||
`artist:deadmau5 album:4x4` (notice `×!=x`).
|
||||
Default: ``no``.
|
||||
- **search_query_ascii**: If set to ``yes``, the search query will be converted
|
||||
to ASCII before being sent to Deezer. Converting searches to ASCII can enhance
|
||||
search results in some cases, but in general, it is not recommended. For
|
||||
instance ``artist:deadmau5 album:4×4`` will be converted to ``artist:deadmau5
|
||||
album:4x4`` (notice ``×!=x``). Default: ``no``.
|
||||
|
||||
The ``deezer`` plugin provides an additional command ``deezerupdate`` to update the ``rank`` information from Deezer. The ``rank`` (ranges from 0 to 1M) is a global indicator of a song's popularity on Deezer that is updated daily based on streams. The higher the ``rank``, the more popular the track is.
|
||||
The ``deezer`` plugin provides an additional command ``deezerupdate`` to update
|
||||
the ``rank`` information from Deezer. The ``rank`` (ranges from 0 to 1M) is a
|
||||
global indicator of a song's popularity on Deezer that is updated daily based on
|
||||
streams. The higher the ``rank``, the more popular the track is.
|
||||
|
|
|
|||
Loading…
Reference in a new issue