I'm working on a metadata source plugin that fetches Dewey Decimal and Library of Congress data. That part of it is working fine -- when it finds a piece of information, it stores it as an identifier. What I'm trying to do next is calculate a genre to plug into a custom column.
Ive got something like this so far:
Code:
mi = Metadata(title, authors)
mi.identifiers = identifiers
mi.set('#genre','im a test')
self.clean_downloaded_metadata(mi)
result_queue.put(mi)
But genre doesn't seem to get populated. Similar results with the .set_userdata method. Whats a better way to do this?
Thanks!