Run plugin before import
Is it possible for a plugin to run before the import is done? From tinkering around with a plugin it seems that the file is imported into the database and then the plugin runs.
I'd like to do some processing of a file before it is imported into Calibre. I would then like to have this processed file imported rather than the original file.
Other random question, is there a variable that stores the install path to calibre?
Thanks.
|