View Single Post
Old 09-11-2019, 03:10 PM   #14
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by eschwartz View Post
What about making the plugin launch a separate process that does *everything* in the preview?
If I can get Kovid's idea working at all I can experiment with what goes on each side of the 'divide'. At the moment I'm at the 'are-you-up-to-this-jackie' stage and it will be closely followed by the stage I call 'why-are-you-sharing-plugins-with-others-when-you-know-you're-at-the-limit-of-your-abilities'. I hate large calibre upgrades. Not really, but it's always way outside my comfort zone

Quote:
Originally Posted by eschwartz View Post
I don't recall offhand if it needs to connect back to the DB API. But that would be the only thing, honestly, which actually needs to be done in-process for locking reasons, right? So the plugin could just be there to provide, essentially, a GUI button to launch the standalone utility.
I believe the only link to the library is upfront to get hold of the right epub/azw3 file. Once there's a copy of it in calibre's temp area the library isn't involved as the scrambled book file is saved to the OS outside the library.
jackie_w is offline   Reply With Quote