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 04-28-2026, 02:49 PM   #556
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: 85,779
Karma: 154365285
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 kiwidude View Post
TBH I have severe doubts over how useful such a toggle would be - because it is completely and totally at the publisher's "whim" as to where the ISBN appears in the book. It could change between editions, different book series, absolutely between different publishers etc.

So then how do you know whether it is at front or back for an individual book - you have to open it up and look. At which point you may as well just copy/paste the value and use it directly instead of using what the plugin creates.

I understand what you are asking for, but in my experience it would have such extremely limited usage in the use cases where you could rely on it being correct that it just isn't worth adding to the plugin.
Look for keywords to be able to pull the ISBN. In the sample, it has the keyword ebook. I've also seem electronic version. I've also seen paperback and then nothing. This would help IMHO.
JSWolf is offline   Reply With Quote
Old 04-28-2026, 02:51 PM   #557
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 658
Karma: 3671119
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Maybe "fetch first ISBN" and "fetch last ISBN" menu entries, in cases where you know which one the publisher uses?
Better would be "fetch first of the last ISBN" cause of all the advertisements at the end nowadays.
Wiggo is offline   Reply With Quote
Old 04-28-2026, 03:17 PM   #558
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: 85,779
Karma: 154365285
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 Wiggo View Post
Better would be "fetch first of the last ISBN" cause of all the advertisements at the end nowadays.
I've seen a lot of eBooks with the eBook's ISBN as the last ISBN. So it could be either way.
JSWolf is offline   Reply With Quote
Old 06-13-2026, 04:22 PM   #559
ExtractMetadaten
Junior Member
ExtractMetadaten began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2026
Device: kindle
i like to steal your code, are there any rules?

i like to steal your code, are there any rules?

found this in your repo:
GNU General Public License v3.0

Last edited by ExtractMetadaten; 06-13-2026 at 04:26 PM. Reason: found repo
ExtractMetadaten is offline   Reply With Quote
Old 09-18-2026, 11:41 AM   #560
Shiesty_Apps
Junior Member
Shiesty_Apps began at the beginning.
 
Posts: 7
Karma: 26
Join Date: Sep 2026
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
I've seen a lot of eBooks with the eBook's ISBN as the last ISBN. So it could be either way.
Hey, so I was also searching for this functionality because I exclusively read ebooks. I have a few extensions that leverage ebook ISBNs in order to track my reading. So, what I did was I took this plugin and tweaked it a little bit.

Now it prioritizes ebook ISBNs. I tested it on about 50 books that I have on my bookshelf, and it seems to be working. So here it Is. It falls back to the original logic of if it can’t locate an ebook isbn. It leverages the original plugins base functionality, scanning, etc.

https://www.mobileread.com/forums/sh...d.php?t=375372
Shiesty_Apps is offline   Reply With Quote
Old 10-24-2026, 04:50 AM   #561
PiotrK
Member
PiotrK began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2016
Device: Kindle PW
Hi,

About multiple ISBNs:

1. Could this plugin at least warn/list/mark/etc ebooks with multiple ISBNs detected? Because otherwise it's hard to review/verify it. Or maybe in log display the text +1 line above/below, so it's easier to verify if the selected ISBN is correct without opening the book?

I know I can read the log, but that's not very convenient.


2. What's the algorithm for choosing ISBN? The fork from previous comment (@Shiesty_Apps) says "The original plugin generally returns the first valid ISBN it finds, which may be the hardcover ISBN.". But in my case it selected the second ISBN:

Quote:
ISBN 978-1-59780-105-8
E-ISBN 978-1-59780-238-3

3. A valid ISBN-13 was not detected (it was on page 2nd from last), instead ISBN10 was found (not sure from where, I could not see it in the bookl):
Quote:
ISBN 978-83-7574-856-7
I checked epub same as the log shows.

And another case where ISBN was not detected, in epub it was:
Quote:
ISBN 978-7480-593-3
The log says:
Quote:
Logfile for book ID 416 (Hyperion)
416
================================================== =
Title: Hyperion
Format: EPUB
Path: C:\Users\Piotr\Documents\Biblioteka\Dan Simmons\Hyperion (416)\Hyperion - Dan Simmons.epub
---------------------------------------------------
Scanning first 6, then last 4, then remaining 3 files
Scan time: 0.76 secs
================================================== =
Title: Hyperion
Format: MOBI
Path: C:\Users\Piotr\Documents\Biblioteka\Dan Simmons\Hyperion (416)\Hyperion - Dan Simmons.mobi
---------------------------------------------------
Scanning first 6, then last 4, then remaining 3 files
Scan time: 0.76 secs
The scan failed to find an isbn in 1.53 secs

