> Ok, this does give me some data. Don't know whether it's correct data,
but  
> it isn't empty :-)

Good.  Let's assume it's correct.

So you need to pipe that through lame within the script.

> ../soundcard.sh: line 2: 17034 Broken pipe
> perl -e 'use Socket qw(:crlf); print $CRLF'

I'm not sure about this.  One thing to check is whether you can run
this perl line from the command line.  If not, then that's what needs
to be fixed.

The problem this perl stuff is solving is the Unix/DOS linefeed
translation.  It's a hack, but I don't know how else to add cr/lf
linefeeds.

> The client (winamp) times out. Interestingly I only get this message 

> seconds _after_ winamp has timed out. When I added some debug code
(echo > 
> "hello world" >&2) at the very beginning of the script this was only 

> displayed after about 30 seconds. Hmm...

Try adding the following flags to tcpserver:

tcpserver -H -R <...-and the rest of the args as before-...>

The -H avoids a DNS lookup (which is probably the source of the
timeout).

Steve


-- 
smblott
------------------------------------------------------------------------
smblott's Profile: http://forums.slimdevices.com/member.php?userid=2248
View this thread: http://forums.slimdevices.com/showthread.php?t=21446

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

Reply via email to