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

Daniel Nöthen bip_trash at gmx.net
Sun Jan 4 22:24:45 CET 2009


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 into your stop script:
echo quit >mplayer_fifo





More information about the community mailing list