Failed to extract ISBN
Interesting, the log for epub looks not finished?


4. In case you are interested in data, here are cases when it detected correct and incorrect ISBNs:

Cases where it selected wrong ISBN:

a) did not select e-ISBN (I assume it's a better match since it's an ebook)
Quote:
ISBN 978-3-319-98832-0 e-ISBN 978-3-319-98833-7
There were multiple such cases - IT books from Springer.

Quote:
ISBN 978-0-547-57248-2
eISBN 978-0-547-60120-5

b) did not select ePub or mobi
Quote:
ISBN 978-83-7773-322-6
ISBN 978-83-7773-432-2 (ePub)
ISBN 978-83-7773-433-9 (mobi)
Cases where it selected correct ISBN:

a) selected first - I guess both are correct (I have both epub and mobi versions under single Calibre entry)
Quote:
ISBN: 978-832-681-579-9 (epub)
ISBN: 978-832-681-580-5 (mobi)
Quote:
ISBN: ePub 978-83-7853-010-7
ISBN: Mobi 978-83-7853-011-4
Quote:
ISBN: ePub: 978-83-283-1399-6, Mobi: 978-83-283-1400-9
b) somehow the second (correct) ISBN was selected. The copyright is a mess so I'm attaching for reference
Quote:
FIRST EDITION
Library of Congress Cataloging-in-Publication Data
Toro, Guillermo del, 1964–
The fall / Guillermo del Toro and Chuck Hogan.
p.***cm.—(The strain trilogy; bk. 2)
ISBN 978-0-06-155822-1 (hardcover)

1. Vampires—Fiction. I. Hogan, Chuck. II. Title.
PS3620.O5875F35 ** 2010
813’.6—dc22

2010007140
ePub Edition © August 2010 ISBN: 978-0-06-201159-6

Last edited by PiotrK; 10-24-2026 at 06:50 AM.
PiotrK is offline   Reply With Quote
Old 10-24-2026, 08:26 AM   #562
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 32,060
Karma: 65709392
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Code:
And another case where ISBN was not detected, in epub it was:
Quote:
ISBN 978-7480-593-3
Not valid:

978 and 979 are always 13 digits (standard EAN length)
( I am a bit stale, but IIRC 978 and 979 were language en. that may have changed as the world went digital )

Just like ISBN(10) is always 10 characters (the last character can be an X, all the rest must be numbers) the last character is a check digit: Mod11, thus a 10 is possible,represented by by the 'X'
dashes do not count and were in the original ISBN for eyeball parsing.
Language_code_number-Publisher-Book_Number-check_digit

FWIW Barcode ranges are assigned to publishers (not free), not down to the book numbers. If some 'publishing' is like what happened with Grocery store items , Many China items around 2000 came with faked (not theirs to use or made up) UPC codes.
No 2 items can have the same code. UPC starting with 2 are special, for in store use only.
Look at the label for custom packaged i(weight or count) tem (Deli/Bakery..) The first is part is the Item Meatname, The last part is the actual weight, price or count. The cash register looks up the first part (2xxxx) and that is the products name, and how to treat the second part. Is it weight or count or total price, and does the needed math.
So back to those you thought were 'valid', some were not. Some may have broken some other rule. Or simply included added, not required, info like e-ISBN

[a bit of history]
Older paper books had 2 barcodes to satisfy Retailers. The 'Walmarts' of the world, wanted simple. So the back cover UPC barcode was Vendor+price and optional supplemental .
The register saw Publisher (book shelf Jobber) and the price. No daily price-list maintenance needed. The office got a list of what they sold/owed the jobber for)
OTOH the bookseller wanted precise inventory, so on the back inside flap the printed EAN and the isbn 13 (and optional supplemental).
Before Bar codes, Publisher printed (text) ISBN #-#-#######-# on the inside flap for the bookseller to note for possible re-order
Other than the raw numbers, there is no other placement rule (or limit of alternate). So Some books may have 'catalogs' of other books ISBN (or catalog number) included to make it easy for you to ORDER THEM (Been that way for almost a Century.)

