2 |
- |
1 |
This is a CD player for use under Acme.
|
|
|
2 |
|
|
|
3 |
It is derived from my earlier cdplay, which
|
|
|
4 |
was in turn derived from a 2nd edition player
|
|
|
5 |
called vcd. I think hardly any of the code from
|
|
|
6 |
vcd is left anymore, but it's what got me started.
|
|
|
7 |
Vcd was originally by David Hogan with additions
|
|
|
8 |
by Alberto Nava. David Hogan claims the only
|
|
|
9 |
code left is the definition of struct Msf.
|
|
|
10 |
|
|
|
11 |
Run it by executing "acd /dev/sdD0", where
|
|
|
12 |
/dev/sdD0 is your CD reader.
|
|
|
13 |
|
|
|
14 |
A window with a track list will appear, with
|
|
|
15 |
tracks named Track 1, Track 2, etc.
|
|
|
16 |
If it can be found in the freedb.org CD database,
|
|
|
17 |
real track names will replace the boring
|
|
|
18 |
ones before long.
|
|
|
19 |
|
|
|
20 |
To start playing a track, right click the number.
|
|
|
21 |
A "> " marks the currently playing track.
|
|
|
22 |
When that track finishes, acd plays the track
|
|
|
23 |
on the next line. This means you can edit
|
|
|
24 |
the window as thought it were a play list.
|
|
|
25 |
|
|
|
26 |
If the next line is "repeat", acd will start again
|
|
|
27 |
at the first song listed in the window.
|
|
|
28 |
|
|
|
29 |
CD changes are handled gracefully.
|
|
|
30 |
|
|
|
31 |
Russ Cox
|
|
|
32 |
9 August 2000
|
|
|
33 |
rsc@plan9.bell-labs.com
|