View Single Post
Old 01-16-2014, 06:04 PM   #3
ZioNemo
Enthusiast
ZioNemo began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
Thanks Kovid.

Quote:
Originally Posted by kovidgoyal View Post
Since you say you can program, if I were you, I'd just write a script that reads the metadata from whatever database you have it in and uses teh calibredb command to create the book records with that metadata.
I can do that.
I am a bit confused, however:
I had a look to the structure of metadata.db (SQLite, apparently) and I found no support for cover page; it seems it's stored in the book subdir, together with the .opf file, is this correct?
If I get You correctly I should prepare a .opf file to use it with "calibredb set_metadata ...", right?
or should I use "calibredb add ..."?
In any case, could You please point me to definition of .opf tags supported by Calibre? I was unable to find docs (aside from the very general stuff at www.idpf.org and dublincore.org).

If I update the .opf file in subdirs, can I then "rebuild db" from that?
Thanks for the quick answer!
ZioNemo is offline   Reply With Quote