rabihmaa / audioscout

Automatically exported from code.google.com/p/audioscout
GNU General Public License v3.0
0 stars 0 forks source link

when submits, always get result: Received :id = 0 #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I follow the structions below:
./metadatadb -d /root/dbfile/audio.db -l 7 -p 4005
./auscoutd -d tcp://localhost:4005 -l 7
./tblservd -s localhost -p 4005 -i /root/dbfile/audio.db
and run the auscoutcliet for submit
./auscoutclient /submitdata/ tcp://localhost:4005 2 0 0
(0) 1.mp3
    3524hash frames

Sending metadata:    1.mp3              0  0  0  

Recieved: id = 0
***************************************************

(1) 2.mp3
    20926 hash frames

Sending metadata:    2.mp3             0  0  0

Recieved: id = 0

the question is why the received id have no change?

and then I query data file, the instruction I use is like:
./auscoutclient /submitdata/ tcp://localhost:4005 1 10 10

print like the following:

(0) 1.mp3
    904 hash frames

Sending query ...

Received: 1.mp3

****************Hit Enter for  next**********************

(1) 2.mp3
    904 hash frames

Sending query ...

Received: 2.mp3

****************Hit Enter for  next**********************

(2) 3.mp3
    904 hash frames

Sending query ...

Received: $[

****************Hit Enter for  next**********************

So I confused why Received is not the id num but the name of mp3 file?

My download software version is r69 and run on 2.6.16.60 x86_64 SUSE linux
MANY THANKS

Original issue reported on code.google.com by fuxinghu...@gmail.com on 23 Jul 2013 at 8:10