I noticed when running actions on a tag field if the field does not exist in the tag, the action will create the field anyway with nothing in it!
Actions such as Replace or Case Conversion seem to imply that they will affect only existing fields whereas Format Value you would imagine will always result in a field being written.
Should some actions only write to the field if the tag already contains that particular field to prevent the empty fields being created?
These actions should only affect existing fields and not create empty fields in the tag
Case conversion
Convert codepage
Replace
Replace with regular expression
e.g. Replace "The" => "the" in comment field. Run on a group of files. Any file which didn't already have a comment field will now have an empty comment field.
1 Load an mp3 having no CJJTEMP tag
2 Convert Actions with an Action Group containing one Action:
Replace "CJJTEMP": "a" -> "a" (case-sensitive comparison)
Now the file has an empty CJJTEMP tag. Every time.
What I am seeing is this. After the action is run, the extended tags dialog shows the empty field but it is not written into the tag yet. If you OK out of the extended tags dialog the tag is updated - the empty field disappears and is not written into the tag. However if you cancel out of the extended tags dialog and then click save button the empty field disappears from the extended tags dialog but is written into the tag.
After the action is run, the extended tags dialog shows the empty field but it
is not written into the tag yet.
Confirmed.
However if you cancel out of the extended tags dialog and then click save
button the empty field disappears from the extended tags dialog but is written into the tag.
Confirmed - my recipe needs a final Save to be correct.