![]() |
#796 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
Quote:
As far as I know, it's not possible. If it is, I don't know how. Last edited by Katsunami; 11-04-2015 at 07:18 PM. |
|
![]() |
![]() |
![]() |
#797 |
Connoisseur
![]() Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
|
Acknowledge? Maybe something got lost in translation but I'm not asking for this to avoid the page count obviously (why would I install a page count plugin then?), it is to save the step of executing the plugin manually for each new book I add to my library.
|
![]() |
![]() |
Advert | |
|
![]() |
#798 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,137
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Any PI that prepares changes in background to the DB requires the user to Acknowledge they are ready to have the change posted. These PI typically need to grind for a bit, so you are allowed to do other work with the Library
|
![]() |
![]() |
![]() |
#799 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
Quote:
That is what I meant as well. AFAIK, you can't run the plugin and apply the changes automatically when ebooks are added to the library. You will have to start the plugin yourself and then apply the changes when it asks to do so. Last edited by Katsunami; 11-04-2015 at 07:20 PM. |
|
![]() |
![]() |
![]() |
#800 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,829
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@rpgmaker - you can't auto execute PIs when a book is added, but you can turn off the notification messages for Count Pages, viz :
BR |
![]() |
![]() |
Advert | |
|
![]() |
#801 | ||
Connoisseur
![]() Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
|
Quote:
Quote:
![]() Great plugin. Thumbs up to the author! |
||
![]() |
![]() |
![]() |
#802 |
Connoisseur
![]() Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
|
Can anyone tell me what is the calculus/formula behind the page number? It'd be good to have it in the first post.
|
![]() |
![]() |
![]() |
#803 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,829
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@rpgmaker - you could look at the code, just unpack the plugin zip somewhere, I think the algos are in statistics.py. The PI author, Kiwidude, isn't very active at the moment, but his code pretty easy to read with generous comments,
BR |
![]() |
![]() |
![]() |
#804 | |
Connoisseur
![]() Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
|
Quote:
The page count for epubs, in case anyone is wondering: From what I understood the script first counts the lines (comment in script: "A line is either a paragraph starting or every 70 characters in a paragraph."). For the accurate count this number is then divided by 31 (which is the usual number of lines in a page of a paperback, I assume). After this, from script: "we could still have a really weird document and massively understate. As a backstop count the characters using the "fast count" algorithm and use that number instead". The fast count counts the characters in the entire document, divides this number by 2400 and a 1 is added to the result. The biggest of the two counts is used as the resulting page count. Last edited by rpgmaker; 11-05-2015 at 08:01 AM. |
|
![]() |
![]() |
![]() |
#805 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#806 | |
Connoisseur
![]() Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
|
Quote:
![]() What I described was the accurate count method. There are others for PDF, Adobe, etc. |
|
![]() |
![]() |
![]() |
#807 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,137
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() ![]() BTW those number seem to matchup with the numbers seen on the device |
|
![]() |
![]() |
![]() |
#808 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,044
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I have found some bugs in count pages that can cause it to count two words as one word.
except…if except—if except–if All of those cases cause two words to be counted as one. I do hope someone is available to fix this. Thanks. |
![]() |
![]() |
![]() |
#809 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,578
Karma: 79436940
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Is it that critical that the word count be precise?
|
![]() |
![]() |
![]() |
#810 |
Connoisseur
![]() Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
|
|
![]() |
![]() |
![]() |
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 |