does anyone know of an mp3 player that can be set to automatically reconnect to an mp3 stream if the connection cuts out? im using xmms to listen to an icecast2 stream on radio.blagblagblag.org, and i need it to stay connected 24/7, but occasionally the source (muse) gets disconnected. muse waits 10 minutes then reconnects, but someone has to click play again for xmms to start. any ideas how to automate this?
Quick and dirty script (untested) with mplayer:
do mplayer http://radio.blagblagblag.org:8000/foo.ogg
That will keep retrying every two seconds if the stream drops.