|
|
#1111 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23,225
Karma: 41975128
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
|
|
|
|
|
| Advert | |
|
|
|
|
#1113 | |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 153
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: 23,225
Karma: 41975128
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
![]() ![]() ![]() ![]() I forgot to check the language files. I'll get it fixed.
|
|
|
|
|
|
|
#1115 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 472
Karma: 1497025
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
|
Updated Polish translation for version 1.8.0.
|
|
|
|
| Advert | |
|
|
|
|
#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 08:48 PM. |
|
|
|
|
|
#1117 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23,225
Karma: 41975128
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,854
Karma: 13774480
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
|
|
|
|
|
#1119 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23,225
Karma: 41975128
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: 23,225
Karma: 41975128
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 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 50878
Join Date: Feb 2013
Device: Kobo Aura One
|
Quote:
|
|
|
|
|
|
|
#1124 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,562
Karma: 66923931
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
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: 23,225
Karma: 41975128
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 pages, page count |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Open With | kiwidude | Plugins | 386 | 11-24-2021 01:38 AM |
| [GUI Plugin] Quality Check | kiwidude | Plugins | 1093 | 09-27-2021 12:19 PM |
| [GUI Plugin] Quick Preferences | kiwidude | Plugins | 49 | 04-05-2021 05:30 AM |
| [GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 01:02 AM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |