View Single Post
Old 10-06-2018, 04:41 AM   #17
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
Beta: Higher resolution covers and language support

Attached is a long delayed beta. The changes are:
  • Fix: Wasn't handling case where there were no tags/genres.
  • Fix: Missed fetching ISBN if there was an "Imprint".
  • New: Add support for fetching languages and rating and get high resolution cover. Based on code by MR member @qsxwdc.
  • Change: Try for better support of other languages in search. Based on suggestion by MR member @Aerandir14.

When I looked at the way the covers are handled by Kobo, I discovered you could set any size and it would generate a cover to fit that. I have changed this to use the size specified in the Tweak "maximum_cover_size". This will default to 1650x2200.

For the other languages, the suggestion by @Aerandir14 seems to work. But, I haven't tested many non-English books, and all my testing comes from an Australia IP address. The IP address does seem to have an affect on the result. If this change doesn't help, I might have to use a country or language specific search. That would need a configuration option and I'd prefer not to do that.

Please test and report any problems, or success.
Attached Files
File Type: zip KoboBooks-beta.zip (7.7 KB, 673 views)
davidfor is offline   Reply With Quote