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-13-2020, 05:24 PM   #1411
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: 59,319
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by BibiFlip View Post
Hi all,
I would like to have a Plugin that writes the checksum of the file to a custom column (similar to the Page Count Plugin).

This are my use cases:
* Sometimes it's easier to compare the checksum of files to detect, if there are really identical. Otherwise, I need to investigate.
* It's useful to compare the checksums to a later time point to spot errors or corrupt files.
* It would be great, if the saved checksum could be used while importing new books as an additional to comparison of the metadata to spot duplicates.

What do you think?
If you load the exact same eBook as one that's already in the library and the name is the same, you will get a requester saying you might have a duplicate. Also, you can use the Find Duplicates plugin to find binary duplicates and duplicates that have a similar name/author in case they are not binary duplicates but different versions (like one was updated).

As to the corrupt files, that would be due to a hardware issue.
JSWolf is offline   Reply With Quote
Old 07-13-2020, 05:24 PM   #1412
capink
Connoisseur
capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.capink is an enigma wrapped up in a mystery.
 
Posts: 57
Karma: 41826
Join Date: Aug 2015
Device: icarus illumina
@ownedbycats: That clarifies it. Thanks.
capink is online now   Reply With Quote
Old 07-13-2020, 05:26 PM   #1413
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: 59,319
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by capink View Post
I believe you do not need to change cover or metadata to affect the checksum. Merely opening the file with calibre viewer can change the checksum as calibre inserts bookmarks into the file.
Not if you've turned this feature off.

Quote:
Given the above I am curious as to how the Find Duplicates plugin performs its binary compare? Does it discard cover, metadata and bookmarks from files before comparing? Maybe someone can shed light on this.
A binary compare is just that a binary compare. But you can do a similar compare based on the metadata.
JSWolf is offline   Reply With Quote
Old 07-13-2020, 05:30 PM   #1414
ownedbycats
Fanatic
ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.ownedbycats is not intimidated by interfenestral monkeys.
 
Posts: 531
Karma: 26042
Join Date: Oct 2018
Device: Kobo Aura HD
Quote:
Originally Posted by JSWolf View Post
If you load the exact same eBook as one that's already in the library and the name is the same, you will get a requester saying you might have a duplicate.
I think unless you have automerge turned on, in which case it just adds it to the existing book records.
ownedbycats is offline   Reply With Quote
Old 07-13-2020, 05:35 PM   #1415
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: 59,319
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by ownedbycats View Post
I think unless you have automerge turned on, in which case it just adds it to the existing book records.
I did forget of that option.
JSWolf is offline   Reply With Quote
Old 07-14-2020, 02:49 PM   #1416
BibiFlip
Junior Member
BibiFlip began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2020
Device: Smartphone
Quote:
Originally Posted by JSWolf View Post
If you load the exact same eBook as one that's already in the library and the name is the same, you will get a requester saying you might have a duplicate. Also, you can use the Find Duplicates plugin to find binary duplicates and duplicates that have a similar name/author in case they are not binary duplicates but different versions (like one was updated).

As to the corrupt files, that would be due to a hardware issue.
Thanks for your detailed answer. I wasn't aware of the Find Duplicates plugin. It solves most of my problems. I already detected binary duplicates.
BibiFlip is offline   Reply With Quote
Old 07-24-2020, 09:59 AM   #1417
Mansoul
Member
Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 12
Karma: 34258
Join Date: Jul 2020
Device: Kobo Libra H2O
I would like something that displays 'how long to read'.
Mansoul is offline   Reply With Quote
Old 07-25-2020, 05:18 AM   #1418
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: 19,934
Karma: 33274409
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Mansoul View Post
I would like something that displays 'how long to read'.
This can be done without a plugin. Or at least, not a new plugin. You need a column for either the page or word count. Then create another column that calculates time to read from the page and word count and your reading rate. You can enter the counts yourself, or use the Count Pages plugin to do it.
davidfor is online now   Reply With Quote
Old 07-25-2020, 05:26 AM   #1419
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: 59,319
Karma: 53915707
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by Mansoul View Post
I would like something that displays 'how long to read'.
You can turn on time remaining to read for the entire book in the footer. Then create a custom column to enter the time remaining. That (IMHO) is the most accurate way to do it.
JSWolf is offline   Reply With Quote
Old 07-25-2020, 06:21 PM   #1420
Mansoul
Member
Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.Mansoul is out to avenge the death of his or her father, Domingo Montoya.
 
Posts: 12
Karma: 34258
Join Date: Jul 2020
Device: Kobo Libra H2O
Thank you both, you set me on the path. I have more question but will take them to the main Calibre thread.
Mansoul is offline   Reply With Quote
Old 08-14-2020, 06:16 AM   #1421
JoeBethersonton
Junior Member
JoeBethersonton began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2020
Device: Kindle Paperwhite 2
Meta data scraper for Danish books

