Comments (10)
the number of seconds parameter needs to be at least 15 seconds, meaning only
15 seconds of the file is actually hashed. Obviously, you need to submit the
files first, before querying, so use 0 which will hash the whole file. Also,
after submitting files, make sure you send the table servers a SIGHUP signal
with: kill -s SIGHUP <pid>. Make sure the pid is the process id for the
tblservd that is running.
So, first submit all the files in your music collection directory:
./auscoutclient /path/to/audio/files/dir tcp://localhost:4005 2 0
Then to query the same files:
./auscoutclient /path/to/audio/files/dir tcp://localhost:4005 1 15.0
Original comment by [email protected]
on 29 Mar 2011 at 3:25
from audioscout.
It is alright for dur and part fields to be 0.
Original comment by [email protected]
on 29 Mar 2011 at 3:27
from audioscout.
[deleted comment]
from audioscout.
Still not working. Maybe my server config is not right.
Here are my steps.
1. ./metadatadb -d /home/soleo/audioscout-read-only/audio.db
2. ./auscoutd -d tcp://localhost:4000
3. ./tblservd -s 192.168.10.36 -p 4005 -i /home/soleo/audiodb
192.168.10.36 is my PC's IP, and I only use one PC to do the testing. I can see
all
the three programs are running, but when I use auscoutclient to query my audio
files, It didn't show the debug info in logs.
Original comment by [email protected]
on 29 Mar 2011 at 5:34
from audioscout.
[deleted comment]
from audioscout.
I am reading the code and find client only send cmd, snbframes and hash, not
sending toggles. Is sending toggles(in function audiohash) necessary for
quering? Maybe it is the cause of the problem.
Original comment by [email protected]
on 29 Mar 2011 at 9:14
from audioscout.
More information.
1. In Terminal shows the info below
(0) 02.mp3
1375 hash frames
Sending query ...
Recieved: not found
2. In syslog
Mar 29 17:52:09 soleo-desktop tblserv[2064]: SUBSCR: recieved
cmd=1,nb=1375,rows=0
Mar 29 17:52:09 soleo-desktop tblserv[2064]: WORKER40: do lookup for hash[1375]
Original comment by [email protected]
on 29 Mar 2011 at 9:59
from audioscout.
I'm sorry. You need to send a USER1 signal (not SIGHUP) to tell the tblservd
to merge tables. The SIGHUP terminates the process. So, after adding the new
files:
kill -s USR1 <pid>
Another thing: when you turn on the tblservd, do this:
./tblservd -s localhost -p 4005 -i /home/soleo/audio.db
The 192.168.10.36 address is for other pc's on your lan to access that
interface. You want the localhost. This tells the tblservd the address on
which to contact the auscoutd.
To get logging, you need to pass the -l flag with the desired logging level
(e.g. -l 7 for full logging)
Original comment by [email protected]
on 29 Mar 2011 at 4:15
from audioscout.
Thank you. It works.
Original comment by [email protected]
on 30 Mar 2011 at 2:59
from audioscout.
Original comment by [email protected]
on 4 May 2011 at 3:04
- Changed state: Done
from audioscout.
Related Issues (20)
- Real World Testing HOT 3
- Documentation HOT 4
- Request For 'cs' In Results To Client
- Missing Some Java Bindings classes in svn
- metadatadb: invalid option -- 'i' HOT 8
- High CPU Usage of auscoutd HOT 5
- Can not install on Linux HOT 4
- Always get the 'not found' on query HOT 12
- How should i deal with mpg123 sndfile samplerate and zmp? HOT 3
- how to get multiple results
- Can't compile on Centos HOT 1
- Unable to build following instructions : HOT 4
- e. HOT 1
- when submits, always get result: Received :id = 0
- Unable to build on freeBSD HOT 1
- Build/install process has hardcoded paths HOT 6
- pHashAudioConfig.h missing in trunk
- auscoutclient cannot open shared object file HOT 4
- Pre-Compiled Binaries HOT 2
- recieve_msg and send_msg timeout HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audioscout.