The following works except that any stream interruption causes VLC to stop even when stream recovers.
cvlc -q http://ice41.securenetsystems.net/KFNN --sout=#transcode{vcodec=none,acodec=mp3,ab=32,channels=1,samplerate=44100}:file{mux=mp3,dst=${DIR}${FILENAME} --run-time ${LENGTH} vlc://quit
So, I read about solving this and found the following: --http-continuous --http-reconnect
so added the following to the above as:
cvlc -q --http-continuous --http-reconnect http://ice41.securenetsystems.net/KFNN --sout=#transcode{vcodec=none,acodec=ogg,ab=32,channels=1,samplerate=44100}:file{mux=ogg,dst=${DIR}${FILENAME} --run-time ${LENGTH} vlc://quit
However, I get no output to the file.
cvlc -q --http-continuous --http-reconnect http://ice41.securenetsystems.net/KFNN
I do hear output to my speakers with the above.
Anyone have any ideas?