calibre-devs team mailing list archive
-
calibre-devs team
-
Mailing list archive
-
Message #00208
New metadata download architecture in calibre 0.8
Hi all,
This is a heads up about the new metadata download architecture that will be released in calibre 0.8. The API is now complete and I have migrated all the plugins I manage to the new architecture. If you maintain plugins of your own, then now is the time to migrate them. The 0.8 release is still at least a couple of weeks away.
Learn how to run calibre with the new code here: http://www.mobileread.com/forums/showthread.php?t=129757
All the new code lives in calibre.ebooks.metadata.sources.*
A good place to start is to read the extensive comments in the Source class defined in calibre.ebooks.metadata.sources.base and then look at a few of the builtin plugins. The google plugin is probably the simplest. The Open Library plugin only downloads covers. The Amazon plugin is the most complex, with multi-threading for performance.
If you need help/clarification, feel free to ask.
Kovid.
--
_____________________________________
Dr. Kovid Goyal
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
Attachment:
pgpKV3h60PKS9.pgp
Description: PGP signature