mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 00:15:20 +01:00
Redact some API keys
This commit is contained in:
parent
22d5d34253
commit
e7bba32a44
2 changed files with 2 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ class AcoustidPlugin(plugins.BeetsPlugin):
|
|||
self.config.add({
|
||||
'auto': True,
|
||||
})
|
||||
config['acoustid']['apikey'].redact = True
|
||||
|
||||
if self.config['auto']:
|
||||
self.register_listener('import_task_start', self.fingerprint_task)
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ class LastImportPlugin(plugins.BeetsPlugin):
|
|||
'user': '',
|
||||
'api_key': '',
|
||||
})
|
||||
config['lastfm']['api_key'].redact = True
|
||||
self.config.add({
|
||||
'per_page': 500,
|
||||
'retry_limit': 3,
|
||||
|
|
|
|||
Loading…
Reference in a new issue