mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Fix #2537: keyfinder uses imported_items()
This commit is contained in:
parent
e8190b5c1a
commit
f1d5c2f398
2 changed files with 3 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class KeyFinderPlugin(BeetsPlugin):
|
|||
self.find_key(lib.items(ui.decargs(args)), write=ui.should_write())
|
||||
|
||||
def imported(self, session, task):
|
||||
self.find_key(task.items)
|
||||
self.find_key(task.imported_items())
|
||||
|
||||
def find_key(self, items, write=False):
|
||||
overwrite = self.config['overwrite'].get(bool)
|
||||
|
|
|
|||
|
|
@ -103,6 +103,8 @@ Fixes:
|
|||
to which a track belongs, not the total number of different mediums present
|
||||
on the release. :bug:`2887`
|
||||
Thanks to :user:`dbogdanov`.
|
||||
* :doc:`/plugins/keyfinder`: Avoid a crash when trying to process unmatched
|
||||
tracks. :bug:`2537`
|
||||
|
||||
|
||||
For developers:
|
||||
|
|
|
|||
Loading…
Reference in a new issue