A user hook which I would personally find very useful is a script which would be run just before the audio device is opened. This would allow whatever is currently playing to continue until trplayer is invoked with a valid URL. This kind of a hook would, for example, make it easy to get trplayer to work like realplay does, i.e. be invoked a second time to switch stations. trplayer could, of course, implement the station switching facility completely internally, but I think the user script approach is more general and has more applications. This facility could be implemented in a couple of ways. The first is to implement "-o script-path" (-o meaning open script), the weakness of this apprach being that the user would have to remember to supply the option all the time. The second is to assume a path, e.g. "$HOME/.trplayer.open", and only run it if that path refers to a file which is executable. -- Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me EMail: [EMAIL PROTECTED] | Canada K2A 1H7 | if you're concerned about Hell.
