Using mplayer with seme desktop symbols for streaming stations and wlan :-)

kimaidou kimaidou at gmail.com
Sun Jan 4 14:34:02 CET 2009


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.behrens at 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 at 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 at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090104/c118dfc3/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radios_073d.sh
Type: application/x-sh
Size: 17014 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20090104/c118dfc3/attachment.sh 


More information about the community mailing list