View Single Post
Old 07-01-2024, 11:31 AM   #65
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by tkshorty View Post
This module was not created by me but by the creator of FanFicFare. Just wanted to share it
https://www.mobileread.com/forums/sh...postcount=9637
The FFF plugin has a signal it will emit after the "proceed with updating your library" dialog.

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
That's interesting. I added it to the index in the first post. Although this can be automatically available for users of FFF plugin, if this code is copied into a file called action_chains.py in the root folder of the FFF plugin.
capink is offline   Reply With Quote