Using the Event Manager, is it possible to execute a chain after running the FanFicFare plugin?
I checked my Jobs list after running FanFicFare and it produces a download and a convert action. I think that if it could be checked that these two actions are executed, then it could trigger the chain execution.
I am trying to use
capink's post on the module editor:
Quote:
Here is an example of how to add extra events using the plugin's module editor, you do it by returning the signal associated with the event.
Code:
from calibre_plugins.action_chains.events import ChainEvent
class SearchChanged(ChainEvent):
# replace with the name of your event
name = 'Search Changed'
def get_event_signal(self):
return self.gui.search.changed
|
Where can I find the events "book downloaded" and "book converted"? And should both events simply be listed one after the other instead of
Code:
return self.gui.search.changed
or is something need to say "and"?
Thank you!
EDIT:
The "Books Added" event works for this purpose. I had seen there was a wait time but I had not realised how long it was and I did not waited long enough for the action to be triggered.