diff options
author | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2012-01-22 01:12:28 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@rei2.9hal> | 2012-01-22 01:12:28 +0100 |
commit | 158a3cf4dda6d7d8bb0a8688d58bf267d75041bb (patch) | |
tree | 289bbb7ce64ce5d8be411e578ba8614d6441073f /sys/man/1/play | |
parent | e6507897a1ad87b579b7e20e1aa7c85d6de1c81b (diff) |
play: add manpage, error reporting
Diffstat (limited to 'sys/man/1/play')
-rw-r--r-- | sys/man/1/play | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/sys/man/1/play b/sys/man/1/play new file mode 100644 index 000000000..a279a785f --- /dev/null +++ b/sys/man/1/play @@ -0,0 +1,59 @@ +.TH PLAY 1 +.SH NAME +play \- simple audio player +.SH SYNOPSIS +.B play +[ +.B -o +.I file +] [ +.B -t +.I type +] [ +.I file +\&| +.I url +\&... ] +.SH DESCRIPTION +.I Play +is a simple audio player that understand a number of +audio and playlist formats. +.PP +If no +.I file +or +.I url +arguments are given, standard input is used. +Wihout the +.B -t +option, the file type is determined using +.IR file (1) +command and the appropriate decoder is invoked. +.PP +Supported +.I type +values are: +.TP +.B plain +Plain text with one file or url per line. +.TP +.B pls +Winamp playlist file. +.TP +.B mp3 +Mpeg audio. +.TP +.B ogg +Ogg vorbis. +.PP +By default, raw audio data is written to +.B /dev/audio +unless changed with the +.B -o +option. +.SH SOURCE +.B /rc/bin/play +.SH "SEE ALSO" +.IR mp3dec (1), +.IR oggdec (1), +.IR hget (1) |