01-28-2017, 05:52 AM | #1021 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
New beta - Add support for downloading page count from other sites
Attached is a beta to add support for downloading the page count from sites other than Goodreads. This was prompted by BeckyEbook's work to add Lubimyczytac.pl. While doing this, I have needed to add extra options for the page count download and I have reorganised the configuration dialog to two tabs. The download options and the general options are on the second tab.
I have also included Nicolas F's French translation. I have attached a screenshot of the new configuration options. These are:
I'd like to think the options above make it obvious how this works. But, I'm sure it doesn't And I am very happy to hear suggestions on how to better phrase the options and the tooltips. What these options give are the following modes for getting a page count:
For both of the last two options, the sites will be checked in the order the are listed at the top of the configuration. The site will only be checked if the book has an identifier for the site, and once a page count has been retrieved, no more sites will be checked. So, if you have the sites in the order lubimyczytac.pl, Goodreads:
This should give plenty of flexibility in how to choose where to fetch the page counts from. As you can see, this beta only has two sites. I have tried to do this in a way that adding more sites is easy. The information I need to do this is:
As always, if anyone has a problem with the beta, please report them here in as much detail as possible. And any suggestions for better labels for the options will be gratefully received. I'm particularly unhappy with "Active" in the site list, but I can't come up with anything better. "Enabled" isn't right either. |
01-28-2017, 12:23 PM | #1022 | |
Groupie
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
Quote:
If you don't like the active label, you could go with what was done for custom column in calibre : There is no label, only a checkbox in the "name" column, and you could talk about selected sources. I think that it would be easy enough to understand. |
|
Advert | |
|
01-28-2017, 05:49 PM | #1023 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
I need more to test a beta version - so far is OK.
|
01-28-2017, 06:44 PM | #1024 |
Resident Curmudgeon
Posts: 73,976
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The problem is that it's near impossible to see what you've done because the screen grab is not in English.
|
01-28-2017, 07:37 PM | #1025 |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
No problem.
|
Advert | |
|
01-28-2017, 08:20 PM | #1026 | |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
01-28-2017, 08:48 PM | #1027 | |||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
|
|||
01-29-2017, 07:50 AM | #1028 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
New beta - Update for multiple download sites
Here is another beta of the plugin. The changes are those that have been discussed:
I'm considering the need for the "Try to download page count from each source" option. With this checked, all the sites with a check against the identifier will be attempted until the page count is downloaded. If it is unchecked, then only the first site that has an identifier will be used for each book. I'm not sure if the option is needed and it should just use all sites. |
01-29-2017, 11:34 AM | #1029 |
Evangelist
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Another odd blip that's started happening. Since I tried the Beta you have up, when I run the 'Estimate page/word count' via the shortcut, it works every time. Great! What happens now, is that it does not update in the 'Book details' panel automatically as it did previously. Modifying the count manually updates 'Book details' automatically, it seems to only happen with Estimate, and my tests have it happening with both the shortcut and by directly pressing the button.
|
01-29-2017, 05:51 PM | #1030 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
01-29-2017, 06:05 PM | #1031 |
Resident Curmudgeon
Posts: 73,976
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
01-29-2017, 06:07 PM | #1032 | |
Evangelist
Posts: 482
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
The previous, the shortcut just wouldn't work after a while and I would need to restart, but when using the Count pages button it would function properly and Details panel would update. That problem hasn't reoccurred since I installed the beta. Since I have no idea what would make it stop working, I can't be certain if completely fixed, but for now it hasn't happened again. |
|
01-29-2017, 06:28 PM | #1033 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I have the same problem with page number and book details (beta). I thought I was imagining things.
|
01-30-2017, 04:26 AM | #1034 | |
Groupie
Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
Quote:
I think a "Only show selected download sources in the menu" would be far better, with a checkbox at the beginning of the line (like what BeckyEbook did). |
|
01-30-2017, 06:48 AM | #1035 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The problem with that is that it confuses concepts: do you show the site on the menu, and do you use the site during the download from all. The question probably is whether they need to be separated. With the two sites we have, probably not. I'm not going to display or search lubimyczytac.pl except to test that everything works. If there were more sites, that might change. If they are all for non-English books, I won't be using them. If a site is added that gives a better page count for books I have, then I might use them. In any case, I didn't like the first version I did. I like this version better, but, I'm still not that happy with it. |
|
Tags |
count, count pages, page count, pages, plugin |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1184 | 04-17-2024 06:17 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 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 |