Hi, I need to copy a field to another field of the same song.
I followed the FAQ like here in the example below, but it doesn't work.
I made the following test copy ALBUMARTIST in COMMENT.
I chose ACTIONS(quick)=>FORMAT VALUE=>FIELD:ALBUMARTIST, FORMAT STRING:% comment%, once the ACTIONS is launched, not only does it not copy the ALBUMARTIST in the comment field, but it deletes it from ALBUMARTIST !!!
The same goes for the TAG - TAG conversions, in this case there is also the Preview which as you can see heralds the failure of the operation:
c: \ temp \ 01 - Money.flac "Pink Floyd" -> ""
Vers. 3.12 Language Italian/ English
Options> Tags MPeg Read (All) - Write (APEv2 and ID3v2 - ID3v2.3 ISO) - Remove (ID3v1, APE)
Tags APE Read (all) - Write (APEv2) - Remove (ID3v1, APE)
Am I doing something wrong?
Thanks for your answers
How to copy one field value to another field?
Example how to copy the content of the ARTIST field to the ALBUMARTIST field:
Create a new action in an existing action group or make a new action group.
Action type: Format value
Format string: %artist%
It works perfectly.
You assign the non-existent contents of comment to the field ALBUMARTIST ... One could say: you delete the contents of the field ALBUMARTIST. ANd that is the result that you got.
And to say it correctly: if there is no contents in a field then the field does not exist - there is no reserved space or anything for a field.
Your quotation form the FAQs is absolutely correct - but if you read thoroughly, then you find that here ALBUMARTIST is empty and should get the contents of %artist%.
Mapped to your case: COMMENT is empty and should get the contents of %albumartist%.
As @ohrenkino wrote: If you check carefully the space between your Format String %comment% and the button Preview, you can see NOTHING. (Compare it to my screen shot and the green rectangle).
This means, NOTHING will be written in your ALBUMARTIST tag.
If you execute such an action or convert, the target field will be overwritten by default. There is no "add it to the existing content" or "preserve existing content" by default.
Actually, you can enter a format string which may be composed of field variable references, string constants and scripting functions.
Even though we are now entering the world of semantics ... in this function you name the field (here: COMMENT) and then you define what should be written to it.
But in general, you analysis that you confused what to use for field and format string is correct.
Yes yes clear, in fact my final goal was to insert in the TITLE the content of "%album% -%title%", stupidly I got stuck in confusing the FIELD, which is rightly the field you want to enhance, with the FORMAT STRING which is where you want to get the information from.
It is very powerful and inside FORMAT STRING you can really do many things even with the help of the "scripting functions"
Thanks for the support!