Recently, New Dimensions has expanded it's on line offering with a rotation of 6 programs, refreshed every week. This is called NDIR, New Dimensions Internet Radio. At the same time it has required a registration for the previous free offer of the program of the week. As I am writing, an interview with David Bohm ends and Larry Dossey begins. Later the Dali Lama will be followed by the pretty funny Swami Beyondananda. You can check it out at http://www.newdimensions.org/ndir-pop.html.
Now, why is this a slashdot topic? Real Player is very annoying. It does not work well as a radio. Especially, is does not have a timed off switch. So, because New Dimensions is something you want to listen to when you actually have the time to listen, and one of those times might be just before you go to sleep, here is a bash script to shut it down after an hour. This works with Fedora Core 6. It is crude, and it will mess with you're use of crontab so I've tied it to the gnome-cromagnon.png icon in it's applet launcher. Enjoy adding functionality to the intentionally broken Real Player.
date --date='1 hour' +%M' '%H' '%d' '%m' '%a' kill -9 ' > ctab2
ps x | grep real | grep Sl > ctab3
read realproc realprocext < ctab3
read killtime < ctab2
echo $killtime $realproc > ctab