View Single Post
Old 12-01-2018, 07:13 PM   #1
ZioNemo
Enthusiast
ZioNemo began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
Programmatically adding custom columns

What is the interface to add custom columns? (stand-alone program run via "calibre-debug")


Background:

I'm trying to programmatically prepare and populate a full library and I have several non-standard info to handle.

If I understand it correctly I can stick arbitrary data to Metadata instances before I call "db.add_books(my_list)", but, in order for this to work the custom columns should already exist.
I would like to avoid creating them manually in the UI.

TiA!
ZioNemo is offline   Reply With Quote