Quote:
Originally Posted by DaltonST
A prefix can be anything of any length.
An example of what can be done with the new Tag Prefix Suffix Rules Table in the Scrub Tags tool of Job Spy (that I intend to supersede entirely the 'prefix' values in Library Code's options once the new JS functionality is released):
Example: Add a prefix of "Fiction" to any tag that does not already start with "Fiction" but has "Romance" or "Suspense" or "Science" or "Mystery" in it, or otherwise matches the rule's regular expression matching requirement.
I use tags with implicit hierarchical formatting like "Factual:History-War-WWII-Africa-North Africa-Libya" and "Fiction:Science-Space Opera" and "Fiction:Romance-Paranormal-Vampires".
|
OK, so it is adding something that one of your other plugins might find useful.
Quote:
I develop my plug-ins for myself as their first user, and I would never want any Tag that had "--"'s in the middle arbitrarily split into 2 or 3 pieces as has been suggested. Such splitting should be rule-based on an individual user basis. I might add that capability to Job Spy too.
|
Yes, and as you so capably demonstrated, adding an extra option to the configuration dialog to enable a split like this would be simple. The amount of time you took to add that prefix would be roughly the same time as to add an option to do what @knobunc wanted. And of course, where to do the split,or even if it makes sense at all, is dependent on the tag type. The FAST tags are clearly using "--" in a way that represents a hierarchy. The examples you use above appear to use just "-" (before you added the prefix). I don't know about any of the other tags that Library Code as I haven't looked at them closely.
Adding splitting like this to JobSpy is fine, but it does mean the user has to install and configure that plugin. And they have to run two separate steps each time they update metadata.
But, it is good that you finally understand what was being asked.