|
|
#391 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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).
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#392 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,204
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
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.
__________________
|
|
|
|
|
Enthusiast
|
|
|
|
#393 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
No I am not going to do that - you can do it yourself with a search of formats:epub.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#394 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 526
Karma: 1024603
Join Date: Jan 2012
Location: SF Bay Area, California
Device: Sony PRS T-1, Kindle Fire
|
@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.
__________________
Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How! Free 5.0 GB online storage from SugarSync. Click link for an additional 500 MB for a total of 5.5 GB free. Last edited by GeckoFriend; 07-31-2012 at 10:47 AM. Reason: Add additional information |
|
|
|
|
|
#395 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 136
Karma: 1009312
Join Date: Mar 2011
Device: Kindle Paperwhite WLAN
|
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/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
@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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#397 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Jul 2012
Device: iPad 2
|
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: 2,213
Karma: 13472511
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle GDX, Kindle 3, KPW, Nook HD+
|
Quote:
|
|
|
|
|
|
|
#399 | |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Jul 2012
Device: iPad 2
|
Quote:
)
|
|
|
|
|
|
|
#400 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#401 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Jul 2012
Device: iPad 2
|
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 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 801
Karma: 1413706
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kindle DX Graphite
|
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: 14
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/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,087
Karma: 1211084
Join Date: Oct 2010
Location: London, UK
Device: Kindle 3 3G, iPad 2, iPad 3
|
@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.
__________________
Like my calibre plugins or Sigil work? Say thanks with PayPal |
|
|
|
|
|
#405 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,204
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
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.
__________________
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Kindle Collections | meme | Plugins | 1853 | Today 11:14 AM |
| [GUI Plugin] Quality Check | kiwidude | Plugins | 631 | 05-10-2013 04:10 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 183 | 04-22-2013 02:25 PM |
| [GUI Plugin] Quick Preferences | kiwidude | Plugins | 20 | 11-05-2012 06:40 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |