View Single Post
Old 01-04-2017, 05:22 AM   #953
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BetterRed View Post
An option to process the Preferred Output Format if it exists, before reverting to the first found format according the order of the Preferred Input Format list.

Why? Mainly because it can take as many minutes to count a chunky DOCX, MOBI or PDF as it takes seconds to count the EPUB I just created by converting the same DOCX, MOBI or PDF.

Deleting the DOCX, MOBI and or PDF before doing the count is not a viable option, nor is promoting EPUB up the Preferred Input Format pecking order. The latter results is me wasting time doing unintentional EPUB to EPUB conversions and then wondering why the changes I just made to the Input format aren't reflected in the output EPUB.
Are you doing a page count? If you use the ADE algorithm, it will always use the epub if there is one available. And if there isn't an epub, it will do the other statistics, but it won't do the page count.

But, what you suggest is good idea. Adding the output format as the first format in the list is easy. Adding an option is slightly harder. Mainly because I have to write the label for the option How about

Code:
Use your Preferred Output Format if available
And the tooltip:

Code:
Check this option if you want the statistics to be calculated using the format that you have selected as the Preferred Output Format for calibre conversions. If this is not available, or the option is not checked, the first format found in the Preferred Input Format will be used.
That's horrible but the best I can do at the moment. Any suggestions are welcome. Very welcome.
davidfor is offline   Reply With Quote