On Tue, 2001-10-09 at 12:26, David Talkington wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> What's the recommended way to play an rtp stream on a headless server
> (no X)?  I can run a dummy vnc session to satisfy Freeamp's need for a
> display, but that's kludgy.
> 
> The server feeds an external audio system, and has no need for a
> display or for Freeamp's controls.

I've got this groovy script for just that:

#!/bin/sh

while true; do
    sleep 10
    /usr/bin/freeamp -ui mpg123 <streamurl> /dev/null 2>&1
done

Then, I've got a cron job that kills freeamp once a day in the middle of
the night. With this setup is keeps running, and running, and....

-- 

--ruaok         Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye   --    [EMAIL PROTECTED]   --   http://www.mayhem-chaos.net

_______________________________________________
Obs-dev mailing list
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/obs-dev

Reply via email to