![]() |
#391 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
It should finish eventually - remember that it is all about the book formats, and that if you aren't dealing with ePubs then it has to convert to ePub which is where 99% of the time will be spent.
I do intend (once I get feedback on my changes to Extract ISBN) to apply similar changes to this plugin to break up into batches. So if for instance it is batches of 100 books by default then in this case you would presumably be able to have 900 of your results applied and then cancel the last batch which has the problem books in it to subdivide and isolate the problem one(s). |
![]() |
![]() |
![]() |
#392 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,902
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Can you make the plugin such that if the eBook is not ePub, it ignores it? If it's not ePub, I don't care about page numbers for it and if I get page numbers based on a conversion to ePub, then I'm getting an incorrect page number as that's not how the book will be if I read it.
|
![]() |
![]() |
![]() |
#393 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
No I am not going to do that - you can do it yourself with a search of formats:epub.
|
![]() |
![]() |
![]() |
#394 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
|
@kiwidude
All 1000 books are epubs so conversion isn't the problem. I definitely like the idea of batches. Update: The job finally finished after 9.5 hours. I guess posting solved the problem. ![]() Last edited by GeckoFriend; 07-31-2012 at 10:47 AM. Reason: Add additional information |
![]() |
![]() |
![]() |
#395 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Hey there, this might sound stupid, but what is the best "counting algorithm" so I get page counts fitting for the Kindle screen with the default font sizes? Short info: I'm using a Kindle 4 with font size 3/8, Typeface: regular, Line Spacing: medium, Words per Line: default.
Currently I am using APNX but it doesn't seem to "work" properly, sometimes I have to trigger the next-page button a few times until the page count finally increases. I know that it probably can't be 100% accurate unless the Kindle device implements a dynamic page count, but what is the closest approximation? Last edited by cryzed; 08-01-2012 at 09:21 AM. |
![]() |
![]() |
![]() |
#396 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@cryzed - there is no magic algorithm to give you what you want, as has been said many times in this thread algorithms like APNX can only approximate based on some variables and assumptions around average paragraph lengths, number of lines etc. All of which becomes moot given users can choose different line spacings, font sizes, margins, screen sizes, CSS attributes... There is *no* amount of "twiddling" with these will get you anything more satisfactory across more books (or indeed across an entire book).
The only reliable way to solve this problem would be something in the Kindle firmware to compute the page turns. But presumably that requires a fair amount of computation which would impact the performance and battery life of the device so they don't do it either. |
![]() |
![]() |
![]() |
#397 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Jul 2012
Device: iPad
|
Is there a way to get this plugin to just count the number of pages in a PDF, without making the conversion to epub? I have a large number of academic history books that I need to keep in PDF format (and preserve the existing pagination of) that I would love to have page counts for.
Thanks for a very useful plugin. |
![]() |
![]() |
![]() |
#398 | |
Omnivorous
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,283
Karma: 27978909
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Voyage, Kindle Fire HD, Kindle 3, KPW1
|
Quote:
|
|
![]() |
![]() |
![]() |
#399 | |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Jul 2012
Device: iPad
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#400 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
As of a few versions ago this plugin *always* uses the exact PDF page count and does not try to convert it to ePub. It is only if you have other statistics enabled (like word count or reading ease) that a conversion is required for PDFs. As such the algorithm choice for PDF format is ignored.
|
![]() |
![]() |
![]() |
#401 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Jul 2012
Device: iPad
|
Thanks, KiwiDude. The problem I was having was that word count was also enabled, and it was taking forever to do anything.
Thanks for the fast response. Last edited by rlh3; 08-02-2012 at 03:06 PM. |
![]() |
![]() |
![]() |
#402 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,079
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
I ran into a cosmetic bug today. If the plugin fails to get a page count due to the books being DRM-infested, it still says it computed a statistic for it ('Count Pages plugin found 1 statistics').
The log correctly says it didn't due to DRM, and the custom column doesn't get updated, so it still works fine, but it shouldn't be counted in the popup, I guess. |
![]() |
![]() |
![]() |
#403 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2012
Device: kindle
|
Count Pages
If I use Goodreads as my only Metadata download, can anyone explain the steps I would have to incorporate into Calibre Plugin to download the goodreader page count automatically during the metadata update?
Sandy |
![]() |
![]() |
![]() |
#404 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@szweiner2 - quite simply you can't. Metadata download plugins can't return values for custom columns. Hence why this plugin is completely separate and must be run separately.
|
![]() |
![]() |
![]() |
#405 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,902
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
In most cases, the page number for an eBook on Goodreads is actually wrong. That's why whenever I add an eBook to my library, I have to request it be fixed.
|
![]() |
![]() |
![]() |
Tags |
count, count pages, page count, pages, plugin |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1252 | 08-02-2025 09:53 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 62 | 03-16-2024 11:47 PM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |