You could use a metadata plugboard.
Have a look at this link:-
https://www.mobileread.com/forums/sho...d.php?t=100949
Since this article there have been things added like GUI Plugins which I don't know anything about.
The metadata plgboard info is contained in Library Management thread of Calibre. The other is contained in the Plugins thread.
Brewjono