worldveil / dejavu

Audio fingerprinting and recognition in Python
MIT License
6.36k stars 1.43k forks source link

AttributeError when song not found #6

Closed Wessie closed 10 years ago

Wessie commented 10 years ago

Similar to issue #1, instead it now throws an AttributeError with the following traceback

>>> recognizer.read("test.wav")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/dejavu/recognize.py", line 40, in read
  File "build/bdist.linux-x86_64/egg/dejavu/fingerprint.py", line 205, in align_matches