lyrics: Re-enable genius backend (#1770)

This commit is contained in:
Adrian Sampson 2016-01-06 14:29:51 -08:00
parent 5e3ca88d4b
commit 36ad0cf70d
3 changed files with 6 additions and 4 deletions

View file

@ -537,7 +537,7 @@ class Google(Backend):
class LyricsPlugin(plugins.BeetsPlugin): class LyricsPlugin(plugins.BeetsPlugin):
SOURCES = ['google', 'lyricwiki', 'lyrics.com', 'musixmatch'] SOURCES = ['google', 'lyricwiki', 'lyrics.com', 'musixmatch', 'genius']
SOURCE_BACKENDS = { SOURCE_BACKENDS = {
'google': Google, 'google': Google,
'lyricwiki': LyricsWiki, 'lyricwiki': LyricsWiki,

View file

@ -38,6 +38,7 @@ Fixes:
``warning_treshold``) but backwards compatibility is preserved until the next ``warning_treshold``) but backwards compatibility is preserved until the next
major version so ``warning_treshold`` will still work. Thanks to major version so ``warning_treshold`` will still work. Thanks to
:user:`JesseWeinstein`. :bug:`1802` :bug:`1803` :user:`JesseWeinstein`. :bug:`1802` :bug:`1803`
* :doc:`/plugins/lyrics`: The Genius backend has been re-enabled.

View file

@ -52,9 +52,10 @@ configuration file. The available options are:
sources known to be scrapeable. sources known to be scrapeable.
- **sources**: List of sources to search for lyrics. An asterisk ``*`` expands - **sources**: List of sources to search for lyrics. An asterisk ``*`` expands
to all available sources. to all available sources.
Default: ``google lyricwiki lyrics.com musixmatch``, i.e., all the Default: ``google lyricwiki lyrics.com musixmatch genius``, i.e., all
sources except for `genius`. The `google` source will be automatically sources.
deactivated if no ``google_API_key`` is setup. The `google` source will be automatically deactivated if no
``google_API_key`` is setup.
Here's an example of ``config.yaml``:: Here's an example of ``config.yaml``::