# Multiple target fields in actions?

**URL:** https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044
**Category:** Support
**Created:** [July 11, 2015, 1:02am UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044 "2015-07-11T01:02:38Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![aax](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/edb3f5/32.png) [@aax](https://community.mp3tag.de/u/aax)
#### Post date: [July 11, 2015, 1:02am UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/1 "2015-07-11T01:02:38Z")

</div>

Is there any way to set multiple target fields for an action (semicolon and \\ don't work). If not, could it be added in the future?  
It would cut down a lot on the mess in some of my action groups. A prime example would be replace and regex replace actions with some standard cleanup & fixes on all of the text tags in files.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [July 11, 2015, 5:43am UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/2 "2015-07-11T05:43:47Z")

</div>

No. You have to do it individually.  
Also, I can hardly imagine replace actions that have to deal with the same text in several fields. If you fill the fields properly, you will hardly have any redundant information (with the possible exception of ALBUMARTIST and ARTIST).

---

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [August 2, 2015, 9:45am UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/3 "2015-08-02T09:45:24Z")

</div>

> [@ohrenkino](#):
>
> Also, I can hardly imagine replace actions that have to deal with the same text in several fields. If you fill the fields properly, you will hardly have any redundant information (with the possible exception of ALBUMARTIST and ARTIST).

Here are some reasons:  
[Spaces, ss, threepoints, quotes.mta](http://users.atw.hu/piacter/Spaces,%20ss,%20threepoints,%20quotes.mta)  
[Correcting names FLAC.mta](http://users.atw.hu/piacter/Correcting%20names%20FLAC.mta)  
[Correcting names ID3v2.3.mta](http://users.atw.hu/piacter/Correcting%20names%20ID3v2.3.mta)  
So I'm interesting, too.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 3, 2015, 10:59am UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/4 "2015-08-03T10:59:23Z")

</div>

> [@incifinci](#):
>
> Here are some reasons:  
> [Spaces, ss, threepoints, quotes.mta](http://users.atw.hu/piacter/Spaces,%20ss,%20threepoints,%20quotes.mta)  
> [Correcting names FLAC.mta](http://users.atw.hu/piacter/Correcting%20names%20FLAC.mta)  
> [Correcting names ID3v2.3.mta](http://users.atw.hu/piacter/Correcting%20names%20ID3v2.3.mta)  
> So I'm interesting, too.

As these actions apply to more or less any field why not use \_ALL?

---

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [August 3, 2015, 5:10pm UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/5 "2015-08-03T17:10:23Z")

</div>

> [@ohrenkino](#):
>
> As these actions apply to more or less any field why not use \_ALL?

Salut! ![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")

\_ALL not, because (for example) I do not want to use them for CUESHEET tag. By the way, would be great, too, something like \_ALL\_EXCEPT\_OF...

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 3, 2015, 6:00pm UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/6 "2015-08-03T18:00:06Z")

</div>

> [@aax](#):
>
> Is there any way to set multiple target fields for an action ...?

Proposals ...

**1. Action "Format value" Field .......: TEMP Format string: 'Test' 2. Action "Format value" Field .......: TEMP Format string: $repeat(%TEMP%'+++',4) TEMP ==\> 'Test+++Test+++Test+++Test+++' 3. Action "Guess values" Source format ..: %TEMP% Guessing pattern: %TAGFIELD1%+++%TAGFIELD2%+++%TAGFIELD3%+++%TAGFIELD4%+++ TAGFIELD1 ==\> 'Test' TAGFIELD2 ==\> 'Test' TAGFIELD3 ==\> 'Test' TAGFIELD4 ==\> 'Test' ... or ... 1. Action "Format value" Field .......: TEMP Format string: $repeat('Test+++',4) 2. Action "Guess values" Source format ..: %TEMP% Guessing pattern: %TAGFIELD1%+++%TAGFIELD2%+++%TAGFIELD3%+++%TAGFIELD4%+++ TAGFIELD1 ==\> 'Test' TAGFIELD2 ==\> 'Test' TAGFIELD3 ==\> 'Test' TAGFIELD4 ==\> 'Test' ... or ... 1. Action "Guess values" Source format ..: $repeat('Test+++',4) Guessing pattern: %TAGFIELD1%+++%TAGFIELD2%+++%TAGFIELD3%+++%TAGFIELD4%+++ TAGFIELD1 ==\> 'Test' TAGFIELD2 ==\> 'Test' TAGFIELD3 ==\> 'Test' TAGFIELD4 ==\> 'Test'**

DD.20150803.2200.CEST

---

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [August 3, 2015, 6:17pm UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/7 "2015-08-03T18:17:06Z")

</div>

> [@DetlevD](#):
>
> Proposals ...

😳 ...

😳 ...

![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") !!!

![:sorcerer:](https://community.mp3tag.de/uploads/default/original/1X/73535d0e07591636841ac7aadccc8f7ff56e7807.gif ":sorcerer:") ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:")

![:music:](https://community.mp3tag.de/uploads/default/original/1X/2ba05d1ade5eb0d15fc173be6f717dbe63890a70.gif ":music:")

Many thanks, Detlev!

(And now I understood your previous proposal, too. ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:") )

---

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [August 8, 2015, 7:13pm UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/8 "2015-08-08T19:13:22Z")

</div>

Detlev, it seems, you offered me a non-working solution. ☹ The case of blank fields after guess values is not resolved: [Empty tag-field in "FLAC / Vorbis Comment" tag?](https://community.mp3tag.de/t/15332/1)

I ran into it, too.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 9, 2015, 1:00am UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/9 "2015-08-09T01:00:14Z")

</div>

> [@incifinci](#):
>
> Detlev, it seems, you offered me a non-working solution. ☹ The case of blank fields after guess values is not resolved: [Empty tag-field in "FLAC / Vorbis Comment" tag?](https://community.mp3tag.de/t/15332/1)I ran into it, too.

I did not offer a "non-working solution", but a proposal, ...  
which works at least for the ID3v2 tag, I have checked this before publishing, ...  
what to do with it, that's your business.

Here in this thread, it was previously unknown that you want to assign _empty values_ to tag-fields.  
As you now found out, Mp3tag cannot deal with FLAC files in the wanted way, ...  
when one or more empty tag-fields occur in the use of the action "Guess values".

The problem with FLAC files has been already mentioned there ...  
[Empty tag-field in "FLAC / Vorbis Comment" tag?](https://community.mp3tag.de/t/15332/1)

If there is displayed in the dialog "Extended Tags" one tag-field or more, having no value, ...  
then a manual "Save tag" [Ctrl+S] will remove these tag-fields.

DD.20150809.0633.CEST

---

<div class="post-metadata">

### Author: ![incifinci](https://community.mp3tag.de/user_avatar/community.mp3tag.de/incifinci/32/6526_2.png) [@incifinci](https://community.mp3tag.de/u/incifinci)
#### Post date: [August 9, 2015, 10:36am UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/10 "2015-08-09T10:36:47Z")

</div>

Thank you for quick response, Detlev. Your proposal was valuable anyway for me, as I wrote earlier - it gave me an excellent idea.

> [@DetlevD](#):
>
> If there is displayed in the dialog "Extended Tags" one tag-field or more, having no value, ...  
> then a manual "Save tag" [Ctrl+S] will remove these tag-fields.

I found only this way, too\*. Unfortunate. ☹ I think, this behavior limits in 90% the using value of guess value function - really, if use it on thousands of files (and this is the purpose of tag redactors), we can be sure maximum in presenting of TITLE tag, not any more.

And, IMO, the importance of mp3, lossy compression, with ID3v2, melt into air today. I use it only in my Sansa clip, but redact flac files. For most of us, flac is THE music file.

So, after 8. comments, we are again in the start, where [aax](http://forums.mp3tag.de/index.php?showuser=16700) began: Multiple target fields in actions?...

\*By the way: "manual" resaving is manual, strictly?

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [August 9, 2015, 11:15am UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/11 "2015-08-09T11:15:25Z")

</div>

> [@incifinci](#):
>
> ... \*By the way: "manual" resaving is manual, strictly?

Hmm, so far as I can say for now, ...  
rewriting the entire tag structure into FLAC file by "Save tag [Ctrl+S]" ...  
works for all selected files at once, and removes empty tag-fields.  
I recommend that the developer Florian put some code into Mp3tag to avoid the creation of empty tag-fields in the FLAC tag.

DD.20150809.1515.CEST

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:25pm UTC](https://community.mp3tag.de/t/multiple-target-fields-in-actions/17044/12 "2026-02-09T12:25:45Z")

</div>


