Hello,
i've build my first calibre plugin for a metadata source. It runs so far, an the data in the debug output looks fine.
However, only some of the standard metadata fields and none of the custom fields are filled in the GUI.
There are some threads about custom metadata, but i'm not shure if there reflects the latest API (i use calibre 5).
'overview' is a dictionary with the collected data from the metadata source.
This works:
Code:
mi.comments = str(overview['Überblick:'])
... and this not:
Code:
mi.publisher = str(overview['Leseprobe:'])
mi.tags = str(overview['Glossar:']).split('/')
mi.tags = [x.strip(' ') for x in mi.tags]
This works:
Code:
mi.set_identifier('pp-id', series_code + issuenumber)
... and this not:
Code:
mi.set('#subtitle', str(overview['Untertitel:']))
mi.set_user_metadata('#subtitle', str(overview['Untertitel:']))
Thanks for any hints!