I've run into a problem defining a new action. I'd like to replace the DATE field in my vorbis tags with the ORIGINALYEAR field, but I can't get it to work.
What I have tried: Make a new action->replace. Then I specified Field->DATE Original->DATE Replace with->ORIGINALYEAR. But nothing happens
I'm not sure I'm doing it right, it seems the tool tries to replace a specific string. But I cannot leave the Original field empty.
Would it be possible to check first, if ORIGINALYEAR is empty and only replace DATE if it is not?
Thanks in advance for any help on that matter!
You can only replace what is already there.
So in fact, I think you want to copy one tag field to another.
There is a post in the FAQs for this task:
How to copy one field value to another field?
Example how to copy the content of the ARTIST field to the ALBUMARTIST field:
new action in an existing action group or make a new action group.
Action type: Format value
Format string: %artist%
Note: If you want to copy all possible values of a field (in case you have multiple artist fields), the internal scripting function $meta_sep can be used in the format string, e.g., $meta_sep(artist,\\\\)
For the conditional check use as
Format string: `$if2(%originalyear%,%date%)
Afterwards you have to remove the field DATE either in the extended tags dialogue or with an action (as part of an action group).
Thank you very much for your help!