Hello,

I am getting some strange behaviour when using netcat with the CLI.  I
would like to write a script that starts a rescan and then waits until
the scan is finished before continuing:

echo "rescan" | nc server 9090

then poll the server with:

echo "rescan ?" | nc server 9090

I expect to receive "rescan 0" or "rescan 1"; however, the 'rescan ?'
command returns no response.  I do get a response if I send a command
like:

echo "info total albums ?" | nc server 9090

returns:

info total albums 645

Does anyone know how I can get the rescan status?


-- 
MerceanCoconut
------------------------------------------------------------------------
MerceanCoconut's Profile: http://forums.slimdevices.com/member.php?userid=46439
View this thread: http://forums.slimdevices.com/showthread.php?t=87556

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to