View Single Post
Old 07-01-2021, 06:33 PM   #6105
Courge
Junior Member
Courge began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2021
Device: Kindle paperwhite
Metadata - Avoid multiple identical replacements

Hello,

I gather the "category" metadata in a custom column and I would like to simplify the metadata while avoiding multiple identical values.

For example, some fanfics are tagged as:
  • The Silmarillion and other histories of Middle-Earth - J. R. R. Tolkien
  • The Lord of the Rings - All Media Types
  • The Hobbit - All Media Types
  • TOLKIEN J. R. R. - Works & Related Fandoms

I set the personal.ini file to:
Code:
add_to_replace_metadata:
 category=>The Silmarillion and other histories of Middle-Earth - J. R. R. Tolkien=>Tolkien
 category=>The Lord of the Rings - All Media Types=>Tolkien
 category=>The Hobbit - All Media Types=>Tolkien
 category=>TOLKIEN J. R. R. - Works \& Related Fandoms=>Tolkien
Which gives me in the "Category" custom column: "Tolkien, Tolkien, Tolkien, Tolkien".

Is it possible to either pick up (and replace) only the first tag in "category" or remove identical replacements?

Thank you!
Courge is offline   Reply With Quote