Getcdtimes Scans an audio CD and returns the cddb ID, track offset data and track timings. It was written to return data to the Vmusic Database program.
getcdtimes [ -i -t -f -c -s -v -h ] [ device ]
Getcdtimes was written to get CD timing information and return it to the Vmusic database. It is necessary since I could not figure a way to do this in Python.
-t Does not display the track timings.
-f Does not display the frame information.
-c Displays the grand total for the timing.
-s Displays time in seconds (default is MIN:SEC).
-v Displays the program name and version.
-h Displays a brief help message.
device The device to use to read from. By default, this is /dev/cdrom.
Installing this program is easier than this section might indicate. In an ideal world you would just let the ``make install'' routine copy the binary to the destination directory. The copy will work, but the program may not. Here's what you need to do (unfortunately, you'll have to be ``root'' for these steps to work).
The problem you have is that getcdtimes accesses hardware via the /dev/cdrom device. Normal Linux conventions say that a normal user shouldn't be able to do things like that.
Oh, and before we start, things are even more complicated. On most systems /dev/cdrom is a link to a real device; probably /dev/hdc or /dev/scd0. If this is the case, translate ``/dev/cdrom'' in the following discussion to the appropriate device. (For example, if it says ``chmod 666 /dev/cdrom'' you'll probably end up using ``chmod 666 /dev/scd0''.)
So, there are three ways to get it working:
if this line does not exist, create a ``cdrom'' group with the addgroup command. See the appropriate man page for details.
should work.
Insert a disk in your CD ROM drive and enter the command getcdtimes. The disc will be scanned and the following information will be displayed on stdout:
None that I know of. Please report any problems to me: bvdpoel@kootenay.com
The program getcdtimes
was written by Bob van der Poel
in 1998-2002 and is copyright Robert van der Poel, 1998-2002.
It can be freely distributed according to the terms of the GNU
General Public License (see the file ``COPYING'').
If you enjoy the program, make enhancements, find bugs, etc. send
me a note:
bvdp@xplornet.com
Or a postcard (or even money) to PO Box 355, Porthill, ID 83853.
Current version maintained at: http://users.xplornet.com/~bvdp
This document was auto generated with Latex2man from LaTeX source.