Merge pull request #1868 from SJoshBrown/master

Use beets API key for lastimport plugin.
This commit is contained in:
Adrian Sampson 2016-02-05 23:20:38 -08:00
commit 33f03ebd3a
2 changed files with 3 additions and 1 deletions

View file

@ -32,7 +32,7 @@ class LastImportPlugin(plugins.BeetsPlugin):
super(LastImportPlugin, self).__init__()
config['lastfm'].add({
'user': '',
'api_key': '',
'api_key': plugins.LASTFM_KEY,
})
config['lastfm']['api_key'].redact = True
self.config.add({

View file

@ -62,6 +62,8 @@ Fixes:
* :doc:`/plugins/lyrics`: In a continuing saga, the Genius API we use is down
again, so it's been disabled by default *again*. We'll probably leave it
disabled this time.
* :doc:`/plugins/lastimport`: The plugin now works with the beets api key by
default. This can be overridden in the plugin config.
.. _beets.io: http://beets.io/
.. _Beetbox: https://github.com/beetbox