12-12-2023, 01:58 AM | #1 |
Enthusiast
Posts: 31
Karma: 63058
Join Date: Feb 2012
Device: Kobo Aura One
|
[GUI Plugin] GR Author Notes
Edit 01/13/24:
Edit 12/18/23:
Edit: Updated plugin to manually load the dependencies directly from the zip file without using pip. With the notes feature in Calibre 7, I thought of a new plugin that I knew I would want, so I wrote it and am sharing it here. This plugin pulls author information from GoodReads and writes it to the author note. Everything is organized in a table (see example below) and the background color, border color, and text color can be changed in the plugin configuration. It defaults to the colors shown in the example image. Currently, it uses a Goodreads function that is also used by Calibre to "guess/search" the author page. This is almost always correct, but if you have an author where a more well-known author has the same name as the author of your book. For example, if you have books by South African novelist Peter Abrahams, Goodreads will return American mystery writer Peter Abrahams instead. If the author isn't found or if the author exists in Goodreads, but has no biography information, they will be skipped. Please let me know if you find this useful or have any suggestions. Example: Interface: Configuration: Last edited by azuravian; 01-13-2024 at 01:43 AM. |
12-12-2023, 02:31 AM | #2 |
want to learn what I want
Posts: 1,254
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Wheee! Amazing plugin. Just tested it on a book with multiple authors (actually the author plus two translators, from the time when I didn't have a dedicated translator column), and it processed all three smoothly:
|
Advert | |
|
12-12-2023, 03:38 AM | #3 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Thank you, I'll check it this evening.
|
12-12-2023, 07:42 AM | #4 |
Grand Sorcerer
Posts: 12,029
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@azuravian: I can put this plugin in the "Index of plugins" if & when you are ready for that. The index will link to this thread. Once in that index your plugin will be offered by calibre's plugin install/update mechanism, which offers the zip file in the first post of the thread. It is up to you to change the attachment when you make a new version.
I will need the summary info text you want in the index. If you want donations then I also need the appropriate link. |
12-12-2023, 03:16 PM | #5 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I'm getting this error after installing the plugin:
Spoiler:
I guess something is missing in my installation. |
Advert | |
|
12-12-2023, 11:48 PM | #6 |
Enthusiast
Posts: 31
Karma: 63058
Join Date: Feb 2012
Device: Kobo Aura One
|
Exit status 9009 refers to a bad path. Looking at the specified path, it appears that you have Calibre installed in a portable install and to a path with a space in the name. I've made a change that might work. I'll attach it to this post. Let me know if it works for you.
|
12-13-2023, 01:17 AM | #7 | |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
12-13-2023, 01:41 AM | #8 |
Enthusiast
Posts: 31
Karma: 63058
Join Date: Feb 2012
Device: Kobo Aura One
|
|
12-13-2023, 01:50 AM | #9 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I'll try to test with another library and I'll be back to you.... as the space is in the root folder for all my libraries
|
12-14-2023, 04:30 PM | #10 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I'm getting the same error because that is not the library... but the configuration folder (and to change that is complicated).
|
12-14-2023, 04:41 PM | #11 | |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
12-14-2023, 05:24 PM | #12 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
At install time, the plugin does not provide the option to add itself to a toolbar or menu as other GUI plugins do, nor does it appear the Available actions list in Toolbars and Menus.
If I try to Configure it in Plugins I get a "You need to restart calibre" message irrespective that I have restarted calibre multiple times, and it's still there after an overnight Windows shutdown and early morning fresh start. BR |
12-14-2023, 05:31 PM | #13 | |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
That's my problem too, and it means that it isn't proper installed. I guess if you start calibre in debug mode you'll see a message like mine. |
|
12-14-2023, 05:39 PM | #14 | |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Maybe Comfy can tell us how he made it work… hint: running from source? BR |
|
12-14-2023, 07:06 PM | #15 | |
want to learn what I want
Posts: 1,254
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
Quote:
This, on 7.1 stable (not running from source) |
|
Tags |
author, calibre 7, goodreads, notes, plugin |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Author Book Count Hierarchy | DaltonST | Plugins | 60 | 04-15-2023 03:38 PM |
[GUI Plugin] Author Book Count | DaltonST | Plugins | 55 | 10-20-2022 12:59 PM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 04:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
[GUI Plugin] Sony PRS-T1 notes (handwriting) exporter | sjvs | Plugins | 24 | 09-27-2012 11:28 AM |