mirror of
https://github.com/beetbox/beets.git
synced 2026-07-16 11:47:54 -04:00
Add before_item_moved event
This event gets called just before `util.move` with the same arguments as the `item_moved` event.
This commit is contained in:
@@ -133,6 +133,9 @@ currently available are:
|
||||
singleton to the library (not called for full-album imports). Parameters:
|
||||
``lib``, ``item``
|
||||
|
||||
* *before_item_moved*: called with an ``Item`` object immediately before its
|
||||
file is moved. Parameters: ``item``, ``source`` path, ``destination`` path
|
||||
|
||||
* *item_moved*: called with an ``Item`` object whenever its file is moved.
|
||||
Parameters: ``item``, ``source`` path, ``destination`` path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user