1
.TH CDCTRL.1 6-January-1988 LOCAL "Unix Programmer's Manual"
2
.\" manual page Copyright 1998, Wade Hampton
3
.\" $Id: cdctrl.1,v 1.2 1998/01/06 21:00:33 wadeh Exp wadeh $
5
cdctrl \- command line CDROM control
9
\fBcdctrl\fR -c [device]
11
\fBcdctrl\fR [-V|-?|-h]
15
command is a program that opens a CDROM device and may be used for
16
interactive control of the CDROM including play starting at a track,
17
next track, previous track, stop, pause, display info, display
18
CDROM status, and display CDROM directory. This program may be used as
19
a daemon to control an audio CDROM device.
29
Print out version and build information.
35
Output CR-LF at end of each line, not LF.
40
opens \fI/dev/cdrom\fR, but does not start playing. Output
41
is to standard output with each line terminated by a linefeed (LF).
49
Play first track, start playing.
65
Play next track. When on last track, play first track.
67
Play track \fB1..99\fR.
75
Each command results in one or multiple lines of output to \fIstdout\fR,
76
followed by an \fIinfo\fR string, followed by \fIEND\fR.
78
The format of the info string is:
80
\fICMD cmd-name cd-status track abs-time rel-time\fR
82
cmd-name := {play, stop, ... quit} from above list
83
cd-status := {invalid, play, paused}
84
cd-status += {completed, error, no_status}
85
track := {1..99} CD track
86
abs-time := HH:MM:SS elapsed since CD start
87
rel-time := HH:MM:SS elapsed since track start
91
- default cdrom device
101
Thomas Insel <tinsel@tinsel.org>
105
Sven Oliver Moll <smol0075@rz.uni-hildesheim.de>
109
Wade Hampton <whampton@staffnet.com>