12-05-2022, 01:53 PM | #976 |
Custom User Title
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: Would it be feasible to have an option to be able to copy and move actions between different chains?
|
12-05-2022, 04:18 PM | #977 |
Wizard
Posts: 1,090
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
No. It is not worth the effort and will end up being up ugly both in UI and code.
|
12-11-2022, 09:47 AM | #978 |
Custom User Title
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
A quick question that I forgot the answer for: Do conditionals check each book separately and run selectively on those, or does it just fail if any of the books don't match? If relevant, it's checking the value of a column.
|
12-11-2022, 11:41 AM | #979 |
Wizard
Posts: 1,090
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
They work on the currently selected book (The active row). If you want to check the value for all selected books, you can use the from_selection() function. For more on this, refer to the formulas action documentation.
Last edited by capink; 12-11-2022 at 11:44 AM. |
12-13-2022, 07:57 PM | #980 |
Member
Posts: 24
Karma: 10
Join Date: Aug 2021
Device: none
|
Hello, I have a few questions.
I'm setting up an action chain for simplified import, but there are a few actions I need in the chain which I can't find an option for. Firstly, is there an action to create a delay between steps? For example 3 seconds. Secondly, I need an action after some jobs to automatically accept a finished job before it moves on to the next action. Currently, the chain goes straight from finishing the extract ISBN job to metadata search without me having time to accept the new ISBN:s that have been found. So an action in between extract ISBN and metadata search to automatically accept the found ISBN values. Or, in general, an action that automatically clicks through/accepts jobs before moving on to the next action. I guess this would be required when I make a chain for automatic import from a folder, anyone who has done that? Lastly, are there any good general chains people tend to use that most probably would find useful? Like actions that can be run on everything for general clean-up or whatever? |
12-13-2022, 08:30 PM | #981 | |
Custom User Title
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
kiwidude's plugins (Count Pages and Extract ISBN) have options to automatically fill without confirmation. There's still the small risk that the next action will fire off in the split-second between the job finishing and the db write actually occuring, but it may help. |
|
12-13-2022, 08:42 PM | #982 | |
Member
Posts: 24
Karma: 10
Join Date: Aug 2021
Device: none
|
Quote:
|
|
12-14-2022, 01:21 PM | #983 | |
Custom User Title
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
1. Sets #percentread to 0. 2. Runs the Comments Cleaner plugin. (There's two plugins for this; you may prefer this one.) 3. Runs Extract ISBN. 4. Runs Count Pages. 5. Removes the [Cleanup] tag. Instead of sending books directly to device, I have a 'Send to Device' chain that also populates a few device-specific custom columns and then adds it to a custom reading list that syncs to device upon connect. |
|
12-18-2022, 09:35 AM | #984 |
Leftutti
Posts: 400
Karma: 1121267
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
Since the latest update I get these errors on my identifier-clean up action chain
Code:
calibre, version 6.10.0 FEHLER: Unbehandleter Fehler: Failed to read book data from calibre library. Click "Show details" for more information Traceback (most recent call last): File "calibre\gui2\library\models.py", line 624, in current_changed File "calibre\gui2\library\models.py", line 606, in get_book_display_info File "calibre\db\legacy.py", line 693, in get_metadata File "calibre\db\view.py", line 226, in index_to_id IndexError: tuple index out of range During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre\gui2\library\models.py", line 624, in current_changed File "calibre\gui2\library\models.py", line 606, in get_book_display_info File "calibre\db\legacy.py", line 693, in get_metadata File "calibre\db\view.py", line 226, in index_to_id IndexError: tuple index out of range |
12-18-2022, 09:49 AM | #985 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
12-18-2022, 09:55 AM | #986 |
Leftutti
Posts: 400
Karma: 1121267
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
I will live with it - thank you.
|
12-18-2022, 04:46 PM | #987 |
Custom User Title
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
When adding a new icon, 'from web domain favicon' with www.kobo.com fails.
Code:
calibre, version 6.10.0 ERROR: Unhandled exception: <b>NameError</b>:name 'urlretrieve' is not defined calibre 6.10* embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.10.1 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 2) && Action Chains (1, 18, 1) && Baen (1, 1, 0) && Barnes & Noble (1, 4, 0) && Comments Cleaner (1, 8, 0) && Count Pages (1, 12, 0) && Embed Comic Metadata (1, 6, 4) && EpubCheck (0, 2, 4) && EpubMerge (2, 15, 0) && EpubSplit (3, 5, 0) && Extract ISBN (1, 6, 0) && FanFicFare (4, 18, 0) && Fantastic Fiction (1, 6, 0) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 7) && Generate Cover (2, 3, 0) && GetFileName (0, 2, 0) && Goodreads (1, 7, 1) && Import List (1, 9, 0) && Job Spy (1, 0, 197) && Kindle hi-res covers (0, 5, 0) && KindleUnpack - The Plugin (0, 83, 1) && Kobo Books (1, 9, 2) && Kobo Utilities (2, 16, 6) && KoboTouchExtended (3, 6, 3) && Last Modified (0, 8, 4) && Manage Series (1, 5, 0) && Modify ePub (1, 8, 1) && MultiColumnSearch (1, 0, 95) && Obok DeDRM (7, 2, 1) && Open With (1, 8, 0) && Overdrive Link (2, 53, 0) && Quality Check (1, 13, 3) && Reading List (1, 14, 0) && Search The Internet (1, 10, 0) && SmartEject (2, 5, 0) && Standard Ebooks (1, 0, 0) && Sum Column (0, 3, 1) && View Manager (1, 10, 2) && Walk Search History (1, 5, 3) && Overdrive Link Metadata Source (2, 53, 0) Traceback (most recent call last): File "calibre_plugins.action_chains.gui.__init__", line 367, in ok_clicked NameError: name 'urlretrieve' is not defined |
12-18-2022, 05:45 PM | #988 |
Wizard
Posts: 1,090
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
Fixed for the next release.
|
12-27-2022, 05:11 AM | #989 |
Wizard
Posts: 1,090
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
Version 1.18.2
Version 1.18.1
|
12-27-2022, 07:58 PM | #990 |
Custom User Title
Posts: 8,622
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I've noticed there's a slight delay when running a single-action MDE chain (remove '[Cleanup]' from tags) that isn't present when editing directly.
I suspect this may have something to do with the recursion checks. While not a big issue, is this something easily fixable? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] Editor Chains | capink | Plugins | 82 | 04-02-2024 10:56 AM |
Action Chains Resources | capink | Plugins | 54 | 01-29-2024 11:24 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 |