Quote:
Originally Posted by JimmXinu
That reminds me about something that could be helpful.
FFF actually uses different marks for successful, failed and chapter error, as well as for an updated/created anthology: - fff_success
- fff_failed
- fff_chapter_error
- fff_anthology
Technically, each book is marked with a sequence number like, "fff_success_0001" so that order is also preserved.
|
If I want the action chain to run for fff_success only, where would i put that? I just created the module you did labled here!
Code:
from calibre_plugins.action_chains.events import ChainEvent
class SearchChanged(ChainEvent):
# replace with the name of your event
name = 'FFF done'
def get_event_signal(self):
return self.gui.iactions['FanFicFare'].download_finished_signal
and then added a selection modifier for marked:fff for the "select all books in current library view" and then added some search and replace for a custom column that's basically a y/n for if I've sorted through the metadata.
Because the search and replace is more destructive, I only want it to be changed for a successful update, but not really sure how to do that. Would it be an event variable? I have that chain running under the event under "fanficfare download finished"