View Single Post
Old 10-04-2014, 09:44 AM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by stanking View Post
Your code snippet helps, and it may do the job, but yeah, I really do need a list. My secret goal is to provide the user a list of plugins he/she can string together to run in succession. Blame BetterRed; he put me on the idea:



But baby steps, this gets me a little closer.
OK, I remember seeing that suggestion.

For a list of plugins, have a look at the Marvin plugin. I don't have it installed at the moment, but it lists all user plugins when the calibre is started in debug mode.

But, I think you will still have to work with a known list of plugins. The real problem is going to be knowing what they do and if they have any function that can be called externally. I know Reading List does and I remember JimmXinu working with kiwidude to change the interface so he could call it. It has options to suppress error message boxes and throw exceptions instead.
davidfor is offline   Reply With Quote