Quote:
Originally Posted by jackie_w
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.
|
Perfect! So I'd advise that, then. e.g. let the plugin be able to run with calibre-debug --run-plugin entry points, accepting the path of the ebook to scramble. Make the GUI element simply figure out the path to the book to be scrambled, and use run_calibre_debug to spawn a new instance of the plugin which is set up to do webengine stuff.