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

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

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

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

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: Hi Guys

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

2009-01-04 Thread lollisoft
This is not required. It seems that the feeds are set up a little bit later. Now I am listening again :-) Lothar Peter Nijs wrote: 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

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

2009-01-04 Thread lollisoft
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: Hi Guys I am using a shell script on Ubuntu which uses mplayer to play internet (streaming) radio stations. I attached

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 myradiostation -input file=mplayer_fifo 3. Write this

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

2009-01-03 Thread lollisoft
Hi, has anyone used the combination of desktop symbols starting mplayer to play shoutcast radio stations ? Also using cron jobs to wake me up in the morning with a radio station will be an option :-) Also an idea: Does someone know, if streamripper

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

2009-01-03 Thread Robin Paulson
2009/1/4 lollisoft lothar.behr...@lollisoft.de: 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

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