Duplicate artist problem? Interested in a tool to help fix?
In frustration with MM last night, I grabbed an java mp3 package and wrote a quick tool around it to report problems in my library. Using this, I was able to remove all of my duplicate artists from my ipod. Anyone interested? I could be persuaded to clean it up and make it available for download.
It reports: artist, title, and album tags that have leading or trailing spaces; inconsistent artist, title and album tags; and will complain if there are problems with the mp3 in general.
An excerpt:
M:\DJ Pantshead - Taco vs Doormouse.mp3
Damaged frame
M:\DJ QBert - Razorblade Alcohol Slide ezi.mp3
Leading or trailing spaces for Artist: 'DJ Q-Bert '
Leading or trailing spaces for Title: 'Razorblade Alcohol Slide '
Already have Artist 'DJ Q-Bert'. This one differs: 'DJ Q-Bert '
Already have Title 'Razorblade Alcohol Slide'. This one differs: 'Razorblade Alcohol Slide '
M:\Felix Da Housecat - Silver Screen Shower Scene (Laurent Garnier Mix).mp3
Already have Artist 'Felix da Housecat'. This one differs: 'Felix Da Housecat'
M:\FischerSpooner - Emerge (Adult Remix).mp3
Damaged frame
M:\Freezepop\Science_Genius_Girl_re.mp3
Already have Artist 'Freezepop'. This one differs: 'freezepop'
[1466 byte] By [
luxmatic] at [2007-11-9 12:23:42]

# 1 Re: Duplicate artist problem? Interested in a tool to help fix?
oh GOD YES!
That irritates me more than anything.
And it doesn't help that all the guilty-pleasures in my collection get duplicated over and over again.
I'd love you forever if you made it available. :)
# 2 Re: Duplicate artist problem? Interested in a tool to help fix?
OK then -
(First make sure you have a version of java installed. Grab one from http://java.sun.com if you don't have one. The preferred version here is 1.4.x, but any will probably work.)
This is really really simple to run... All you have to do is download and save off somewhere:
http://members.aol.com/luxmatic/mp3check.jar
Open up a command line wherever you saved the file and type:
java -jar mp3check.jar
It will give you instructions on how to use.
Please let me know if it works for you.
# 3 Re: Duplicate artist problem? Interested in a tool to help fix?
i got java 1.3.1_04, and it doesn't work,
so I'll install the new one and check out your program.
if I get it to work it'll be brilliant, thanks luxmatic
pierugg
# 4 Re: Duplicate artist problem? Interested in a tool to help fix?
java -jar mp3check.jar
i did, told me to specify a directory, i did it, and it didn't do anything.
So I used winrar to unpack the files to d:\mp3check .
then I did "java test" ,to run test.class located in d:\mp3check, see image (http://itextwin.free.fr/javaerro.gif) for errors.
Java -version is 1.4.1_03 and os is win98SE
Do you know why these errors occur?
thanks
pierugg
# 5 Re: Duplicate artist problem? Interested in a tool to help fix?
Originally posted by pierugg
i did, told me to specify a directory, i did it, and it didn't do anything.
So I used winrar to unpack the files to d:\mp3check .
then I did "java test" ,to run test.class located in d:\mp3check, see image (http://itextwin.free.fr/javaerro.gif) for errors.
Java -version is 1.4.1_03 and os is win98SE
Do you know why these errors occur?
thanks
pierugg
Sorry about that. Sure - I'll take a look. I'm much more used to packaging enterprise applications, than these little one-off things.
# 6 Re: Duplicate artist problem? Interested in a tool to help fix?
Originally posted by pierugg
i did, told me to specify a directory, i did it, and it didn't do anything.
So I used winrar to unpack the files to d:\mp3check .
then I did "java test" ,to run test.class located in d:\mp3check, see image (http://itextwin.free.fr/javaerro.gif) for errors.
Java -version is 1.4.1_03 and os is win98SE
Do you know why these errors occur?
thanks
pierugg
This is the right thing to do...
You should see at least the name of the directory it is scanning. It should say:
Scanning: <and the name of the directory you entered here>
Did it do this?
Don't forget, per the instructions, the full command looks like, for example:
java -jar mp3check.jar c:\music
Replace c:\music with your mp3 directory.
# 7 Re: Duplicate artist problem? Interested in a tool to help fix?
Originally posted by luxmatic
This is the right thing to do...
You should see at least the name of the directory it is scanning. It should say:
Scanning: <and the name of the directory you entered here>
Did it do this?
Don't forget, per the instructions, the full command looks like, for example:
java -jar mp3check.jar c:\music
Replace c:\music with your mp3 directory.
Sorry - replied to the wrong one. Don't extract the archive. Use java -jar mp3check.jar. See http://members.aol.com/luxmatic - added a small bit of info there.
# 8 Re: Duplicate artist problem? Interested in a tool to help fix?
Got it to work, it's perfect, thanks a lot
pierugg
# 9 Re: Duplicate artist problem? Interested in a tool to help fix?
Just got a bug : division by zero in CalculateLength.
Also i got a suggestion, would it be possible to report errors in a txt file, because sometimes the list of errors is so long that it doesn't fit in the msdos window, and as scrolling is impossible with msdos shell I have to check mp3s by small batches to see errors
thanks
pierugg
# 10 Re: Duplicate artist problem? Interested in a tool to help fix?
Originally posted by pierugg
Just got a bug : division by zero in CalculateLength.
Also i got a suggestion, would it be possible to report errors in a txt file, because sometimes the list of errors is so long that it doesn't fit in the msdos window, and as scrolling is impossible with msdos shell I have to check mp3s by small batches to see errors
thanks
pierugg
In Windows, you can send the output of any command you enter by adding "> outputfile.txt" after your command (no quotes!). The > means to send the output to the thing that comes right after it. So - if you type the same command I used as an example before and add that you'll have:
java -jar mp3check.jar c:\music > myerrors.txt
You'll have your output file. Nice, huh?
Also, on that error. There's not much I'll be able to do with those things if they are within the mp3 library I'm using. I don't have much time to study it and figure out the ins and outs of mp3 encoding. (Someday maybe!) If you can give me the full output of that error, it could help me at least deal with it more gracefully.
