diff --git a/beetsplug/lastimport.py b/beetsplug/lastimport.py index 38b5bfc10..29560b7f2 100644 --- a/beetsplug/lastimport.py +++ b/beetsplug/lastimport.py @@ -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({ diff --git a/docs/changelog.rst b/docs/changelog.rst index c23597285..99ed6d99b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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