Introduction

cbcdtoc is a simple TOC reader for audio CDs. cbcdtoc dumps to STDOUT in a format suitable for use with CDDB.pm.

All the clever stuff to do with accessing CD drives is taken from CDDB_get written by Armin Obersteiner who deserves all the credit.

cbcdtoc follows the licence of CDDB_get and can be considered to be under the Perl Artistic licence or the GPL.

Use

Simply run cbcdtoc and the script should guess the correct device name. If you want to specify an alternative device use cbcdtoc device.

Typical output

1 0 2 0
2 5 58 48
3 9 22 0
4 16 10 13
999 28 13 23

Download

cbcdtoc-0_1.tar.gz

Simply unpack and type make install. Default destination directory is /usr/local/bin.

Feedback

Comments, criticisms, contributions are welcome. Please feel free to contact me.