Git Product home page Git Product logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
[deleted comment]

from audioscout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
[deleted comment]

from audioscout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
Thank you. It works.

Original comment by [email protected] on 30 Mar 2011 at 2:59

from audioscout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024

Original comment by [email protected] on 4 May 2011 at 3:04

  • Changed state: Done

from audioscout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.