gdam123 is a command line utility to play mp3 files on a gdam server. It takes a list of mp3 files, and emulates mpg123's ^C handling. In addition, gdam123 features a healthy set of vi key bindings and playlist handling features.
gdam123 [--gdam-server host:port] [--device device] [-z] [ filename ...] [ directory ...] [ playlist ...]
Mp3 files, playlists, directories, and gdam song databases can be given on the command line. Playlists are files with some lines which are paths to mp3 files. If any path is not absolute, then the path to the playlist is prepended. If a directory is given, then any mp3 files within that directory will be added. Each directory will be sorted according to playlist or ccdb data files which exist in that directory. Subdirectories are recursively processed. If -z is given, the playlist is shuffled before playback.