View Single Post
Old 07-18-2023, 11:21 AM   #7
lrpirlet
Connoisseur
lrpirlet began at the beginning.
 
Posts: 96
Karma: 40
Join Date: Mar 2020
Location: Belgium (sorry, I am from the Walloon side of the country and I speak french only)
Device: PW3, Kobo Libra H2O
Unhappy Sorry custom columns inside a metadata plugin is a no-no

Hello, Thanks for your positive comments... It is always nice to receive appreciation and thanks for a hard work.

Quote:
Originally Posted by Jctrouss View Post
The tags received from babelio are stored in the "default" tags column.
Is it possible to store them in a custom column instead ? I would like to avoid mixing those tags with my "curated" tags.

DaltonSt uses this kind of solution in his "LCCCode" plugin to store "Fast Tags" in a well defined custom column.
For what concerns custom columns, I suggest you read another of my plugin : Babelio Notes. In that plugin, named sometime "GUI Plugin", I create custom columns and populate them via the plugin...

Unluckily, Babelio_db plugin is a metadata plugin that gets "integrated within calibre": the entry point is a calibre routine, the exit point is another calibre routine and many routine written into the metadata plugin are invoked by calibre...

I am very sorry but what you ask is NOT possible from within a metadata plugin. (I know, I have been looking hard and found that Kovid Goyal said "no no" for custom columns from inside a metadata plugin).
See both [Metadata Source Plugin] noosfere DB and [GUI Plugin] Noosfere_util, a companion plugin to noosfere DB
Noosfere is so rich that I wanted more custom columns.. so I over-used (or maybe ab-used) the publisher field in the metadata plugin then designed some procedures to distribute the info in a gui plugin...

I would suggest a workaround for you: just create a custom column named curated_tags, copy the tag columns to the curated_tags columns before using babelio_db...
good luck (I mean make a backup before any poking around)

Last edited by lrpirlet; 07-18-2023 at 11:33 AM.
lrpirlet is offline   Reply With Quote