dio is a generic input output program for X. It reads list items from stdin. These items can be played on selection, by order or randomly. Items can also be filtered or removed. dio can also generate text for stdout from user input.
In order to build dio you need the Xlib header files.
Edit config.mk to match your local setup (dio is installed into the /usr/local namespace by default).
Afterwards enter the following command to build and install dio (if necessary as root):
make clean install
See the man page for details. Some examples in bin/ can be installed (as root) with:
make bin