Obtaining TOC information from CD...

C

Chris Shepherd

Hello all,
I'm looking for any info anyone might have on how to obtain TOC information
from a CD's tracks. My reasoning behind this is twofold. Firstly, I am in the
midst of writing a frontend for several commandline CD Rippers/Encoders in
linux. Secondly, I am considering using TOC information as part of a copy
protection scheme for a piece of software I'm developing, and would like to give
it a test run.
 
A

Andrew Thompson

| Hello all,
| I'm looking for any info anyone might have on how to obtain TOC
information
| from a CD's tracks. My reasoning behind this is twofold.
Firstly, I am in the
| midst of writing a frontend for several commandline CD
Rippers/Encoders in
| linux. Secondly, I am considering using TOC information as part
of a copy
| protection scheme for a piece of software I'm developing, and
would like to give
| it a test run.

That seems rather ironic Chris, you developing
CD Ripper software, while hoping the TOC
info. can stop people ripping yours off...
 
C

Chris Shepherd

Andrew said:
That seems rather ironic Chris, you developing
CD Ripper software, while hoping the TOC
info. can stop people ripping yours off...

It may seem ironic on the surface, however I'm all for fair use (backup copies
of CDs and so forth). I was asked to look into it by my employer, and it just
coincidentally came up about the same time.

I know CDParanoia can do it just fine, I'm just interested in an all-code solution.
 
C

Chris Shepherd

Chris said:
Hello all,
I'm looking for any info anyone might have on how to obtain TOC
information from a CD's tracks. My reasoning behind this is twofold.
Firstly, I am in the midst of writing a frontend for several commandline
CD Rippers/Encoders in linux. Secondly, I am considering using TOC
information as part of a copy protection scheme for a piece of software
I'm developing, and would like to give it a test run.

So this doesn't go unanswered, I ended up just using a cdparanoia process to
spit out the audio track information, which while not always being a perfect
exact match, is sufficient for CDDB Lookups, which is what I needed it for for
my ripper.

After some extensive googling, it would seem unlikely (barring the creation of
your own custom library) to be able to read raw CD information in pure Java.
This is not a definitive answer of course, but is what I could come up with in
my limited time frame.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top