Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cd info

Status
Not open for further replies.

zmerlinz

Programmer
Jul 17, 2000
2
GB
hi,<br><br>Does anyone know of a way that i can access the titles and artists names off of a music cd, and then put all of this information into a text box, in the similar way of <br><br>cdplayer.ini in windows<br><br>cheers<br><br>Merlin ?
 
Hey,<br>&nbsp;&nbsp;&nbsp;&nbsp;The titles and artists names are not stored on the CD it self.&nbsp;&nbsp;I know in the orginal version of CD player you had to manually enter them. There maybe a newer version that goes on the net and looks for the CD information.&nbsp;&nbsp;There are databases that keep a list of all the CD's ever made. Maybe you could find an OCX that connects to this database for it.&nbsp;&nbsp;The protocal is called CDDB.&nbsp;&nbsp;There are many programms out there that do this already.<br><br>Have a good day!<br> <p>Clayton T. Paige<br><a href=mailto:cpaige@home.com>cpaige@home.com</a><br><a href= Snail</a><br>Clayton T. Paige<br>
Programmer Extraordinaire <br>
========================================================<br>
"Who General Failure? and Why is he reading my disk drive?
 
hi, thanks for the help ,but i have to inform you that they are becasue i own a couple of cd's that thve them on, and also when i make my own complimation cds these also have cd text on them, thanks anyway, if you have anymore ideas please help<br><br>Cheers again<br><br>Merlin ?
 
Are you talking about the text writen on the disk?&nbsp;&nbsp;I can't imagine how a computer could ever read that.&nbsp;&nbsp;There is nothing inside the CD player to read the disk unless you have some special CD ROM drive. <br><br>Basically each cd is encoded with a number and that number allows you to look up on a database.&nbsp;&nbsp;If all the artist and song info were stored on the CD it self, then why would they have full databases on the net dedicaded to finding this info. <br><br>Just my 2 cetns<br> <p>Clayton T. Paige<br><a href=mailto:cpaige@home.com>cpaige@home.com</a><br><a href= Snail</a><br>Clayton T. Paige<br>
Programmer Extraordinaire <br>
========================================================<br>
"Who General Failure? and Why is he reading my disk drive?
 
Actually, CDTEXT is an extension to the Redbook Audio standard.&nbsp;&nbsp;It stores information like album name, artist name, track length, song names, etc. in the lead-in area of a disc.&nbsp;&nbsp;It's been around for a while, but I'm not sure how to tell if a particular disc is so encoded without a newer CD player (unless of course you created the disc).&nbsp;&nbsp;I'm not sure if the data can be read by just any CD-ROM drive.&nbsp;&nbsp;For a little more info on the standard, check out:<br><A HREF=" TARGET="_new"> is talking about the CDDB (CD DataBase) system on the 'net.&nbsp;&nbsp;The software reads the lengths of each of the tracks on the CD and runs that data through a formula to generate a checksum that's checked against a huge database of contributed album titles and track listings.&nbsp;&nbsp;That's why occasionally you'll get partial matches or non-exact matches.&nbsp;&nbsp;If two CDs had *exactly* the same track structure, there would be no way for the CDDB system to tell them apart.<br><br>Hope that helps a bit.<br><br>-=ind
 
&gt; Actually, CDTEXT is an extension to the Redbook Audio standard.&nbsp;&nbsp;&lt;<br><br>Thanks for the info, I never knew any of the disc makers were using it.<br><br>Chip H.<br>
 
I retrieved the TOC of the audio CD using the Multimedia Player Control of VB 4, And accesssed directly the cdplayer.ini file using the GetSettings(), GetAllSettings(), etc. functions of VB 4. It won't work on 32 bit VB 'cause the 32 bit versions of these functions access the windows registry instead of a *.ini file. I'm still searching the formula to derive the cd id (probably a checksum) from the TOC. If sombody knows it, please let me know.
 
Hmmm, I wonder how my car CD player connects to the internet to tell me the title and song of the song playing? ;^)

This is definitely a good question. Maybe it has something to do with the table of contents that is created when a CD is created. Neil Konitzer, President
Freisoft
 
Neil, I assisted to a couse on CD player repair (2 month) dictated by Sony; There we studied the Red Book protocol; I can assure you that there's no prevision on the Red Book for song title and/or artist identification. Maybe some extension of the protocol (say, the Green book) has provision for it. Also, here in SODRE (gubernement radio service of Uruguay) we have edited some commercial CDs, and we didn't include any information on the CDs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top