μ6: an extremely minimal command-line audio player front-end.

μ6

mu6 is a command-line shell script for GNU/Linux that assembles a playlist of audio files at runtime, and plays them back using mplayer.

It recursively searches multiple paths for files of pre-configured suffixes. Other options include shuffle, repeat and software volume.

Get mu6

Clone the repo on gitorious:

$ git clone git://gitorious.org/mu6/mu6.git

Usage

Install: move, copy or link the mu6.sh file to mu6 somewhere in your shell's search path, and make it executable. e.g.:

# cp mu6.sh /usr/local/bin/mu6
# chmod +x /usr/local/bin/mu6

Run: to invoke in a shell:

$ mu6 [OPTIONS] -p PATH1 [-p PATH2 -p PATHN ...]

mu6 takes a series of path arguments to recursively search for audio files in. e.g.:

$ mu6 -p /path/to/foo -p /path/to/bar -p /path/to/baz

Other options can set initial (v)olume, (s)huffle and (r)epeat:

$ mu6 -sr -v 50 -p /path/to/foo

Defaults: shuffle is disabled; repeat is disabled; volume is 10%.

Keys: once mplayer has started, you can use standard mplayer input keys. Check info mplayer or man mplayer for details.

File suffixes: only the following suffixes are searched: ogg, mp3, mp4, mpg, flv, flac. Edit the SUFFIXES variable in the script to add or remove suffixes.

Temp files: a temporary playlist file is generated and stored in /tmp/mu6-$UID/. This directory is created if it does not exist. Edit the TMPDIR variable in the script to change this directory's location. Ensure that it is writable and executable by your user. The temporary playlist file is typically removed when the program exits.

License

μ6 (or mu6) is released under the terms of the GNU GPL, v3 or later.