So, unless there is exact wording AND no other similar codes, A fool proof auto detect is not possible. Personally, I would rather have NO ISBN recorded, than a (really) wrong
one.
Except for when I started and inputted my Paper Library Metadata, it takes me a few minutes to review-correct-add/move metadata for the new entries ( right-click: Sort: date if your Library had other sort active). THE MDE window even allows you to double-click the format to view the book so you can see/copy the needed data and put it in its proper place)
theducks is offline   Reply With Quote
Old 10-26-2026, 05:19 AM   #563
PiotrK
Member
PiotrK began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2016
Device: Kindle PW
Quote:
Originally Posted by theducks View Post
Not valid:

978 and 979 are always 13 digits (standard EAN length)
I see, OK. Maybe publisher did something wrong, or missprint. The interesting thing is I bought it ~1 week ago from https://www.swiatksiazki.pl/hyperion...6-ksiazka.html. Both epub and mobi files have the same "ISBN" number.

Other sellers also sell the ebook with the same "ISBN", e.g. https://www.legimi.pl/ebook-hyperion...s,b117142.html, https://ebookpoint.pl/ksiazki/hyperi...w.htm#format/e

I could not find the ebook version on the MAG publisher site, they have only paper versions, e.g. https://www.mag-sklep.pl/pl/p/HYPERION-1064/1295

Quote:
Except for when I started and inputted my Paper Library Metadata, it takes me a few minutes to review-correct-add/move metadata for the new entries ( right-click: Sort: date if your Library had other sort active). THE MDE window even allows you to double-click the format to view the book so you can see/copy the needed data and put it in its proper place)
The newly imported ebooks have correct ISBN.
I was using your plugin because I had some old ebook that had wrong ISBN because I imported metadata using some other plugin from internet (like from Google Books or in my case from LubimyCzytac website) and it imported incorrect ISBN.

I've now fixed all ISBNs I think...
PiotrK is offline   Reply With Quote
Old 10-31-2026, 01:45 AM   #564
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,877
Karma: 2220332
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Extract ISBN release

Release Notes:
https://github.com/kiwidude68/calibr...act_isbn-1.6.7

Updated translations.

@PiotrK - the topic has been done to death over the years on ways picking an ISBN out of a book can fail. This isn't a plugin I personally use because I know the futility (and I also very rarely care what ISBN is recorded for my books). I developed it many years ago purely to automate something many were doing manually with scripts at the time.

Could it be rewritten to try to present all the ISBNs found when multiple and ask the user to choose which one etc? Sure. Will I ever do it? No! The user would have to get shown a list of numbers for each book, and then proceeds to have to google each of them to figure out which one is the book they are after. It would be painful.

*If* the user had trustworthy metadata for the book you could *maybe* try to iterate through and see which ISBNs match this book. But only if you can find a website willing to let you scrape from them which is increasingly hard to do, and of course it would be horribly slow and require updating every time the site you scrape from changes. They would have to step through each book if they have scanned in bulk, it gets very complicated and messy quickly.

It all just falls into the too hard basket for a problem I don't feel the need to attempt to solve. There are a subset of books in the world where it "works" to keep some people happy, and many more where it won't and no amount of bandaids and "formulas" people think they can put on top of it will fix that. People are hoping for structure from unstructured data. Publishers will advertise other books in their books - trying to make any rules about ebook editions or whatever is just putting lipstick on a pig imo. The "right" type of ISBN for the "wrong" book has just as little value.

TLDR: If you really care about the ISBN, go look it up and paste it in as an identifier in the Metadata dialog.
kiwidude is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract ISBN from PDF? mdroberts Calibre 14 12-16-2016 08:32 AM
[Old Thread] Extract ISBN from file name ChristianQ Calibre 59 12-09-2015 06:08 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM
[Old Thread] Auto Extract ISBN-Feature request UnraisedArc Calibre 60 03-23-2011 10:31 AM
Displaying ISBN column in the main GUI tilleydog Library Management 26 02-25-2011 05:08 AM


All times are GMT -4. The time now is 08:18 PM.


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