|
|
#556 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,781
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#557 |
|
Leftutti
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 658
Karma: 3671119
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
|
|
|
|
|
|
|
#558 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,781
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#559 |
|
Junior Member
![]() 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 |
|
|
|
|
|
#560 | |
|
Junior Member
![]() Posts: 7
Karma: 26
Join Date: Sep 2026
Device: Kindle
|
Quote:
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 |
|
|
|
|
|
|
#561 | |||||||||||
|
Member
![]() 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:
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:
And another case where ISBN was not detected, in epub it was: Quote:
Quote:
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:
Quote:
b) did not select ePub or mobi Quote:
a) selected first - I guess both are correct (I have both epub and mobi versions under single Calibre entry) Quote:
Quote:
Quote:
Quote:
Last edited by PiotrK; 10-24-2026 at 06:50 AM. |
|||||||||||
|
|
|
|
|
#562 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 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)
|
|
|
|
|
|
#563 | ||
|
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2016
Device: Kindle PW
|
Quote:
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:
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... |
||
|
|
|
|
|
#564 |
|
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |