View Single Post
Old 01-20-2012, 01:53 PM   #4
hakan42
Zealot
hakan42 is on a distinguished road
 
hakan42's Avatar
 
Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
Quote:
Originally Posted by hakan42 View Post
The plugins contain the "plugin-import-name_<foo>.txt" file and __init__.py .

The part which I did not understand yet is how I would initialize such a class of which I might only know the plugin-import-name.
Nevermind, just found my own error

The plugin marker file needs a dash as last element, not an underscore. e.g.
Code:
plugin-import-name-<foo>.txt
and not
Code:
plugin-import-name_<foo>.txt
which is actually clearly written in http://manual.calibre-ebook.com/crea...terface-plugin
hakan42 is offline   Reply With Quote