![]() |
#661 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Quote:
Quote:
The solution for this would be for someone to write a custom non-interactive save-to-disk action. |
|||
![]() |
![]() |
![]() |
#662 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2021
Device: samsung s8
|
Quote:
![]() Would you give me some entry points for this? I'm not a big Python guru, but would like to try. |
|
![]() |
![]() |
![]() |
#663 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also, a lot of things change the Calibre library. So I suspect it might trigger at unexpected times.
|
![]() |
![]() |
![]() |
#664 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2021
Device: samsung s8
|
|
![]() |
![]() |
![]() |
#665 |
Connoisseur
![]() Posts: 52
Karma: 10
Join Date: May 2014
Device: None
|
Is there a way to say select next X number of books?
|
![]() |
![]() |
![]() |
#666 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
|
![]() |
![]() |
![]() |
#668 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 897
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Thanks for the Action Chain Scripts thread.
Do not comment there so as not to interfere with the loading of examples, great work |
![]() |
![]() |
![]() |
#669 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
|
![]() |
![]() |
![]() |
#670 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2013
Device: pocketbook 623
|
Hello,
How can I build a non-interactive save-to-disk action (predefined format, folder, etc), but with different save template. For example: 1. {author_sort:.1}/{author_sort:shorten(30,(..),0)}/{series:||/}{series_index:0>4.1f|| - }{title} 2. {series}{series_index:0>4.1f|| - }{title} 3. {tags}/{author_sort}-{title} etc. |
![]() |
![]() |
![]() |
#671 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Last edited by capink; 09-02-2021 at 05:12 AM. |
|
![]() |
![]() |
![]() |
#672 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2013
Device: pocketbook 623
|
You are great. Thanks.
|
![]() |
![]() |
![]() |
#673 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,044
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: I have several cleanup chains that modify multiple columns in a row. Unfortunately Last Modified seems to trigger for all of them which causes a slight pause between each action; running the chain with my column turned off sped things up considerably.
Is there a way to alleviate this, such as making it trigger only on the last change? |
![]() |
![]() |
![]() |
#674 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Edit: As an alternative, I can make a custom action that toggles the Last Modified Plugin on and off. But this will also need a small modification to the Last Modified Plugin. Last edited by capink; 09-11-2021 at 08:43 AM. |
|
![]() |
![]() |
![]() |
#675 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@capink: a thought: you could solve this problem and probably increase performance by adding an action that scans the book variables and assigns values to metadata. It would look for variables that match metadata field names. If such a variable exists then set the field in the book to the value.
The advantage: you could set all the fields for a book in one operation (one set_field()), so in one database transaction. I don't know how this would affect triggering the last_modified events. My hope would be that they are triggered at most once per book. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Action Chains Resources | capink | Plugins | 78 | 08-05-2025 04:01 AM |
[Editor Plugin] Editor Chains | capink | Plugins | 106 | 06-17-2025 05:36 PM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |