Re: Problem ripping Audio CD

Srdjan Todorovic <[email protected]> Fri, 6 Mar 2009 09:31:30 +0000
Newsgroups gmane.comp.kde.k3b
Message-ID <[email protected]>
Hi,

2009/3/6 William Lugg <[email protected]>:
> Well I took a look at it and noticed what you mentioned. I tried a different
> song (without the extra special characters) with the following command line:
>
> lame -h --tt Inside Out --ta David Meece --tl Once In A Lifetime --ty 1993
> --tc - /music//David_Meece/Once_In_A_Lifetime/01-Inside_Out.mp3
>
> And the error is "lame: excess arg In". I'm thinking that K3b is supplying

I think it's getting confused by the '-' in the output filename.

> something to lame via stdin, but there is something wrong in the command
> line that is in K3b's configuration (following, but without the quotes):
>
> "lame -h --tt %t --ta %a --tl %m --ty %y --tc %c - %f"
>
> FWIW, I'm using Kubuntu 8.10 and looked into using KAudioCreator, but there
> seems to be a dependency problem with kdemultimedia-kio-plugins that gdebi
> can't resolve. The version installed on the system apparently isn't
> compatible with KAudioCreator. This is unfortunate because it looks like
> it's just the ticket.

KAudioCreator uses:
lame --preset standard --tt %{title} --ta %{artist} --tl %{albumtitle}
--ty %{year} --tn %{number} --tg %{genre} %f %o

but does not look like it gets the audio data via stdin. In fact, I
believe it rips the CD to .wav first, then encodes the .wav file.
I would guess that K3b gets audio via stdin.

I wonder, if you were to replace %f with a -, and %o with %{o} would it work?

Srdjan

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H