Quote:
Originally Posted by kovidgoyal
Look at the functions in
calibre.customize.ui
they give you access to all types of calibre plugins.
|
Thank you!Calibre MASTER
and still a little problem --
I am writing a InterfaceAction plugin, in which I want to call a Source plugin function.
Now i have the source plugin instance
Code:
from calibre.customize.ui import find_plugin
plugin = find_plugin("plugin_name")
But the function I want to Call is
Code:
def identify(
self,
log,
result_queue,
abort,
title=None,
authors=None, # {{{
identifiers={},
timeout=30)
However, I'm not sure how to pass the "log" parameter, as it seems like it's coming from outside the function. How can I pass this parameter correctly?