The script can also do things like read the news at the top of the hour, back announce the cuts played since the last "break" and do "time checks" via the text to speech program called "Festival" from the University of Edinburgh (http://www.cstr.ed.ac.uk/projects/festival/).
playmp3s also creates a web page of last played. An example of this script can be seen at http://www.lns.com/current.html.
The script also requires the UNIX "date" program for knowing what time it is and "wc" for counting number of lines in a file such as how many MP3 files in a playlist. It also depends on qmp3info to give data about an MP3 file. "qmp3info" is part of the Quelcom toolset from http://www.etse.urv.es/~dmanye/quelcom/quelcom.html.