Hi Guys<br>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&#39;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.<br>
<br>Happy new year<br><br><br><div class="gmail_quote">2009/1/4 lollisoft <span dir="ltr">&lt;<a href="mailto:lothar.behrens@lollisoft.de">lothar.behrens@lollisoft.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I think that the problem of the error message is not killing mplayer, but the<br>
outer<br>
script gets reported to stop unexpectly. Propably there should be<br>
implemented a<br>
signal handler.<br>
<br>
Lothar<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
Chris Samuel wrote:<br>
&gt;<br>
&gt; On Sun, 4 Jan 2009 11:17:56 am Daniel Nöthen wrote:<br>
&gt;<br>
&gt;&gt; What you probably mean is the killall -SIGKILL command which kills the<br>
&gt;&gt; process without giving it the chance for run any cleanup routines.<br>
&gt;<br>
&gt; It depends on what the programmer has specified signal handlers for, so if<br>
&gt; they&#39;d coded something just to deal with a user getting disconnected<br>
&gt; (SIGHUP)<br>
&gt; but not for ^C (SIGTERM) then you&#39;re better off sending that program<br>
&gt; SIGHUP<br>
&gt; rather than SIGTERM.<br>
&gt;<br>
&gt; Not to mention submitting a patch make it handle SIGTERM too.. ;-)<br>
&gt;<br>
&gt; Fortunately mplayer does the right thing in this case.<br>
&gt;<br>
&gt; --<br>
&gt; &nbsp;Chris Samuel &nbsp;: &nbsp;<a href="http://www.csamuel.org/" target="_blank">http://www.csamuel.org/</a> &nbsp;: &nbsp;Melbourne, VIC<br>
&gt;<br>
&gt; This email may come with a PGP signature as a file. Do not panic.<br>
&gt; For more info see: <a href="http://en.wikipedia.org/wiki/OpenPGP" target="_blank">http://en.wikipedia.org/wiki/OpenPGP</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class="Ih2E3d">&gt; _______________________________________________<br>
&gt; Openmoko community mailing list<br>
&gt; <a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
&gt; <a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
&gt;<br>
&gt;<br>
<br>
</div><font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Using-mplayer-with-seme-desktop-symbols-for-streaming-stations-and-wlan-%3A-%29-tp2107090p2108651.html" target="_blank">http://n2.nabble.com/Using-mplayer-with-seme-desktop-symbols-for-streaming-stations-and-wlan-%3A-%29-tp2107090p2108651.html</a><br>

</font><div class="Ih2E3d">Sent from the Openmoko Community mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br>