I have been looking for plugin that can scrape meta data from Danish sites, and didn't find any.

So I downloaded a few other plugins to see the code, and it is a bit too complex for me - I never tried coding in Python.

I browsed a few possible sites, and would recommend mofibo.dk or saxo.dk.

Mofibo.dk seems to have most meta data - there is a category, tags, series information and ratings. The search engine is a bit weird though. If I search for a specific ISBN, the book will show up among a few others. If I click on the book, then it expands within the page with some information. If I right click and open the book in a new tab, then I have all the information available including the ISBN.

Saxo.dk has a better search engine, but the meta data seems inferior. Often it will only contain the name of a series, but not the number. Other times the tags will include stuff like age recommendations.

If anyone is up for the task, I will gladly help with everything I can - crawling through the HTML tags, translating stuff, finding good examples and test the plugin.
JoeBethersonton is offline   Reply With Quote
Old 08-17-2020, 08:24 AM   #1422
HinzundKunz
Junior Member
HinzundKunz began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2020
Device: tolino
add image to pdf as title page

It would be absolutely awesome if calibre could be able to embed external images into pdf files as title pages. There are external tools that can do this, but it is a bothersome process to do it one file at a time. Within calibre you could just select all the pdf files you would want to do this on and it would be a batch process.
Why: I have a lot of pdfs that do not have a title page, they just start with the first page of the book. I have added title images to those, so that I recognize them easily.
When exporting pdf ebooks to my reader, the title images I added within calibre don't show. It would be nice if they would show as well, and the only way to do this is to embed them.
Within Linux, this is very easy on the command line:
cd "whatever directory the file is in"
convert cover.jpg cover.pdf
pdftk cover.pdf "whatever name the pdf has.pdf" output "whatever name you want to give.pdf"

But to do this for the ~450 files I know to not have any title page still is cumbersome. If I were more of a bash expert, I would just write a shell script that does this, but I'm not. Also, running a shell script on a set of subdirectories will also result in titles get reduplicated when there already is a title page.
My idea is a plugin that runs on selected titles within the library, so that on export to my reader, the title images show there as well.

It would be great, if someone more knowledgeable than me would pick this up...
HinzundKunz is offline   Reply With Quote
Old 08-21-2020, 03:00 AM   #1423
malaerba
Junior Member
malaerba began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2018
Device: kobo glo hd
It would be nice to have
www.liberliber.it
in the book shops list. It is not a shop, it is public domain book (an other kind of file) source. Most part is in Italian. Download is free, but it is possible to donate.

Moreover: I am not a coder, but I think to be able to add the few needed lines if I have an example of other book shop in the list.
malaerba is offline   Reply With Quote
Old 09-02-2020, 04:47 PM   #1424
pleiadesc
Connoisseur
pleiadesc began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Nov 2016
Device: none
Here is an idea, Author to Folder Label for folder management, this plugin will switch Author and a custom column Folder Label and can also reverse it back

Example
Author: John Schember
Folder Label: calibre-books

When you run the plugin, it would switch them like this
Author: calibre-books
Folder Label: John Schember

in the calibre database folder you will have folder calibre-books instead of the author name. its one solution for those who like to use windows file explorer to view their books.

Last edited by pleiadesc; 09-02-2020 at 04:50 PM.
pleiadesc is offline   Reply With Quote
Old 09-02-2020, 05:46 PM   #1425
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 8,345
Karma: 36920735
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
Quote:
Originally Posted by pleiadesc View Post
Here is an idea, Author to Folder Label for folder management, this plugin will switch Author and a custom column Folder Label and can also reverse it back

Example
Author: John Schember
Folder Label: calibre-books

When you run the plugin, it would switch them like this
Author: calibre-books
Folder Label: John Schember

in the calibre database folder you will have folder calibre-books instead of the author name. its one solution for those who like to use windows file explorer to view their books.
I suspect that you haven't read the sticky on calibre's structure.

You may enjoy what can happens when this is run on multiple folders. Nothing like a dozen directories all called calibre-books (xxx) to make life fun deciding what author name was originally attached to the directory.

I would suggest reading this stickied message:
Want to change folder structure or file names in the Calibre library?
plus any of the links in it.

Last edited by DNSB; 09-02-2020 at 05:55 PM. Reason: Added link to Manichean's stickied message.
DNSB is offline   Reply With Quote
Reply

Tags
epub fix, epub-fix, google books, metadata calibre title, pdf, pdf and calibre, plugin development

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:54 PM.


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