|07-02-2011, 09:11 PM||#1|
Join Date: Jul 2011
Device: Sony PRS-505
When some <MetadataWriterPlugin> is used
Can somebody explain me when <MetadataWriterPlugin> is used, in which context or conversion process phase?
Is it possible for a user to call it from UI in order to apply current book metadata to the selected book format?
If I provide <MetadataReaderPlugin> for some book format should I develop the <MetadataWriterPlugin> as well?
(I looked up in the code, it looks like not all build-in book formats have both type of plugins)
|07-02-2011, 09:43 PM||#2|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
writer plugins are used when ever a book is exported from the calibre library via save to disk/send to device/the content server.
|07-03-2011, 12:50 PM||#3|
Sigil & calibre developer
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
The reader and writes are also used by some conversion plugins. Instead of duplicating code I often put the metadata stuff into the reader/writer class and use it in the conversion plugin.