mirror of
https://github.com/beetbox/beets.git
synced 2026-07-16 11:47:54 -04:00
Send a plugin event when a file is copied.
I use this event in a plugin that needs to know which file outside the library an item was copied from during import.
This commit is contained in:
@@ -124,6 +124,9 @@ currently available are:
|
||||
command finishes adding an album to the library. Parameters: ``lib``,
|
||||
``album``
|
||||
|
||||
* *item_copied*: called with an ``Item`` object whenever its file is copied.
|
||||
Parameters: ``item``, ``source`` path, ``destination`` path
|
||||
|
||||
* *item_imported*: called with an ``Item`` object every time the importer adds a
|
||||
singleton to the library (not called for full-album imports). Parameters:
|
||||
``lib``, ``item``
|
||||
|
||||
Reference in New Issue
Block a user