View Single Post
Old 01-24-2025, 01:40 PM   #10233
enquidu
Junior Member
enquidu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2023
Device: none
Hello,

Is there a way to prepend a string to all fandom tags that don't match a given list?

For example, I have all my Hobbit and LotR tags automatically renamed to "Tolkien.Hobbit" and "Tolkien.LotR" but my Stranger Things tag is just "Stranger Things (TV 2016)". Is there any code I can put in after add_to_replace_metadata, that if it the fandom tags don't match a given list of tags (in this case, if they don't start with "Tolkien." or match "Stranger Things (TV 2016)"), then to put "_Misc." in front of each tag that doesn't match?

I'd like to be able to see at a glance which fandom tags need to be cleaned up and to reduce the clutter from random one-off fandoms in my fandom tags list and I think this might be the way to do it.

Thank you!
enquidu is offline   Reply With Quote