View Single Post
Old 03-11-2011, 04:59 PM   #8
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,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
BTW: the only ways to get custom metadata into an instance of Metadata are to put it there yourself or to call get_metadata. It will never be there if you create new instances of Metadata(), with or without a subclass.

The following should work to add custom metadata to a Metadata instance:
Code:
mi.set_all_user_metadata(db.custom_field_metadata())

Last edited by chaley; 03-11-2011 at 05:07 PM.
chaley is offline   Reply With Quote