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

2009-01-03 Thread lollisoft
-seme-desktop-symbols-for-streaming-stations-and-wlan-%3A-%29-tp2107090p2107090.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/lis

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

2009-01-03 Thread Robin Paulson
2009/1/4 lollisoft : > I have tried that with a script like this (killall let the GUI bring up an > error message I haven't yet got rid): > > Play a radio station > #!/bin/sh > killall mplayer > mplayer http://yp.shoutcast.com/sbin/tunein-station.pls?id=7429 > > Stop playing > #!/bin/sh > killall m

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

2009-01-03 Thread Daniel Nöthen
Robin Paulson wrote: > killall isn't the cleanest way to stop an app running - iirc you only > want to use that when an app is misbehaving > > one of the SIG signals might be better - have a look at SIGTERM and > SIGHUP and some of their brethren; i can't remember which is best > here. killall is

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

2009-01-03 Thread Chris Samuel
On Sun, 4 Jan 2009 10:41:27 am Robin Paulson wrote: > one of the SIG signals might be better - have a look at SIGTERM and > SIGHUP and some of their brethren; i can't remember which is best > here. Use the source, Luke.. ;-) ch...@quad:/tmp/mplayer/mplayer-1.0~rc2$ grep exit_sighandler mplayer.c

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

2009-01-03 Thread Chris Samuel
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

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

2009-01-04 Thread lollisoft
ailing 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 Open

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

2009-01-04 Thread kimaidou
ome 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://

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

2009-01-04 Thread Peter Nijs
I've seen one in the angstom-distribution's repo. depeje On Sunday 04 January 2009 15:30:13 lollisoft wrote: > Hi, > > I am sad. The new version in testing from today does not contain an > installable mplayer. > Where must I go to download one for my FR ? > > Thanks > > Lothar > > kimaidou wrote:

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

2009-01-04 Thread lollisoft
t; > 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-streami &

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

2009-01-04 Thread lollisoft
w.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 >> > >> > >> > >> > ___ >&g

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

2009-01-04 Thread Daniel Nöthen
I've just found out that you can control mplayer via a fifo file. So to quit mplayer in a good way you could do the following: 1. Create a fifo somewhere: mkfifo mplayer_fifo 2. Start mplayer within your script like this: mplayer -quiet -input file=mplayer_fifo 3. Write this into your stop sc