Compare mp3 files using Python.
Project description
python-compare-mp3
Compare files using Python.
Installation
pip install -U compare-mp3
Command-line usage
compare-mp3 a.mp3 b.mp3
Programmatic usage
from compare_mp3 import compare if compare('a.mp3', 'b.mp3'): print('Files contain the same audio')
Return values
compare_mp3.Result.SAME_FILE
Literally the same filecompare_mp3.Result.SAME_BITSTREAM
Files have the same bitstream (but may have different metadata)compare_mp3.Result.SAME_WAV
Files contain the same audio (as decoded by LAME)compare_mp3.Result.DIFFERENT
Completely different files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Built Distribution
compare_mp3-0.1.1-py3-none-any.whl
(803.3 kB
view hashes)
Close
Hashes for compare_mp3-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df969ecd180fd255875837d55877d1d370bc5bf4a60058755b84f4ce1c13e91c |
|
MD5 | 636fcb7207e3829c7c024ece54513e4c |
|
BLAKE2-256 | f08f45094a0635e5a89dfb6c4f6c354805d5eb828bc3ce6bbd5e9848114acc39 |