I want to run streamripper in its own X Terminal (window), then split the terminal horizontally, and then run mplayer in the lower half.
This is simple enough to do manually, but getting a script to do it eludes me.
- start a new terminal window
- run
streamripper http://radio.net:8000 -r 8000
- split the terminal window horizontally
- run
mplayer http://localhost:8000
in the bottom panel.
mplayer
cannot be allowed to run immediately. It needs to wait for stream data, so a test for this would be better than "wait x seconds" (which is effectively what the manual method does.
If the terminal is significant to this, anything will do, but I currently have installed konsole, gnome-terminal, and terminator (in Ubuntu)