#1 2011-03-08 19:03

Lindon
Member
Registered: 2011-03-08
Posts: 2

Calculate hash from audio part of mp3 files

Use the hash from the audio part of the file for renaming. Such function would ignore the metadata part of the files (this could also be possible for image files).

Mp3tag (http://www.mp3tag.de/en/) allows the calculation of only the audio part of the file, but only when exporting the metadata of the files, not for renaming.

The function is %_md5audio% and is described in here (http://help.mp3tag.de/options_export.html).

Such function would be very useful since the file signature of audio is constantly changing as we add or remove metadata from the files. Using the audio part, that stays immutable would overcome this. It would also be useful for detecting duplicates.

Thank you very much

Offline

#2 2011-03-08 19:15

Lindon
Member
Registered: 2011-03-08
Posts: 2

Re: Calculate hash from audio part of mp3 files

I have found source code written in go that's is capable of reading such information. Perhaps it's useful for implementation guide for you...

https://gist.github.com/805058

Offline

Board footer

Powered by FluxBB