mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
thumbnails: add "auto" config option
default: True
This commit is contained in:
parent
e8370044c9
commit
a39ab5163f
2 changed files with 3 additions and 1 deletions
|
|
@ -111,3 +111,4 @@ match:
|
|||
|
||||
thumbnails:
|
||||
force: no
|
||||
auto: yes
|
||||
|
|
|
|||
|
|
@ -45,11 +45,12 @@ class ThumbnailsPlugin(BeetsPlugin):
|
|||
def __init__(self):
|
||||
super(ThumbnailsPlugin, self).__init__()
|
||||
self.config.add({
|
||||
'auto': True,
|
||||
'force': False,
|
||||
})
|
||||
|
||||
self.write_metadata = None
|
||||
if self._check_local_ok():
|
||||
if self.config['auto'] and self._check_local_ok():
|
||||
self.register_listener('album_imported', self.imported)
|
||||
|
||||
def commands(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue