I have a problem at writing a script with multivalue tags for foobar2000.
Multivalue tags have to be seperated with "\\" in mp3tag and are read as "; " in foobar.
My Goal is to transform the ", " at Genre & Style at discogs.com into "\\" in mp3tag and "; " in foobar.
I tried this with two different regexpreplace commands, but both had the same problem:
- the script runs well, mp3 tag shows "\\"
- but foobar shows also "\\" instead of "; " as it is supposed to do. it doesn't recognize the multivalue tag. instead it shows one genre tag like this "GenreA\\GerneB".
- only after saving the mp3 again in mp3tag without any changes, foobar shows "; " correctly and recognizes the multivalue tag.
My two regexpreplace commands that worked so far where the following:
regexpreplace ", " "\\\\\\"
regexpreplace ", " "\\\\\\\\"
Any idea where the problem lies? Is it my script or is it a problem of mp3tag? Are there any working scripts with multivalue tag?
Now, I know "" has a special function in mp3tag script language, so i tried with different repetitions of that sign, here are the results:
\ -> error message
\\ ->
\\ -> errror message
\\ ->
\\\ -> errror message
\\\ -> \\
\\\\ -> error message
\\\\ - > \\
\\\\\ -> error message
\\\\\ -> \\
My script can be seen here:
[WS] Discogs (pone mod)
Don't get confused by all the comment on the right side. I made them in respect to dano and his original script and documented every little change I made. The problem is in line 146.
(I changed only the seperator within discogs styles so far, of course the seperators between discogs style and discogs genre and within discogs genre will follow when it works. They are now seperatad by "; ")
I also read this similar problem of another user, but I don't think it is the same issue because in my case the tag is correctly recognized after another saving:
/t/8307/1
I use mp3tag v.45a and foobar2000 v0.9.6.9 (both newest)
The discogs release I experimentated with was this http://www.discogs.com/release/22313 (but I don't think that makes a difference)