photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: rik on April 05, 2021, 10:45:00 AM

Title: How to automatically apply a metadata template while writing back metadata
Post by: rik on April 05, 2021, 10:45:00 AM
How to automatically apply a metadata template with a certain name while writing back metadata?

I  know it can be done while importing a file, but I would like to it when writing back metadata.

Thanks,
Rik
Title: Re: How to automatically apply a metadata template while writing back metadata
Post by: Mario on April 05, 2021, 10:59:15 AM
There is no way to do this. Metadata Templates are either manually run by you, or after a file has been indexed/updated.
What do you want to achieve during write-back? Write-back is very complex, and can involve all kinds of updates, re-index operations, version chain propagation etc.
Title: Re: How to automatically apply a metadata template while writing back metadata
Post by: rik on April 05, 2021, 12:21:15 PM
Thanks. I (still) use IPTC Supplemental Categories in my jpg images. When such an image is read into IMatch, this value is converted to several other fields (e.g. a keywords field).
But since other software I use uses the IPTC Supplemental Categories field, I have a metadata template that
fills tag
XMP::photoshop\SupplementalCategories
from this data
{File.MD.IPTC::ApplicationRecord\25\Keywords\0|replace:|==.}
(note, it also converts the "|" to a ".")

This is done in a metdata template.
Now, I first have to apply this metadata template to every file in which I modify the IPTC Supplemental Categories field, and then I have to write the metadata. It would be wonderful if this metadata template could be executed automatically when writing the metadata.

Thanks.
Title: Re: How to automatically apply a metadata template while writing back metadata
Post by: Mario on April 05, 2021, 12:51:43 PM
Feel free to add a feature request in the feature request board.
This will tell us if other users would like to have something like this too.
Title: Re: How to automatically apply a metadata template while writing back metadata
Post by: rik on April 05, 2021, 04:19:56 PM
Thanks and done, see https://www.photools.com/community/index.php?topic=11224.0 (https://www.photools.com/community/index.php?topic=11224.0).