beetbox / beetbox/pyacoustid

Avoid assertion failure in Chromaprint library

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
408
Forks
69
PR merge metrics
No merged PRs in 30d

Description

As detailed in [this beets bug](http://code.google.com/p/beets/issues/detail?id=515), 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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Python code that invokes the Chromaprint library and inspect how sample count and channel count are passed through. Reproduce the non-divisible sample-count case described in the issue; done means the input is handled before the library call without triggering its assertion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.