Well, I know it doesn't quite count as a one stop solution, but if
you're really masochistic it looks something like this...

cdrdao read-toc --device 0,0,0 --driver generic-mmc cd.toc; cueconvert -f 
cd.toc -f cd.cue; cdparanoia -d/dev/scd0 "[::]-" - | flac -V -8 -s 
--cuesheet=cd.cue -o "cd.cue.flac" - ; metaflac --add-replay-gain 
--no-utf8-convert --import-tags-from=cd.vc "/cd.cue.flac"; mv cd.cue.flac 
"/var/archives/`cat cd.vc |perl -pe'if (m/^ARTIST=(.*)/) { defined($a) ? 
$a="various artists" : $a=$1;} if (m/^ALBUM=(.*)/) { $A=$1;} chomp($a); 
chomp($A); $_ = ""; END {print"$a - $A.cue.flac\n"}'`

(This assumes that cd.vc already exists and contains the tags you want
to add.  You could probably use cdrdao's cddb features to handle this
inline as well, but I'm not thrilled with the quality I get from cddb,
so I pull mine from musicbrainz instead.)

Not that I would recommend anyone else try it this way, but it was
just ugly enough that I couldn't resist sharing it. :)
On the plus side, it does avoid a temporary wav file, and your end
result is named according to your tags.

-michael

John Hernandez <[EMAIL PROTECTED]> writes:
> There doesn't appear to be a "one-stop" solution to this
> challenge. There's a pretty sensible rough guide at
> http://www.se.eecs.uni-kassel.de/~thm/Projects/CD-Archiving/
>
> In a nutshell,
>
> 1) cdrdao read-cd --with-cddb --datafile album.bin album.toc
> 2) cueconvert -f album.toc -f album.cue
> 3) flac --endian=big --sign=signed --channels=2 --bps=16
> --sample-rate=44100 --cuesheet=album.cue album.bin
>
> Good luck!
>
> Andy Hawkins wrote:
>> Hi,
>> Can someone point me to some instructions as to how to do the
>> following
>> under linux?
>> 1. Rip an entire CD to a single WAV file
>> 2. Encode this to FLAC
>> 3. Apply tags from CDDB to this FLAC file so it has info for all the tracks
>> in it
>> 4. Generate and apply a cue file so that slimserver can play the file.
>> I have all the individual tools necessary to do this, but can't
>> quite get it
>> all to work correctly.
>> Thanks
>> Andy



-- 
"so if you ask me, how do I feel inside?
 I could honestly tell you, we've been taken on a very long ride.
 and if my owners let me have some free time someday
 with all good intention, I would probably run away. Clutching the short straw"
        -marillion "That Time of the Night"

Attachment: pgpVmKIiITsYo.pgp
Description: PGP signature

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to