View Single Post
Old 04-30-2012, 11:54 AM   #210
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I wouldn't say I'm screaming for it, but you did say you'd consider this next time you were working on GC.
Quote:
Originally Posted by JimmXinu View Post
@kiwidude - Would you have any interest in creating and exposing a few methods on Generate Cover for other plugins to call like you did for Reading Lists?

I'm thinking just a couple: something like get_saved_setting_names to get a list of the names of the different settings, and a modified generate_cover_for_book.

The generate_cover_for_book method would take the name of the setting to use and, an mi either with _path_to_cover set or a new path_to_cover parameter.

Returning the cover data like generate_cover_for_book does now seems best to me, rather than setting it from inside the new method. I might want to push it into the epub during creation.

My intention is to have the FanFictionDownLoader plugin (configurably) call GC to generate covers when creating/updating books, using different settings for different sites.

Jim
JimmXinu is offline   Reply With Quote