Results 1 to 1 of 1
Hi,
how could I get for a bash script the tracknumbers of a Audio-CD (CDDA)?
I want to rip it with cdparanoia and capture the graphical output which gives info ...
- 07-24-2007 #1
Getting Track numbers of CDDA
Hi,
how could I get for a bash script the tracknumbers of a Audio-CD (CDDA)?
I want to rip it with cdparanoia and capture the graphical output which gives info about scratches and so on, therefor I cannot use the -B (batch) command but must use a loop of my own (so I must know how many tracks the CD has).
Is that info found somewhere in /proc/ ? A Audio-CD is not mounted, but it could be in /proc anyhow.
At the moment I start mplayer with invalid -ao so that is gives the info withbut that's surely an overkill.Code:grep "Found audio CD with "
Any idea how to capture also from a mc console (/dev/pts/N) or an xterm?
I only can capture when the script was started from a /dev/ttyN or /dev/vcN


Reply With Quote