Bangert 30 1619GJ Andijk
Bangert 30 1619GJ Andijk > Raspberry PI

Raspberry PI


Me Mr Scrooge use a raspberry pi 3b+ as desktop computer
Because i like the verry low power consumption off the rapberry
and for the things i do on a computer it works quite good
but can not wait for a new version off raspberry
hope it will be faster and hopefully octal core 
i have played with some linux versions over the years started with redhat 5.2 in 1998
i know a litle about it
i like linux and raspberry verry much

bought one raspberry 3b for smart electra gas grid meter monitoring logging
liked it
bought another raspberry 3b+ wich i use as my desktop computer




mplayer radiostream stops every now and then
in shell

pi@raspberrypi:~ $ while true;     do mplayer http://playerservices.streamtheworld.com/api/livestream-redirect/RADIO10.mp3 -cache 1024;     sleep 2; done

mplayer restarts this way after losing connection 

i have it in a text file

while true;     
do 
date +"%T"
 mplayer http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3 -cache 1024; 
date +"%T"
sleep 2;
 mplayer http://playerservices.streamtheworld.com/api/livestream-redirect/RADIO10.mp3 -cache 1024;    
date +"%T"
sleep 2;
 mplayer http://stream.100p.nl/100pctnl.mp3 -cache 1024; 
date +"%T"
sleep 2;
 mplayer http://icecast.omroep.nl/3fm-sb-mp3 -cache 1024; 
date +"%T"
sleep 2;
done

mplayer radio never stops playing this way
even if you disconnect the internet for a while

and you can switch stations by pressing ctrl+c

 


Counter