Dont use load actual plugin. Get a reference to another plugin via
self.gui.iactions
which is where calibre stores plugins after loading them.
As for waiting for the plugin job to finish it depends on the plugin and how it runs jobs. Note that simply loading the plugin will not run a job. You will need to call some thod in the plugin that actually does something.
|