beetbox / pyacoustid

Python bindings for Chromaprint acoustic fingerprinting and the Acoustid Web service
MIT License
325 stars 66 forks source link

Avoid assertion failure in Chromaprint library #16

Open sampsyo opened 11 years ago

sampsyo commented 11 years ago

As detailed in this beets bug, the Chromaprint library fails an assertion if the sample count is not divisible by the channel count. We should check this before invoking the library.