nowplaying is a plugin for XMMS that records information about the song currently being played in a text file.