Hydrogenaudio Forums

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: thegesus on 2010-04-17 08:20:24

Title: Multiple ID3v2 tags encountered
Post by: thegesus on 2010-04-17 08:20:24
Hi,

Can someone please explain what "Multiple ID3v2 tags encountered" means.  I'm running Foobar2000 v1.0.2.1 on Windows 7 and exclude all files except *.mp3 and *.flac.

Does it mean there are different ID3v1 tags to ID3v2 tags?

Is it possible for Foobar2000 to point to the file that is causing this error?

Thank you.
Title: Multiple ID3v2 tags encountered
Post by: lvqcl on 2010-04-17 10:52:19
Select files - Right click - Utilities - Verify Integrity.

Quote
Does it mean there are different ID3v1 tags to ID3v2 tags?

IIRC no, this means that some buggy program added (second) ID3v2 tag before existing ID3v2 tag instead of replacing it.
Title: Multiple ID3v2 tags encountered
Post by: joelzhao on 2010-04-17 11:58:21
This function can only detect the integrity, but can't fix it, I think what we need to do is select files - Right click - Utilities - Tagging - Mp3 tag types - un-select ID3v2 and update files.
Title: Multiple ID3v2 tags encountered
Post by: thegesus on 2010-04-18 01:08:33
This function can only detect the integrity, but can't fix it, I think what we need to do is select files - Right click - Utilities - Tagging - Mp3 tag types - un-select ID3v2 and update files.


But if I'm looking at the console message, "Multiple ID3v2 tags encountered", it doesn't point to a specific file. I've got 140,000 MP3/FLAC files, how do I know which ones have multiple ID3v2 tags? Is there a way to repair all tags?

