I'm looking for a way to get the Pi to play back a ShoutCast stream with high-reliability. What I mean by this is if the stream goes away, or there is a network issue, or whatever...the Pi continually tries to grab the stream until its successful and keeps right on playing it.
I started by setting up automatic login, and launch mplayer from an entry in .bashrc. It seems to work, but for some reason it stopped working (okay, lame...I didnt have a monitor hooked up to see why it died)...so I issue a Ctrl-D to log out, and it auto-logs back in and starts working again.
I guess the question is...what is the most reliable way to continually play a Shoutcast stream, in more general terms? Is mplayer the right choice?
Thanks!
-Lee