Help - Search - Members - Calendar
Full Version: cdparanoia logging
Hydrogenaudio Forums > CD-R and Audio Hardware > CD Hardware/Software
Amadablam
I like cdparanoia, and I'm trying to figure out how to log errors that occur during the ripping process. The documentation at http://xiph.org/paranoia/manual.html says there is an "-i --output-info" option that should create some sort of a log file, but that documentation is outdated and that switch doesn't seem to work with the version I have (III release 9.8 March 23, 2001). My version has an "-e --stderr-progress" that outputs progress information to stderr, but I haven't figured out how to make it useful for just detecting errors and specifying where they are in each track. I'd rather not use the "-X --abort-on-skip" option...I'd rather be able to listen to the file and figure out what the error is than have cdparanoia delete the file.

Does anybody have a way of logging errors with cdparanoia? Watching the smiley faces is okay, but not too practical for large ripping projects.

Thanks!
zokik
Did you figure something out by now? And which front end do you find best? I like grip, if it only logged errors...

I made slight changes to cdparanoia so I can add "> logfile.log" at the command line and I get a log file, but this doesn't work with grip. If there is still no other way to log, maybe I'll change cdparanoia to add info about errors into a file every time it rips a track. It's a very ugly solution, but if there is no other simple way ...
zokik
Well, I got it working as I want it. After each track is ripped a line is added to log file which looks like this at the end:
CODE
[                              | 031537 00 ]  Sun Apr 27 15:03:51 2003
[                              | 046005 00 ]  Sun Apr 27 15:04:58 2003
[                              | 065961 00 ]  Sun Apr 27 15:06:29 2003
[  +++ ++++    +     +     ++  | 217718 00 ]  Sun Apr 27 17:06:47 2003
[+++++++ +++++++++Ve+++++++ +++| 218118 00 ]  Sun Apr 27 17:33:58 2003

From the info on xiph web page - here's a brief:
QUOTE
' ', '-', and '+' symbols in the progress bar are harmless; the resulting audio file should have no defects. '!' indicates that cdparanoia is uncertain about having caught all errors; a few are likely harmless, lots indicate a problem. 'V' indicates an error that definately got through, probably an audible error (unless it happened in silence at the edges due to a known bug).

so the conclusion from that log is that tracks 1, 2 and 3 are ok, cdparanoia had a lot of troubles with 4th track but it is still ripped ok. And the 5th track has an audible error at location about 60% of track length.

At the end of each line there's time&date of finished ripping of that track.

Like I said in previous post, it is an ugly solution because the log file is hard coded and you have to recompile if you want to change it. Well, if someone wants this, I'll try to put the code somewhere on the web (it's only 10 or 20kB), I don't see any option of attaching files to the posts here at HA - or did I miss smth?
kritip
I'd be interested in seeing the changes in about a week or two. I am no master programmer, in fact quite the opposite but i do have a basic knoweldge (probably a lot lessthan yourself) but i'd like to take a look.

If the option can be made with a new command line argument then it would be a great addition to cdparanoia, it would then be worth submitting it to xiph for possible inclusion.

Could you mail the changes to the source to "kristian dot tippins at orange dot net" unless you are going to post it somewhere.

Like i said i won't even check it out for a week or two though, 2 weeks till i finish of my university degree, big panic!! also i don't have Linux installed to stop me distracting myself!

Cheers,

Kristian
zokik
I uploaded it here. I hope I didn't break any GPL rule, I spent almost as much time reading GPL and changing the © and version stuff than programming rolleyes.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.