mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 13:07:09 +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())
|
self.find_key(lib.items(ui.decargs(args)), write=ui.should_write())
|
||||||
|
|
||||||
def imported(self, session, task):
|
def imported(self, session, task):
|
||||||
self.find_key(task.items)
|
self.find_key(task.imported_items())
|
||||||
|
|
||||||
def find_key(self, items, write=False):
|
def find_key(self, items, write=False):
|
||||||
overwrite = self.config['overwrite'].get(bool)
|
overwrite = self.config['overwrite'].get(bool)
|
||||||
|
|
|
||||||
|
|
@ -103,6 +103,8 @@ Fixes:
|
||||||
to which a track belongs, not the total number of different mediums present
|
to which a track belongs, not the total number of different mediums present
|
||||||
on the release. :bug:`2887`
|
on the release. :bug:`2887`
|
||||||
Thanks to :user:`dbogdanov`.
|
Thanks to :user:`dbogdanov`.
|
||||||
|
* :doc:`/plugins/keyfinder`: Avoid a crash when trying to process unmatched
|
||||||
|
tracks. :bug:`2537`
|
||||||
|
|
||||||
|
|
||||||
For developers:
|
For developers:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue