View Single Post
Old 02-20-2011, 04:45 AM   #9
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: 12,354
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by meme View Post
Now I can also do per library customizations - to show only those custom fields for this library and save them per library name.
Have you found the field_metadata class/instance? (self.gui.db.field_metadata, code in library.field_metadata.py)? It contains data descriptions of all the fields in the current library, custom and standard. You can get column datatypes, sort terms, column headings, the meta2 column the data is in, and all sorts of other things from it.
chaley is offline   Reply With Quote