cfar893fm wrote:
> 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?
> 
> thanks!


Quick and dirty script (untested) with mplayer:


Code:
while true
do mplayer http://radio.blagblagblag.org:8000/foo.ogg
sleep 2
done



That will keep retrying every two seconds if the stream drops.




-------------------- m2f --------------------

Sent using Mail2Forum (http://www.mail2forum.com). 

Read this topic online here:
http://forums.blagblagblag.org/viewtopic.php?p=26500#26500

-------------------- m2f --------------------


_______________________________________________
blag-users mailing list
[email protected]
https://www.autistici.org/mailman/listinfo/blag-users

Reply via email to