# Mass substitution with \\ does not split tag

Hi there guys

I noticed that if I have COMPOSER tags on a few files formatted like for example:

``````Macdermot/G. Ragni/J. Rado
Nina Simone, A. Irving
``````

and I want to reach something like

``````Macdermot\\\\G. Ragni\\\\J. Rado
Nina Simone\\\\A. Irving
``````

that splits COMPOSER into separate tags so that a robust music player could read that as separate persons and not like a single one.

If I do it one file by one everything is OK, but if use a conversion action Mp3tag gives me the correct final result, that is Macdermot\\G. Ragni\\J. Rado but the COMPOSER tag is still a single one. If I open ALT + T and then click OK to save even with no mods, it finally split values..

Hope that I was able to explain it, otherwise please ask for details (not english mother-tongue)
Is there any solution here?
thanks guys, see you!

Perhaps this is misunderstanding.
The \\ is an indication for and in MP3tag that there should be a multi-value field
The split happens when the \\ is detected and another "save" happens. This is what you see when you check the files in the GUI.

When you apply an action, the \\ is saved in the tag but no further "save" happens - this happens again, when you check the file with the GUI.

If you want to have the same effect that after you got the \\ into the tag field and that splits the tag field, the you would have to create an action of the type "Split field" after the insertion of the \\.
So the action group would consist of (at least) 2 actions: one to get the \\, the other to use the \\ as indicator where to split the field.

QUOTE (blobber @ Mar 6 2017, 17:51) <{POST_SNAPBACK}>
... I noticed that if I have COMPOSER tags on a few files formatted like for example:
``````Macdermot/G. Ragni/J. Rado Nina Simone, A. Irving
``````

and I want to reach something like

``````Macdermot\\\\G. Ragni\\\\J. Rado
Nina Simone\\\\A. Irving
``````

that splits COMPOSER into separate tags so that a robust music player could read that as separate persons and not like a single one. ...

This should create a multi-value tagfield for the given testcases ... Action "Format value" ... or ... Convert "Tag-Tag" Field: COMPOSER Formatstring: \$replace(%COMPOSER%,'/','\\\\',', ','\\\\') From: Macdermot/G. Ragni/J. Rado Nina Simone, A. Irving To: Macdermot\\\\G. Ragni\\\\J. Rado Nina Simone\\\\A. Irving

DD.20170306.1951.CET

thanks both guys, I got it. I guess that if a further action is required there must be someone using the double slash for something else..

You could actually check if the column definition for composer looks something like this for "value":
\$meta_sep(composer,\\)

This would display all the seperate composer fields in one tabel cell, divided by a \\.

the point is not showing that tag as separate in Mp3tag itself, while see the correct persons names in music players.
As I seem to understand this last suggestion should have no effect on tag as it is saved, so in music players I will still see persons name as Foo Bar\\Bar Foo instead of Foo Bar; Bar Foo as shown when the ag is split

EDIT: or maybe I completely misunderstood that, sorry!