Package: icedax
Version: 1.1.6

The error is located in line 58:
LIST="$( $CDDA2WAV -J -vtoc -H 2>&1 | sed -e 's/^[^\ ].*//; s/\.([^)]*)/
/g;s/,//g;')"

One assumed that icedax returns list of tracks in format
"track_no.(time)".  However I noticed that sometimes 'time'
part is surrounded with "||" or "[]"; here is sample:

    569344 bytes buffer memory requested, 4 buffers, 55 sectors
    Read TOC CD Text failed (probably not supported).
    #icedax version 1.1.6, real time sched., soundcard, libparanoia support
      1.( 5:57.15),  2.( 4:45.72),  3.( 5:05.05),  4.( 5:03.08),  5.(
5:25.05),
      6.( 4:48.55),  7.( 0:20.70),  8.( 5:38.30),  9.( 5:29.45), 10.|
6:20.15|,
     11.[ 9:20.57]

The simplest resolution is to replace "(", ")", "[", "]" to "|" and then
cut ".|time|":

    sed -e 's/^[^\ ].*//; s/[][()]/|/g; s/\.|[^|]*|/ /g; s/,//g'

However I've found that icedax called with option -g (--gui)
prints data in grep-friendly format and also prints type of
track, i.e. audio, data, whatever, thus it makes possible to
rip JUST audio tracks. I've attached "my" version of cdda2ogg
that use icedax -g output.

w.

Attachment: cdda2ogg
Description: Binary data

Reply via email to