I have setup my own Echoprint server, with all the prerequisites.
I am able to successfully ingest songs using either -
1. python ./fastingest.py -b ~/allcodes.json
Now I am having trouble in querying.
What I am doing-
-----------------------
for one of the songs ingested, I am :-
./echoprint-codegen ~/Music/myMusic/Kiss\ With\ A\ Fist.mp3 10 30
I get this :-
[
{"metadata":{"artist":"Florence and The Machine", "release":"Florence and The Machine - Lungs", "title":"Kiss With A Fist", "genre":"Alternative Rock", "bitrate":128,"sample_rate":44100, "duration":124, "filename":"/Users/vaibhav/Music/myMusic/Kiss With A Fist.mp3", "samples_decoded":330750, "given_duration":30, "start_offset":10, "version":4.12, "codegen_time":0.049158, "decode_time":0.179580}, "code_count":930, "code":"eJy...}]
Having trouble with:-
----------------------------
Querying now.
How do i query.
If i do this (see below)
then, I get
<type 'exceptions.KeyError'> at /query
'Missing a result, unusable response in 1.1.10'
and If i :-
with Posting below Json
[
{"metadata":{"artist":"Florence and The Machine", "release":"Florence and The Machine - Lungs", "title":"Kiss With A Fist", "genre":"Alternative Rock", "bitrate":128,"sample_rate":44100, "duration":124, "filename":"/Users/vaibhav/Music/myMusic/Kiss With A Fist.mp3", "samples_decoded":330750, "given_duration":30, "start_offset":10, "version":4.12, "codegen_time":0.049158, "decode_time":0.179580}, "code_count":930, "code":"eJy....}
]
the I get this:-
{"total_time": 0, "score": 0, "ok": true, "query": "", "message": "query code length is too small", "qtime": 0, "match": false, "track_id": null}
HOW DO I QUERY ??? please help