libcdio-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-help] Question about adding disc id support.


From: Stef Bon
Subject: Re: [Libcdio-help] Question about adding disc id support.
Date: Fri, 4 Nov 2011 13:43:34 +0100

2011/11/4 Leon Merten Lohse <address@hidden>:

>> I've found an utility which reads various important data very quickly:
>>
>> http://discid.sourceforge.net/
>
> This utility gives you the cddb disc id. It is not only possible to do
> this with libcdio, it is already implemented in cd-info. cd-info uses
> that string to query the freedb/cddb server.
> Compare cd-info output line beginng with `Disc ID'.
>
> It get the information it needs from the toc (table of content) located in
> the discs lead-in area.
> I cannot think of a faster method but normally that is very fast.

Hi Leon,

I've seen in the the ouput of cd-info this disc id.

But my issue is that the command cd-info takes a long time (some
seconds) to finish.

Now I use the output of cd-info  to generate an unique id for an audio cd.

But has to be done before the fs is mounted, causing extra delay.

I been looking for such an id (previous message on this list some
months ago), till I found this discid yesterday, and it's exactly what
I want. It generates an unique id, which has also some sense in the
cddb world, and this utility does it very fast!

So the point is, can cd-info give the same output, and also that fast as discid?

(the information is thus not only the hexnumber, but also, the number
of tracks, and the startsectors.. and total number of seconds)

Stef



reply via email to

[Prev in Thread] Current Thread [Next in Thread]