You will have to look in calibre code for signals associated with these events, and add them as action chains events.
As for import, if you are using something like Import List plugin, a better approach is to create a chain with Import List as the first action, followed by whatever actions you want after that. This cannot be done for adding books, as the action for adding books starts on a separate thread without blocking the main thread, which does not work with action chains sequential nature. Hence, it was removed.
|