Quote:
Originally Posted by JimmXinu
Code:
category=>^Sherlock$=>Sherlock Holmes(All Media Types)&&category=>^Sherlock$
You can't use the same metadata key word (category) in both the replacement part (before &&) and the conditional part (after &&) of a replace line. Also, it isn't needed in this case. The replacement part does the same thing the conditional would.
|
Oh, I copied it from my "characters" line and only changed it to category. And after it worked I did not think further...
Quote:
Originally Posted by JimmXinu
I think you want something more like:
Code:
category=>^(.*Sherlock.*)$=>Sherlock Holmes(All Media Types)\,\1
That says: "Any category that contains 'Sherlock' with anything before and/or anything after it, change to two entries, 'Sherlock Holmes(All Media Types)' and whatever it was before (the '\1').
|
That worked.
Quote:
Originally Posted by JimmXinu
I don't use hierarchical tags, but from what I understand, you could do this:
Code:
category=>^(.*Sherlock.*)$=>Sherlock Holmes(All Media Types).\1
|
Since the multiple category works - I donīt think I will use/need hierarchical tags. Anyway thanks for the effort!