View Single Post
Old 05-03-2012, 11:21 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,762
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
How does the content of the metadata file you wish to update differ from the existing .metadata.calibre file? That file contains calibre metadata for books in the folder, and is maintained by the existing driver.

If it is a difference in format, then wouldn't a converter be easier to write?

Edit: If you really want to maintain a second metadata file, then you would add an override of sync_booklists. Write your metadata file, then call the method in the superclass (USBMS).

Last edited by chaley; 05-03-2012 at 11:26 AM.
chaley is offline   Reply With Quote