View Single Post
Old 05-03-2012, 11:21 AM   #4
chaley
"chaley", not "charley"
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: 4,699
Karma: 800142
Join Date: Jan 2010
Location: France
Device: PRS-300, Galaxy Nexus, Nexus 7, HTC Sensation, Galaxy Tab 10.1
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