It seems strange that I should have multiple ID3v2 tags in the first place. I only ever tag with Mp3tag (http://www.mp3tag.de/en/) and I re-tag all MP3/FLAC files.  Hmmm...
Title: Multiple ID3v2 tags encountered
Post by: shakey_snake on 2010-04-18 01:57:16
This function can only detect the integrity, but can't fix it, I think what we need to do is select files - Right click - Utilities - Tagging - Mp3 tag types - un-select ID3v2 and update files.


But if I'm looking at the console message, "Multiple ID3v2 tags encountered", it doesn't point to a specific file. I've got 140,000 MP3/FLAC files, how do I know which ones have multiple ID3v2 tags?

Well, what does the console say immediately before and after this message?
Title: Multiple ID3v2 tags encountered
Post by: thegesus on 2010-04-21 12:26:32

But if I'm looking at the console message, "Multiple ID3v2 tags encountered", it doesn't point to a specific file. I've got 140,000 MP3/FLAC files, how do I know which ones have multiple ID3v2 tags?

Well, what does the console say immediately before and after this message?


Watching: \\server\music
Album List refreshed in: 0:06.797370
Startup time : 0:18.874828
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
Multiple ID3v2 tags encountered
etc.

(I.E. it doesn't say anything before or after that would indicate which file the error is referring to.)
Title: Multiple ID3v2 tags encountered
Post by: Zarggg on 2010-04-21 16:12:31
I've seen this happen, too. If there is a better way at identifying the "faulty" files, I'd be interested in the solution as well.
Title: Multiple ID3v2 tags encountered
Post by: Yirkha on 2010-04-21 18:00:26
[font= "Courier New"]C:\>( for /r "C:\Music" %f in (*.mp3) do @id3test (http://yirkha.fud.cz/tmp/4bcf2d48_id3test.exe) -s "%f" ) | find ": Multiple ID3 tags "[/font]
Title: Multiple ID3v2 tags encountered
Post by: Zarggg on 2010-04-21 20:53:59
That is a batch script?
Title: Multiple ID3v2 tags encountered
Post by: Yirkha on 2010-04-21 21:20:28
Yes, that's what I was trying hint by starting it with the characteristic prompt [font= "Courier New"]C:\>[/font]
Title: Multiple ID3v2 tags encountered
Post by: thegesus on 2010-04-21 23:20:15
C:\>( for /r "C:\Music" %f in (*.mp3) do @id3test (http://yirkha.fud.cz/tmp/4bcf2d48_id3test.exe) -s "%f" ) | find ": Multiple ID3 tags "

Sorry that doesn't make much sense to me.

If that is a batch script as you say below, and I guess you're testing each .mp3 file against an application at yirkha.fud.cz: isn't this going to take an extraordinarily long time to test my 140,000 files?  Shouldn't Foobar2000 just be printing the filename that is returning the error??
Title: Multiple ID3v2 tags encountered
Post by: Yirkha on 2010-04-22 00:52:47
Of course you are supposed to download the id3test program and run it on your own machine.
Anyway, I can't give you a new build of fb2k which prints the filename but I can give you another solution which works now. If you don't like it, fine.
Title: Multiple ID3v2 tags encountered
Post by: Zarggg on 2010-04-22 03:24:12
@thegesus
If you add a " > someoutput.file" to the end of it, it will save the paths of the files it discovers in a plaintext file for you. Almost as good.

Unfortunately for me, it totally fails with file and folder names that have Unicode characters. Still, it gives a place to start.
Title: Multiple ID3v2 tags encountered
Post by: thegesus on 2010-04-22 04:05:50
@Yirkha/Zarggg: Sorry I am missing something. Is this something you run through Foobar itself? Could you please provide just a little bit more information as to how I can get a list of all the files in my library that are returning this error? (a text file is great).

Thanks.
Title: Multiple ID3v2 tags encountered
Post by: Yirkha on 2010-04-22 13:51:51
Oh noes, getting Unicode to work for console stuff is such a pain...
Also here are some more detailed usage instructions.

1. Create a folder - for example "id3test" on your desktop.
2. Download the new updated version of the id3test (http://yirkha.fud.cz/tmp/4bd0441d/id3test.exe) program there.
3. Start Command prompt.
4. Go to the folder above (e.g. "cd %USERPROFILE%\Desktop\id3test")
5a. Type "[font= "Courier New"]id3test C:\Music[/font]" to scan for all MP3 files under C:\Music and print a lot of information about them.
5b. Type "[font= "Courier New"]id3test -s C:\Music[/font]" to scan for all MP3 files under C:\Music and print only how many ID3 tags are in them.
5c. Type "[font= "Courier New"]id3test -s C:\Music | find ": Multiple ID3 tags"[/font]" to scan for all MP3 files under C:\Music and print only information about those which have multiple ID3 tags.
5d. Type "[font= "Courier New"]id3test -s C:\Music | find ": Multiple ID3 tags" > output.txt[/font]" to scan for all MP3 files under C:\Music and write only information those which have multiple ID3 tags to the output.txt file.

Note: Displaying extended characters in a console window only if the current font is a fixed-pitch Unicode font (e.g. "Lucida Console"). It does not work with the console font named "Raster Font".
Title: Multiple ID3v2 tags encountered
Post by: Zarggg on 2010-04-22 17:41:52
I wasn't saying it was impossible, Yirkha.  TBH, I didn't have much time to work on it at the time I posted. So mea culpa on that. It's still a useful little app.
Title: Multiple ID3v2 tags encountered
Post by: mrinferno on 2010-04-22 23:16:01
cool!
i had noticed some files generating the multi tag message a couple months ago (other thread (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=77351&view=findpost&p=689822))

this id3test is smokin' fast.  it ripped through 15K in a couple minutes.

still would be nice if the console error spit back the path of the files, but this is a very sweet workaround.
Title: Multiple ID3v2 tags encountered
Post by: shakey_snake on 2010-04-23 03:31:01
For future notice, if the command line scares anyone, foo_verifier (http://www.foobar2000.org/components/view/foo_verifier) can do the same sort of reporting. Although, I doubt it is as fast since it does a number of other checks as well.
Title: Multiple ID3v2 tags encountered
Post by: u-neeks on 2010-04-23 04:46:47
You can remove it re-taging (erase all tags and write it again), I did it to hundreds of files at once without any problem but do a backup first. Just throw the files to the playlist, select all and right click/properties, select all tags and copy, tools/remove tags... apply, select all again... paste all tags and apply.
Title: Multiple ID3v2 tags encountered
Post by: Yirkha on 2010-04-23 13:36:18
I wasn't saying it was impossible, Yirkha.  TBH, I didn't have much time to work on it at the time I posted. So mea culpa on that. It's still a useful little app.
Nah, I spent some time trying to make the first version work properly and failed, so no wonder it didn't work for you too
I had to add recursive folder enumeration to the program itself and custom output function to spit out Unicode, that's the pain.
Title: Multiple ID3v2 tags encountered
Post by: Zarggg on 2010-04-23 14:37:09
Well, either way, it helped me eliminate the multiple tags issue. So, thank you!
Title: Multiple ID3v2 tags encountered
Post by: thegesus on 2010-04-24 13:26:35
Also here are some more detailed usage instructions.
(...)


Great instructions. Thank you!
Title: Multiple ID3v2 tags encountered
Post by: thegesus on 2010-04-25 08:25:55
Also here are some more detailed usage instructions.
(...)
Great instructions. Thank you!

Edit: (Sorry I don't know how to edit my original post)

For those that want to correct their tags, once you have produced the output file "output.txt" simply open that file and replace the text ": Multiple ID3 tags (2)" with nothing (ctrl+h in notepad) and then save the file as .m3u.

You can then open that .m3u file with most Mp3 tagging programs, including my personal favourite, mp3tag - http://www.mp3tag.de/en/ (http://www.mp3tag.de/en/) - to correct the entire batch at once.
Title: Multiple ID3v2 tags encountered
Post by: nevets1219 on 2010-09-10 01:09:07
I just decided to go through my collection and start fixing this exact issue. Using the above, I am able to find and create a list of files that I need to "fix". What I did was un-select ID3v1 and ID3v2, select APEv2, and then update. Then I would un-select APEv2 and select ID3v2 and ID3v1. I tested this on a small subset of files and it seems to work just fine. Will I run into any trouble with this approach? Will any tags (except the extra ID3v2) be lost?
Title: Multiple ID3v2 tags encountered
Post by: callisto on 2010-09-10 02:18:29
you'll definitely lose embedded album art. don't know of other things.
Title: Multiple ID3v2 tags encountered
Post by: nevets1219 on 2010-09-10 17:30:14
Alright, good to know! Thanks!

Do you or anyone have any alternative method to fixing this issue then?
Title: Multiple ID3v2 tags encountered
Post by: dano on 2010-09-10 22:30:37
Use Mp3tag. Select some files, Press Ctrl+X, then Ctrl+V

Make sure to select "Remove ID3v2" at Options/Tags/Mpeg
Title: Multiple ID3v2 tags encountered
Post by: adamf9898 on 2013-09-06 01:29:13
5d. Type "id3test -s C:\Music | find ": Multiple ID3 tags" > output.txt" to scan for all MP3 files under C:\Music and write only information those which have multiple ID3 tags to the output.txt file.


wow this really helped alot!!

just want to make sure though so i am going to ask....

what do i need to do after i have found all the mp3 files that have multiple id3 tags? i mean how to fix them? thanks!
Title: Multiple ID3v2 tags encountered
Post by: adamf9898 on 2013-09-07 08:28:25
well , i couldnt find the option to edit my post sorry for making double post but....

To disable error message popups during playback"

    Click on the File Menu > Preferences > Advanced
    In the right pane, expand the "Playback"
    Uncheck "Show error messages popups"

i have decided to to the above because of the many thousands of mp3s that kept popping up this message kept occuring... so i have just decided to have the messages not popup anymore.
SimplePortal 1.0.0 RC1 © 2008-2019