cdctl, eject, pause
—
specify commands for autocd daemon control utility
cdctl |
[-h ] [-d
device] [-s
socket] [command ...] |
eject |
[-h ] [-d
device] [-s
socket] |
pause |
[-h ] [-d
device] [-s
socket] |
The cdctl
is a utility for control
autocd(8)
daemon. eject
and pause
is
identical to ``autocd eject'' and ``autocd pause''.
If no command is given, then
cdctl
enters an interactive mode, reading commands
from the standard input.
The following options are available:
-h
- display the
cdctl
help information.
-d
device
- choose device for control.
-s
socket
- path to a control socket.
The following commands are supported:
close
- Inject the disc.
cdid
- Display the serial number of the cd using the method used by the cddb
(http://www.cddb.org/) project.
die
- Shutdown autocd.
disable
- Disable checks of current device.
eject
- Eject the disc.
enable
- Enable checks of current device.
help
- Get command list.
info
- Print the table of contents.
list
- List avaible devices.
listsaved
- Display list of saved positions.
load
- Load saved position for disc. Disc identified by cdid.
lockspeed
s
- Lock the highest speed that the drive should use for reading data. The
units are multiples of a single speed CDROM (150 KB/s). Specify 0 to use
unlock the drive's fastest speed.
next
- Play a next track.
play
[first_track [last_track]]
- Play from track first_track to track
last_track. The first track has number 1.
pause
- Pause or resume playing.
previous
- Play a previous track.
status
- Print the current playing status and position.
save
- Save current position.
speed
s
- Set the highest speed that the drive should use for reading data. The
units are multiples of a single speed CDROM (150 KB/s). Specify 0 to use
the drive's fastest speed.
stop
- Stop the disc.
version
- Get daemon version.
volume
[volume]
- Print or set the current playing volume.
- /tmp/autocd
- default location of a control socket.
MATPOCKuH <KOT@MATPOCKuH.Ru>