Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

_mpg123



Hi,
I've written completion to mpg123. Could someone commit it?

Greetings

HK
#compdef mpg123

_arguments -S \
'-v[increase verbosity level]' \
'-t[testmode (no output)]' \
'-c[check range violations]' \
'-b[n output buffer: n Kbytes \[0\]]:Amount of Kbytes' \
'-k[skip first n frames \[0\]]:Number of frames' \
'-r[n set/force samplerate \[auto\]]:Samplerate' \
'-w[write Output as WAV file]:Output file' \
'-os[output to built-in speaker]' \
'-ol[output to line-out connector]' \
'-oh[output to headphones]' \
'-2[downsample 1:2 (22 kHz)]' \
'-d[play every n'\''th frame only]:n'\''th frame' \
'-0[decode channel 0 (left) only]' \
'-m[mix both channels (mono)]' \
'-@[read filenames/URLs from file]:File' \
'-z[shuffle play (with wildcards)]' \
'-u[HTTP authentication string]:HTTP authentication string' \
'-C[enable control keys]' \
'-n[decode only n frames \[all\]]:Amount of frames' \
'-y[DISABLE resync on errors]' \
'-f[change scalefactor \[32768\]]:Scalefactor' \
'-g[set audio hardware output gain]:Audio hardware output gain' \
'-a[set audio device]:Audio device' \
'-4[downsample 1:4 (11 kHz)]' \
'-h[play every frame n times]:Play frame ... time' \
'-1[decode channel 1 (right) only]' \
'-p[use HTTP proxy \[$HTTP_PROXY\]]:HTTP proxy' \
'-Z[random play]' \
'-E[Equalizer data from file]:File' \
'-q[quiet (do not print title)]' \
'-s[write to stdout]' \
'*:files:_files -g "*.mp3(-.)"'



Messages sorted by: Reverse Date, Date, Thread, Author