Here is a very late reply for your question:
http://eyed3.nicfit.net/ && http://snipplr.com/view.php?codeview&id=4025
Works in Ubuntu 12.04
Did the following: (you can also apt-get install instead of apt-fast)
sudo apt-fast -y install python-pip
apt-fast -y install python-eyed3
saved the python source for mp3md5.py fromhttp://snipplr.com/view.php?codeview&id=4025
in /usr/local/bin && chmod +x !$
running mp3md5 --help gives:
mp3md5: MP3 checksums stored in ID3v2
mp3md5 calculates MD5 checksums for all MP3's on the command line
(either individual files, or directories which are recursively
Checksums are calculated by skipping the ID3v2 tag at the start of the
file and any ID3v1 tag at the end (does not however know about APEv2
tags). The checksum is stored in an ID3v2 UFID (Unique File ID) frame
with owner 'md5' (the ID3v2 tag is created if necessary).
Usage: mp3md5.py [options] [files or directories]
Output this message and exit.
Output license terms for mp3md5 and exit.
Do not check existing checksums (so no CONFIRMED or CHANGED lines
will be output). Causes --update to be ignored.
Remove checksums, outputting REMOVED lines (outputs NOCHECKSUM for
files already without them). Ignores --nocheck and --update.
Instead of printing changes, update the checksum aand output UPDATED
Depends on the eyeD3 module (http://eyeD3.nicfit.net)
Copyright 2007 G raham P oulter
when the mp3md5 is run of a mp3 file with -u option, it adds some stuff to the ID3 V2 headers which is not visible to the apps like mpg123 or vlc, except that Tagging Time (the time of runnig mp3md5.py) is embedded as metadata in UTC format!
Not sure how to use this md5sum to manage the music collection in a database or some other way?