summaryrefslogtreecommitdiff
path: root/audio/fingerprint.py
blob: 3e666a4f7cca5dc7f24cd3602d92aff4318e123e (plain)
1
2
3
4
5
import acoustid

# TODO: if two fingerprints are the same, the test pass, otherwise not.
print(acoustid.fingerprint_file("audio/resources/song.mp3")[1])
print(acoustid.fingerprint_file("song2.mp3")[1])