On Tue, September 18, 2007 5:02 pm, Lan Barnes wrote: > > On Tue, September 18, 2007 2:42 pm, Lan Barnes wrote: >> >> On Tue, September 18, 2007 2:37 pm, Lan Barnes wrote: >>> Can anyone point me to a utility, URL, or code snippet that would allow >>> me >>> to put a music CD in a linux box and read the names of the song tracks? >>> >>> -- >>> Lan Barnes >> >> How about: >> >> cdda2wav -N -v titles /dev/cdrom >> >> I'll try it when I get home. >> >> > > Well THAT didn't work. > > There must be something that can read a CD's TOC and spill it. The CD > Player in my FC6 menu brings up all the titles of the songs as soon as it > sees the CD. >
OK, I found this: cdstatus http://sourceforge.net/project/showfiles.php?group_id=30778 Here is its output. [EMAIL PROTECTED] cdstatus-0.96.05]$ cdstatus --cddb CD Drive Status and CD Analyzer / Reader by Nathanael Hoyle Version 0.96.05. Built at 17:14:30 on Sep 18 2007. The drive reads disc ok. Attempting to retrieve disc info. Disc appears to be an audio cd. Reading table of contents. Disc appears to have 10 tracks. Querying for track info. Track 1 starts at: minute: 0, second: 2, frame: 32; global frame: 182 Track 2 starts at: minute: 3, second: 44, frame: 65; global frame: 16865 Track 3 starts at: minute: 7, second: 43, frame: 57; global frame: 34782 Track 4 starts at: minute: 10, second: 45, frame: 42; global frame: 48417 Track 5 starts at: minute: 14, second: 25, frame: 5; global frame: 64880 Track 6 starts at: minute: 18, second: 34, frame: 72; global frame: 83622 Track 7 starts at: minute: 21, second: 33, frame: 32; global frame: 97007 Track 8 starts at: minute: 25, second: 54, frame: 10; global frame: 116560 Track 9 starts at: minute: 29, second: 11, frame: 32; global frame: 131357 Track 10 starts at: minute: 32, second: 21, frame: 20; global frame: 145595 Gathering info on leadout track. Leadout track starts at: minute: 35, second: 17, frame: 5; global frame: 158780 Querying drive volume settings: Volume settings for drive: Channel 1: 255, Channel 2: 255, Channel 3: 0, Channel 4: 0 CDDB disc id: 7b08430a Found exact match: 200 country 7b08430a Emmylou Harris / Songs Of The West Track 1: Ill_Be_Your_San_Antone_Rose Track 2: Even_Cowgirls_Get_The_Blues Track 3: Amarillo Track 4: The_Sweetheart_Of_The_Rodeo Track 5: Queen_Of_The_Silver_Dollar Track 6: One_Paper_Kid Track 7: _Rose_Of_Cimarron Track 8: Spanish_Is_A_Loving_Tongue Track 9: Cattle_Call Track 10: Montana_Cowgirl I can parse that :-) -- Lan Barnes SCM Analyst Linux Guy Tcl/Tk Enthusiast Biodiesel Brewer -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
