Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-14-2026, 07:02 AM   #2086
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,816
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Reader4106 - There is a built in feature: Metadata Edit->Copy metadata/Paste metadata

Click image for larger version

Name:	calibre Edit metadata - Copy & Paste.jpg
Views:	32
Size:	36.5 KB
ID:	225154

Those shortcuts are my custom settings.

This Tweak can be used to control which fields do not get pasted.

Click image for larger version

Name:	calibre Edit metadata - Exclude fields.jpg
Views:	28
Size:	299.9 KB
ID:	225155

IIRC: when pasting, multiple books can be selected.

Added: The majority of calibre plugins that are published at MR have been developed by users who a) had a need for such a plugin, b) had the wherewithal to develop them… time, skills, etc, and c) were prepared to support the plugins they published.

In recent times users have been using AI (Claude, Gemini, etc) to create plugins, you might want to try that track.

BR

Last edited by BetterRed; 08-14-2026 at 07:08 AM.
BetterRed is online now   Reply With Quote
Old 08-14-2026, 10:26 AM   #2087
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,587
Karma: 5010535
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I created a couple plugins for my own use:
  • CopyToLibrary copies books to another library, overwriting any existing books (matched by identifiers:url); and,
  • OverwriteBook which overwrites formats and metadata from one book into another in the same library.
The point in both cases is to update/overwrite existing book(s) with new formats/metadata while preserving Calibre's uid/uuid. Neither are complete (no support for 'data files', for example) and cover only the use case I wanted.

I am not interested in polishing, publishing, and supporting these. But if somebody else wants to, they may.
JimmXinu is offline   Reply With Quote
Old 08-21-2026, 04:26 AM   #2088
Reader4106
Enthusiast
Reader4106 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
@BetterRed, @JimmXinu
Thank you for your reply, and please accept my apologies for the delayed response.

@BetterRed
I was aware of the suggested option, but I did not know that fields could be excluded. Since the data to be copied or pasted usually changes from one operation to the next, this approach isn't practical for me—especially when additional fields need to be excluded, as that requires restarting Calibre every time.

I have tried using AI to find solutions on other occasions. However, given my very limited aptitude for anything even remotely related to logic or programming, I have failed at much simpler tasks.
So, I will have to continue using individual copy-and-paste steps.

Thanks again for your efforts.
Reader4106 is offline   Reply With Quote
Old 08-21-2026, 05:50 AM   #2089
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,816
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Reader4106 View Post
@BetterRed, @JimmXinu
Thank you for your reply, and please accept my apologies for the delayed response.

@BetterRed
I was aware of the suggested option, but I did not know that fields could be excluded. Since the data to be copied or pasted usually changes from one operation to the next, this approach isn't practical for me—especially when additional fields need to be excluded, as that requires restarting Calibre every time.

I have tried using AI to find solutions on other occasions. However, given my very limited aptitude for anything even remotely related to logic or programming, I have failed at much simpler tasks.
So, I will have to continue using individual copy-and-paste steps.

Thanks again for your efforts.
When you do an Edit Metadata->Copy Metadata, all the metadata is copied to the clipboard, the Tweak comes to play when you paste.

So, the contents of the clipboard can be pasted into a text editor, from which it's easier to cherry pick - IMO:

Click image for larger version

Name:	Screenshot 2026-08-21 194755.jpg
Views:	27
Size:	524.2 KB
ID:	225296

BR
Attached Files
File Type: txt sample MDE copy to clipboard.txt (1.9 KB, 14 views)
BetterRed is online now   Reply With Quote
Old 08-30-2026, 09:11 AM   #2090
Auden69
Junior Member
Auden69 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2021
Device: Kobo
Hello everyone,

I'm currently developing a Calibre plugin based on an idea I wanted to run by this forum before going any further. I've already made good progress since it's already functional... but ultimately I'm wondering if it can really be useful.

My problem: I have epubs, a lot of them... really a lot. Several tens of thousands, and I have a really hard time retrieving the metadata because they're either poorly tagged, or the tags point to nothing... And quite often, for the same author there are variations in spelling/typography. Calibre's usual metadata providers (Goodreads, Amazon, OpenLibrary...) match on title/author, so they inherit the same problem: if the starting metadata is garbage, the search results are garbage too.

So, I created a system that identifies an epub by its "signature." It's the same principle as Shazam, but for epubs.

