search for: scastsrv2

Displaying 2 results from an estimated 2 matches for "scastsrv2".

Did you mean: scan_srv2
2004 Aug 06
0
Keeping Icecast and Liveice running...
...outcast server. You'd need to change the check= lines to work with Icecast. Couldn't find an Icecast-specific copy, since I'm only using Shoutcast servers currently. 2 files: #!/bin/bash # Keepalive for liveice encoder # bill@radioparadise.com # LOG=/usr/local/icecast/ka.log SERVER=scastsrv2.shoutcast.com:8048 DIR=icecast STREAM=RP128 STARTFILE=/usr/local/icecast/restart.128 echo "`date` - Keepalive started for $STREAM" >> $LOG while [ 0 ] do check=`lynx -dump http://$SERVER/index.html | grep -c "currently down"` if [ $check = 1 ] then $STARTFILE echo "...
2004 Aug 06
2
Keeping Icecast and Liveice running...
I'd love to take a look at this script, and, more than likely, I'm not the only one :) Please post an example. > Liveice definitely needs a keepalive script of some kind. It's tricky, > though - since it can lose connection to the server & stop streaming, but > continue to run. The only truly reliable keepalive I've used polls the > server to see if it says the