|
Re: Fun stuff . . . MP3 playing: msg#00918user-groups.linux.kansascity
On Thu, 27 Nov 2003, Bradley Miller wrote: > stereo. This is my little "random play jukebox" command: > > mpg123 -g 40 -z -@ files.lst It gets better. You can control this command line player remotely. I'm not sure about mpg123, but its GNU replacement, mpg321 allows process signals for job control: killall -2 mpg321 will give it the control-c (SIGINT) to skip to the next selection. killall -19 mpg321 will "pause" it by suspending (SIGSTOP) the program in the background, and killall -18 mpg321 to resume! (SIGCONT) I'm sure there are others, but you can always hack the source code to trap the other signals into doing a useful functions. The kill or killall command with the -l option will show you possible signals to use. Have your window manager, cron job, or keyboard events control your playlist! The e16keyedit utility for enlightnment lets you remap keys directly into command lines. Signals are one of the best kept secrets and a powerful tool. KC Linux Users Group -- to unsubscribe send mail to majordomo-3DadQFcgQnvYtjvyW6yDsg@xxxxxxxxxxxxxxxx Enter without the quotes in body of message "unsubscribe kclug" |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Fun stuff . . . MP3 playing: 00918, Bradley Miller |
|---|---|
| Next by Date: | srvices accessible only from localhost: 00918, kcichap-0NmH7p4SfXGsTnJN9+BGXg |
| Previous by Thread: | Fun stuff . . . MP3 playingi: 00918, Bradley Miller |
| Next by Thread: | Re: Fun stuff . . . MP3 playing: 00918, Bradley Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |