[Pkg-opt-media-team] Bug#644637: cdparanoia: needs option to limit retries

Mike Simons bugcdp at simons-clan.com
Fri Oct 7 17:15:35 UTC 2011


Package: cdparanoia
Version: 3.10.2+debian-10
Severity: normal
Tags: patch

Problem is that cdparanoia has hard coded retry count of 20.

On very badly damaged media cdparanoia retries bad sectors
much too long, I've seen it try a single track for over 12 hours.

If I pass the -Z option,
  all retry/jitter fixup logic is disabled (the quality audio is bad). 
If I pass the -z 3 option to limit retries,
  cdparanoia aborts the rest of the disk at first unreadable sector.

I want something in between, retry a few times and then move along.

Included is a patch to add the --max-retries (-x) option, 
which if given limits how many times cdparanoia will retry a bad block.

By setting this to a low value (like -x 3) I can get most audio 
from badly damaged disks in much less time than default of 20 retries.

This issue is similar to bug:
  #163320 Add timeout to skip when ripping bad tracks
however I include a patch and took a different approach than what
was recommended in that bug.  I think a timer based setting as 
requested there would also be useful but is much more complicated
than this approach.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdparanoia depends on:
ii  libc6                   2.13-0ubuntu13   Embedded GNU C Library: Shared lib
ii  libcdparanoia0          3.10.2+debian-10 audio extraction tool for sampling

cdparanoia recommends no packages.

cdparanoia suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cdparanoia-max-retries.diff
Type: text/x-diff
Size: 31444 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-opt-media-team/attachments/20111007/4a967264/attachment-0001.diff>


More information about the Pkg-opt-media-team mailing list