04 Jul 2012 draai 20120712
draai — manage playlists and play audio files
draai [option [option ...]] command [track [track ...] | tracknumber [tracknumber ...]]
Play music.
Start a bunch of X terminals setting up some draai jobs: tail, logtail, peek, syslog, ...
Reschedule listed tracknumbers as upcoming tracks. Last arguments should be the positions of tracks to be put on the guestlist, not filenames.
Reschedule listed tracknumbers to end of playlist.
Add file to playlist and schedule it as upcoming track.
Print information about track when it starts playing, similar to tail -f on a logfile.
Run tail(1) on system log file.
List current playlist.
Show status of current song, and show upcoming $peek FIXME tracks.
Send raw information from tail to syslog. You likely want to run "draai syslog" in the background.
Skip this track, start playing the next one now.
Run this if unwanted silence pops up during a playing session (for now, it runs draai --sloppy skip).
Delete track(s) from current playlist. Last arguments should be _positions_ of tracks to be removed, not filename. If no position is given, deletes upcoming track from playlist.
Seek forward in current track.
quit
Be very verbose.
Playlist file; option can be supplied more than once. To be used with command "draai".
Don't shuffle tracks and leave random mode untouched (default is: do shuffle and disable random mode). See also the script dr_unsort.
Print raw stuff, suitable for postprocessing (if combined with tail, peek or list).
Don't try hard to make everything sound smooth. If combined with skip: risk a squeak on old hardware.
If combined with commands quit or draai: time at which to quit or start.