Skip to content

Minimalistic search engine searching in audio fingerprints from Chromaprint

License

Notifications You must be signed in to change notification settings

acoustid/acoustid-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experimental version of AcoustID index

Building

Building from source code:

zig build

Running tests:

zig build test --summary all

Using via HTTP API

Create index:

curl -XPUT -v http://localhost:8080/1/_update

Add a fingerprint:

curl -XPOST -d '{"changes": [{"insert": {"id": 1, "hashes": [1,2,3]}}]}' -v http://localhost:8080/1/_update

Delete a fingerprint:

curl -XPOST -d '{"changes": [{"delete": {"id": 2}}]}' -v http://localhost:8080/1/_update

Search for a fingerprint:

curl -XPOST -d '{"query": [1,2,3], "timeout": 10}' -v http://localhost:8080/_search