I know this is a simple exercise, but I've hit a mental block
I want to move parts of a ID3 tag, into different parts.
Input:
Comment: Motown Records -- MTWN45
Output:
Publisher: Motown Records
Catalog #: MTWN45
Basically, I want to work out the logic of moving strings from a tag, into different tags.
This could be KEY and BPM information in the %comments%, but more importantly, in my case %Publisher% and %catalog #% .
I can then also then do the reverse, e.g. move KEY and BPM information into %comments% like this: KEY - BPM , etc.
There is usually a double minus/hyphen or on rare occassions, triple minus/hyphen separator, e.g
ABC XYZ -- xxx45
ABC LMNOP --- xxx1234
I tried ACTION - GUESS Value
Source: $regexp(%comment%,'.*(?= -- )',$1)
Guessing: %publisher%
^ I tried this exactly, before I made the post.
It did not work.
I did not mention this, because it was the most obvious thing to try ... and I'm learning some tricks,...but sorry, it did not work
I would have used a simple "Replace" action to replace 3 hyphens with just 2 as this would have unified the contents of the COMMENT field. If I treat that field again, I would have to distinguish the 2 cases again. This would not be necessary if the COMMENT field contents would be unified.