mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
Merge pull request #888 from lacasse/master
Add 'auto' option in acoustid(Fix #629)
This commit is contained in:
commit
4df38c8b86
2 changed files with 10 additions and 4 deletions
|
|
@ -181,9 +181,11 @@ def fingerprint_task(task, session):
|
|||
"""Fingerprint each item in the task for later use during the
|
||||
autotagging candidate search.
|
||||
"""
|
||||
items = task.items if task.is_album else [task.item]
|
||||
for item in items:
|
||||
acoustid_match(item.path)
|
||||
auto = config['acoustid']['auto']
|
||||
if auto:
|
||||
items = task.items if task.is_album else [task.item]
|
||||
for item in items:
|
||||
acoustid_match(item.path)
|
||||
|
||||
|
||||
@AcoustidPlugin.listen('import_task_apply')
|
||||
|
|
|
|||
|
|
@ -93,7 +93,11 @@ Using
|
|||
Once you have all the dependencies sorted out, you can enable fingerprinting by
|
||||
editing your :doc:`configuration file </reference/config>`. Put ``chroma`` on
|
||||
your ``plugins:`` line. With that, beets will use fingerprinting the next time
|
||||
you run ``beet import``.
|
||||
you run ``beet import``. This can be disabled by setting the ``auto`` option to
|
||||
false, like so::
|
||||
|
||||
acoustid:
|
||||
auto: no
|
||||
|
||||
You can also use the ``beet fingerprint`` command to generate fingerprints for
|
||||
items already in your library. (Provide a query to fingerprint a subset of your
|
||||
|
|
|
|||
Loading…
Reference in a new issue