-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Action Chains integration #1073
Comments
This appears to be possible. I've started a discussion over on the MobileRead FFF plugin thread about the details. I know there are some Action Chains users over there. |
Thank you very much
…On Tue, 28 May 2024, 16:19 Jim Miller, ***@***.***> wrote:
This appears to be possible.
I've started a discussion over on the MobileRead FFF plugin thread
<https://www.mobileread.com/forums/showthread.php?p=4427304#post4427304>
about the details. I know there are some Action Chains users over there.
—
Reply to this email directly, view it on GitHub
<#1073 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIXFLBEUVOHEIZ4R6E4R2YLZESG6RAVCNFSM6AAAAABII4PRJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGMZTMOJUGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I've posted a test version of the plugin in the usual place. The FFF plugin has a signal it will emit after the "proceed with updating your library" dialog. The code for the Action Chains Module I tested with is:
All I've done with it is call a chain that printed 'HERE!'. |
Thx for the quick response. I am currently on holiday, so it will be a week
before I can check it out
…On Wed, 29 May 2024, 05:01 Jim Miller, ***@***.***> wrote:
I've posted a test version of the plugin in the usual place
<https://www.mobileread.com/forums/showthread.php?p=3084025&postcount=2>.
The FFF plugin has a signal it will emit after the "proceed with updating
your library" dialog.
The code for the Action Chains Module I tested with is:
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
All I've done with it is call a chain that printed 'HERE!'.
—
Reply to this email directly, view it on GitHub
<#1073 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIXFLBCSTMUFFFVIE72ZNHTZEVAKPAVCNFSM6AAAAABII4PRJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGQZDSMZYGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi Jim,
I tested it by now and it works fine for me.
In addidtion to what you did, you have to make sure, fff marks the books
after download.
then you add a selection modifier to the chain at the start (in action
chains) with:
new search: marked:fff_success
and "Select all books in current Library / view"
to test I just added a Single Field Edit to the chain to add a tag.
this results in adding a tag automatically to all successfully downloaded
books
I normally do a bit more but that was plenty to check the functionality of
it
thank you very much for including this
regards Thorsten
…On Wed, 29 May 2024 at 05:01, Jim Miller ***@***.***> wrote:
I've posted a test version of the plugin in the usual place
<https://www.mobileread.com/forums/showthread.php?p=3084025&postcount=2>.
The FFF plugin has a signal it will emit after the "proceed with updating
your library" dialog.
The code for the Action Chains Module I tested with is:
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
All I've done with it is call a chain that printed 'HERE!'.
—
Reply to this email directly, view it on GitHub
<#1073 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIXFLBCSTMUFFFVIE72ZNHTZEVAKPAVCNFSM6AAAAABII4PRJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGQZDSMZYGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello,
it would be really great, if you could add an option to start the calibre plugin "Action Chains" for the downloaded or updated books.
This would automate task I perform after downloading
The text was updated successfully, but these errors were encountered: