Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2014, 11:44 PM   #286
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.
 
Posts: 1,820
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Beta for calibre change to Qt5

FYI, I am not kiwidude and this isn't my plugin. But I'm trying to help out by porting some of the plugins I use regularly while kiwidude is busy.

Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins.

This version needs to be tested with the existing calibre.

Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5.

I don't actually use this plugin, but I did mine it for ideas and code when I wrote my own plugins. So I thought it appropriate to port it.

So give it a try, let me know how it works.

Last edited by JimmXinu; 08-21-2014 at 06:30 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote
Old 07-29-2014, 12:07 AM   #287
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by JimmXinu View Post
I don't actually use this plugin, but I did mine it for ideas and code when I wrote my own plugins. So I thought it appropriate to port it.

So give it a try, let me know how it works.
Thanks, it seems to work fine with Calibre version 1.46, 32 bit.
DoctorOhh is offline   Reply With Quote
Old 07-29-2014, 12:10 AM   #288
BetterRed
null operator
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: 3,973
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
@JimmXinu - seems OK on Windows 7 SP1, 1.46 [64-bit] and 1.203.1 portable. Tested extracting from Mobi, Epub, PDF, and Lit.

BR
BetterRed is offline   Reply With Quote
Old 08-21-2014, 06:21 PM   #289
obvious
Junior Member
obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.obvious got an A in P-Chem.
 
Posts: 2
Karma: 6294
Join Date: Aug 2014
Device: none
Quote:
Originally Posted by kiwidude View Post
@Townk - this plugin offers just a simple and crude way to grab an ISBN primarily for metadata gathering purposes. As soon as you download metadata it will overwrite the ISBN again with one of the matches based on what you selected. So it is fairly pointless for most people to try to get too picky about which ISBN they have associated with the book, because of the way ISBN groups and calibre metadata download works.
Hi - Newbie alert

Once the ISBN info is inserted, what's the best way update title's, authors, covers etc using ISBNs as input for a bulk update.

I hope that's clear?

Edit: I made a guess and filtered by isbn:true which highlighted books with ISBN's in green but did not select them.

Edit2: Ah, I created a virtual library based on isbn:true. If I bulk download metadata for that library will the ISBN take priority when downloading metadata?

Last edited by obvious; 08-21-2014 at 06:35 PM.
obvious is offline   Reply With Quote
Old 08-22-2014, 12:50 AM   #290
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 6,090
Karma: 6238033
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo Touch, Kobo Glo
If the metadata for a book has an ISBN as an identifier, this will be used when getting the rest of the metadata. They might also search on title and author, but the first check is using the ISBN.
davidfor is offline   Reply With Quote
Old 08-24-2014, 06:50 AM   #291
Jay Dugger
Junior Member
Jay Dugger began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2012
Device: none
Could Extract ISBN be used to extract other identifiers: DDC and LCC?
Jay Dugger is offline   Reply With Quote
Old 08-25-2014, 02:41 PM   #292
MetDeFiets
Junior Member
MetDeFiets began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2014
Device: Android
ISBN-10 / ISBN-13

Hi KiviDude,
it seems that this is just the plugin I've been looking for

But I found one small problem while testing:
There are some publishers marking their 10 and/or 13 digit ISBN-Numbers as mentioned in the title. Would be very great, if you could extend that in your code. Thank you very much in advance.
MetDeFiets is offline   Reply With Quote
Old 08-25-2014, 10:16 PM   #293
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,908
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by MetDeFiets View Post
it seems that this is just the plugin I've been looking for
Moderator Notice
Moved post to the Extract ISBN plugin thread.
DoctorOhh is offline   Reply With Quote
Old 10-07-2014, 05:49 AM   #294
RotAnal
Enthusiast
RotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheese
 
