![]() |
#1111 |
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
|
Update to version 1.8.0
The latest changes for the plugin have just been replaced. The changes are mainly to add another source for downloading page counts and making it easy to add others. Plus a bug fix and French translation. The full list is:
Calibre will present the update sometime in the next hour for downloading, or you can manually download it from the first post. If there are any problems with the update, please report them here and I will look into them. |
![]() |
![]() |
![]() |
#1112 |
Daywalker
![]() Posts: 29
Karma: 52
Join Date: Jul 2008
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#1113 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
Quote:
https://www.mobileread.com/forums/sh...postcount=1046 Well, the result is the same anyway ![]() |
|
![]() |
![]() |
![]() |
#1114 | |
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:
![]() ![]() ![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
#1115 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 846
Karma: 3341026
Join Date: Jan 2017
Location: Poland
Device: Various
|
Updated Polish translation for version 1.8.0.
|
![]() |
![]() |
![]() |
#1116 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2013
Location: Portland, Oregon
Device: ipad
|
Never mind. I restarted Calibre and now it seems to be OK. I think I might have installed it this morning and not restarted Calibre after doing so. Seems to work OK now.
The plugin seems to be crashing consistently now that I've upgraded to calibre 3.0.0. Here's the error dump: Count Page/Word Statistics Python function terminated unexpectedly do_count_statistics() takes at least 8 arguments (7 given) (Error Code: 1) Traceback (most recent call last): File "site.py", line 101, in main File "site.py", line 78, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 195, in main File "site-packages\calibre\utils\ipc\worker.py", line 133, in arbitrary_n TypeError: do_count_statistics() takes at least 8 arguments (7 given) Last edited by Eschaton; 06-17-2017 at 07:48 PM. |
![]() |
![]() |
![]() |
#1117 | |
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:
|
|
![]() |
![]() |
![]() |
#1118 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#1119 |
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
|
|
![]() |
![]() |
![]() |
#1120 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
|
Hey, I modified the code a bit. My plan was to speed up the APNX-accurate algorithm, but unfortunately even my alternative version only performs at around the same speed (+/- 1 second). Some things it might handle better are books with strange and/or broken markup (although Calibre should prevent that during the conversion-step).
I also made slight changes in _read_epub_contents() and _extract_body_text() that avoid some unicode conversion steps and that use the re module a bit more efficiently (regex_object.search() instead regex_object.findall(), re.sub() instead of str.replace()). I didn't want to just throw it away, maybe you'll find it interesting or useful in some way: count-pages.patch. Thanks for your plugin! ![]() |
![]() |
![]() |
![]() |
#1121 |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Aug 2011
Device: Kobo Glo HD
|
is it compatbile with kobo or only Kindle?
|
![]() |
![]() |
![]() |
#1122 |
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
|
I don't know whether to answer "it's not compatible with anything", or "it's compatible with everything".
The plugin calculates statistics for books in your calibre library. This has absolutely nothing to do with what device you use. It does include four different ways to calculate a page count. One of these is the Kindle method, another is the ADE method which Kobo uses for epubs. |
![]() |
![]() |
![]() |
#1123 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 1255124
Join Date: Feb 2013
Location: Ontario, Canada
Device: Kobo Libra Colour, Kobo Libra 2, Kobo Libra H2O, Kindle Oasis 9
|
Quote:
|
|
![]() |
![]() |
![]() |
#1124 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,544
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I know I had at one time had a custom column that would store small / medium / large (or some similar description) and then I could create a collection based on that value.
Sent from my Nexus 7 using Tapatalk |
![]() |
![]() |
![]() |
#1125 | |
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:
One method is to use a metadata plugboard to add the page count to one of the pieces of metadata that is displayed. Appending it to the title or the author is what I have seen. The other is to put it in the comments/synopsis. My Kobo Utilities plugin can do this. It can use a template to add extra information to the synopsis on the device. I use: Code:
template:{comments}{tags:|<p>Tags: |</p>}{rating:|<p>Rating: |</p>}{#kobo_last_read:|<p>Last Read: |</p>}{#words:|<p>Word count: |</p>} |
|
![]() |
![]() |
![]() |
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 |