Hi Guys I am using a shell script on Ubuntu which uses mplayer to play internet (streaming) radio stations. I attached the script in this email. I haven't yet tried it on the freerunner, but I should probably work. It has been written by french people, so the radio are french ones, but it can be adapted.
Happy new year 2009/1/4 lollisoft <lothar.behr...@lollisoft.de> > > I think that the problem of the error message is not killing mplayer, but > the > outer > script gets reported to stop unexpectly. Propably there should be > implemented a > signal handler. > > Lothar > > > Chris Samuel wrote: > > > > On Sun, 4 Jan 2009 11:17:56 am Daniel Nöthen wrote: > > > >> What you probably mean is the killall -SIGKILL command which kills the > >> process without giving it the chance for run any cleanup routines. > > > > It depends on what the programmer has specified signal handlers for, so > if > > they'd coded something just to deal with a user getting disconnected > > (SIGHUP) > > but not for ^C (SIGTERM) then you're better off sending that program > > SIGHUP > > rather than SIGTERM. > > > > Not to mention submitting a patch make it handle SIGTERM too.. ;-) > > > > Fortunately mplayer does the right thing in this case. > > > > -- > > Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC > > > > This email may come with a PGP signature as a file. Do not panic. > > For more info see: http://en.wikipedia.org/wiki/OpenPGP > > > > > > > > _______________________________________________ > > Openmoko community mailing list > > community@lists.openmoko.org > > http://lists.openmoko.org/mailman/listinfo/community > > > > > > -- > View this message in context: > http://n2.nabble.com/Using-mplayer-with-seme-desktop-symbols-for-streaming-stations-and-wlan-%3A-%29-tp2107090p2108651.html > Sent from the Openmoko Community mailing list archive at Nabble.com. > > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community >
radios_073d.sh
Description: Bourne shell script
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community