Posts: 41
Karma: 1234
Join Date: Sep 2012
Device: Onyx Boox M92
Dear KiwiDude,
Thanks so much for you plugin which has been adding value to the Calibre project!
However, I have been noticing that some pdf files, for reasons that I ignore, on opening do not show the first page, but another one. I suspect that your plugin may be dependent on that choice, because it does not find respective ISBNs (however well highlighted in the text) on those files. In other words, I can easily go back to the first pages and seek, copy and paste ISBN manually, while your plugin apparently does not.
Could you please check the code and, if confirmed, fix this issue?
Thanks in Advance
RotAnal
RotAnal is offline   Reply With Quote
Old 10-07-2014, 06:18 AM   #295
BetterRed
null operator
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: 3,973
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by RotAnal View Post
Dear KiwiDude,
Thanks so much for you plugin which has been adding value to the Calibre project!
However, I have been noticing that some pdf files, for reasons that I ignore, on opening do not show the first page, but another one. I suspect that your plugin may be dependent on that choice, because it does not find respective ISBNs (however well highlighted in the text) on those files. In other words, I can easily go back to the first pages and seek, copy and paste ISBN manually, while your plugin apparently does not.
Could you please check the code and, if confirmed, fix this issue?
Thanks in Advance
RotAnal
@RotAnal - there are known limitations with PDFs, did you read the doco in post #1 ==>> [GUI Plugin] Extract ISBN

Quote:
...For PDF formats, scans only the first 10 pages, then if ISBN not found, the last 5 pages in reverse order.
For other formats, scans files at the front, then a number of end files in reverse order before the remainder of the book....
I'm not sure, but if the PDF is composed of images with no underlying text then even though you can see the ISBN the PI may not, it would need OCR capabilities to do that and I suspect it doesn't have such.

BR
BetterRed is offline   Reply With Quote
Old 10-07-2014, 06:36 AM   #296
RotAnal
Enthusiast
RotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheeseRotAnal can extract oil from cheese
 
Posts: 41
Karma: 1234
Join Date: Sep 2012
Device: Onyx Boox M92
Dear BetterRed,
thanks for your answer.
Yes I am aware of the limits of the plugin. Of course I don't ask it to read the entire document, just to begin searching from the actual first page even if the pdf itself is preset to open at page xxx.
As regards OCR, I think I have been writing that I can COPY and paste ISBNs manually, therefore I believe it is already OCRed in my pdfs.
ADDENDUM
Anyway, in order to get insight of the trouble, I have been working experimentally. I opened the pdf, entered in properties and reset the opening page to 1. However the plugin failed again to recognise the ISBN. Then it must be something other.
I suspected now that the culprit may be the ISBN-10 ISBN-13 that may confuse the plugin parser. Sorry, I am unaware whether this has been discussed in this forum.

Last edited by RotAnal; 10-07-2014 at 07:04 AM.
RotAnal is offline   Reply With Quote
Old 10-07-2014, 07:09 AM   #297
BetterRed
null operator
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: 3,973
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Quote:
Originally Posted by RotAnal View Post
Dear BetterRed,
thanks for your answer.
Yes I am aware of the limits of the plugin. Of course I don't ask it to read the entire document, just to begin searching from the actual first page even if the pdf itself is preset to open at page xxx.
As regards OCR, I think I have been writing that I can COPY and paste ISBNs manually, therefore I believe it is already OCRed in my pdfs.
Some viewers have built-in, lightweight OCR, I know mine does.

Is it all PDF's or just some. It works for me at least 90% of the time. What is presetting this "start position" in the book.

BR
BetterRed is offline   Reply With Quote
Old 10-25-2014, 02:38 AM   #298
BetterRed
null operator
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: 3,973
Karma: 2925589
Join Date: Mar 2012
Location: NSW Australia
Device: none
Calibre 2.7 introduced a new way of dealing with Jobs that have end-of-job dialogues. Rather than popping a modal dialogue box that takes control, a notification message is shown (bottom right where the Jobs spinner is) that does not require an immediate response.

See this thread for background Downloading metadata in background

The Count Pages, Modify and Extract ISBN PI's have automagically inherited this new job complete notification scheme... except when Extract ISBN fails to find an ISBN, then I get the 'old style' modal popup dialogue

BR

Last edited by BetterRed; 10-25-2014 at 02:41 AM.
BetterRed is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] Extract ISBN from file name ChristianQ Calibre 56 05-20-2012 10:59 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
Extract ISBN from PDF? mdroberts Calibre 10 12-15-2009 02:35 AM


All times are GMT -4. The time now is 01:59 AM.


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