Help - Search - Members - Calendar
Full Version: Comparing Two Music Collections Via Tcp/ip
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
Annuka
Lets say we have two computers on the Internet. Both of them has a lot of music on them. I want to compare the collections - get a list of identical music.

1. Assume that the files are called something different on each computer
2. Assume that the files have been tagged/replaygained differently on each computer

With 1 alone I could just do a md5sum on both computers and compare those values. It would be rather fast.

But 2 requires that I ignore the tags/replaygain info out. This could be done by:
- copying the file
- stripping the tags
- setting replaygain info to zero
- calculating the md5sum
- deleting the file

This would indeed be slow. So I would need a lookuptable with md5sum/file => md5sum/audio_data

Any ideas/comments?
qristus
QUOTE (Annuka @ Oct 10 2002 - 11:07 AM)
But 2 requires that I ignore the tags/replaygain info out. This could be done by:
- copying the file
- stripping the tags
- setting replaygain info to zero
- calculating the md5sum
- deleting the file

This would indeed be slow. So I would need a lookuptable with md5sum/file => md5sum/audio_data

Any ideas/comments?

I guess with a bit of knowledge about the different streamformats you could make an md5sum calculator that ignored everything but the actual audio data... Shouldn't be that difficult as those things mostly are well-documented. And it would be much quicker than first stripping the tags and then summing.
Joe Bloggs
but what if they were encoded from different rips??
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.