Right now I'm at the stage of filling my signature database. I just passed 28,000 work signatures. I say "works" because the fingerprint allows identifying the same book even from different editions. The preface can be completely different, and the book will still be recognized. To simplify, the signature is based on raw text taken from different segments of the book.

For now, the plugin sends info to the server via an API (this lets me fill the database after manual verification), lets you check if the book is found on the server, and updates its metadata in Calibre.

I've already made good progress (I have to say, Claude helps a lot) but I'm wondering if the base idea is good...

Do you think the idea is worth pursuing, or am I wasting my time?

I'm happy to answer any technical questions about the implementation.
Auden69 is offline   Reply With Quote
Old 08-30-2026, 12:32 PM   #2091
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,762
Karma: 153788055
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
This may not work well. A lot of eBooks get changed. Even very minor unnoticeable changes. So let's take Project Hail Mary, there are multiple versions of this book. The original has the original cover and another version has a movie cover and there could be other versions.. Also, if anyone makes any chances other then just removing the DRM, and removing DRM can be an issue. There removing watermarks as an option or not you then have a lot more useless signatures. I can see many people creating signatures from eBook they’ve illegally downloaded or calibre made changes to such as updating the metadata.

This can lead to one huge database.

Last edited by JSWolf; 08-30-2026 at 12:35 PM.
JSWolf is offline   Reply With Quote
Old 08-31-2026, 02:06 PM   #2092
Auden69
Junior Member
Auden69 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2021
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
This can lead to one huge database.

That's a fair concern, and it's exactly the failure mode a naive "one big signature database" would run into — but it's avoidable if the matching isn't trying to unify every variant into a single signature.

The key distinction: instead of crowd-sourcing signatures from arbitrary downloaded copies (DRM-stripped, re-watermarked, metadata-edited — all producing different hashes for what's "the same" book), the approach that actually works is:

Exact hash match only for byte-identical (or near-identical, post-normalization) text. If two copies differ — even slightly — they simply don't match on this tier. No attempt to force a match.
Fuzzy/MinHash matching as a fallback, tolerant of small variations (OCR noise, minor re-formatting), but gated by a sanity check (e.g. title/metadata similarity) before ever merging two records — so two different books that happen to have similar text structure don't get silently conflated.
Multiple editions are treated as legitimate, not deduplicated away. A different ISBN with different formatting is just another edition of the same work, not evidence of a "new signature" to add to some giant flat table. The system links editions to a canonical work rather than collapsing everything into one signature per file.
So the "one huge, useless database" outcome mostly comes from treating every hash as if it needs its own permanent record and matching against everything indiscriminately. If instead you scope the fingerprint matching to "does this look like a specific expected book," rather than "let's build a universal signature registry," the DRM-removal/watermark/metadata-edit noise mostly stays irrelevant — those variants just fail to match anything and get treated as a new edition, not as pollution in a shared signature pool.
Auden69 is offline   Reply With Quote
Old Today, 01:59 PM   #2093
akasdh
Junior Member
akasdh began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2026
Device: iPad Pro 12.9 Inch M4
There are now AI tools capable of a much higher quality conversion of EPUB to PDF and PDF to EPUB (with MD as a step in between) available outside of Calibre.

Is anyone building a plugin to enable this in Calibre for us not so tech savvy users?
akasdh is offline   Reply With Quote
Old Today, 02:20 PM   #2094
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,762
Karma: 153788055
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by akasdh View Post
There are now AI tools capable of a much higher quality conversion of EPUB to PDF and PDF to EPUB (with MD as a step in between) available outside of Calibre.

Is anyone building a plugin to enable this in Calibre for us not so tech savvy users?
Which AI? Are they free or do you have to pay?
JSWolf is offline   Reply With Quote
Reply

Tags
calibre, chatbot, cover, epub fix, epub-fix, google books, kindle, metadata calibre title, missing, pdf, pdf and calibre, plugin development, scribe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-505 Any ideas what this might be? Neupy Sony Reader 4 07-03-2012 07:19 AM
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 12:11 PM
Ideas? mike_bike_kite Which one should I buy? 10 06-13-2010 03:37 PM
Ideas F1Wild Amazon Kindle 4 07-10-2009 06:01 AM


All times are GMT -4. The time now is 06:01 PM.


MobileRead.com is a privately owned, operated and funded community.