[mb-users] Identifying tracks with no tags
Grant
emailgrant at gmail.com
Mon Jul 21 02:12:57 UTC 2008
>> Can anyone think of a way to use bash to tag my files with the
>> appropriate track numbers so picard will pop them into the right
>> spots? Here's the procedure I'm using to rip a CD:
>>
>> # cd ~/cd && cdrdao read-cd --paranoia-mode 0 --device /dev/hda
>> --datafile cdda.bin cdda.toc && rm cdda.toc && eject && eject -t &&
>> cdrdao read-cd --paranoia-mode 0 --device /dev/hda --datafile
>> cdda_cmp.bin cdda.toc && cmp cdda.bin cdda_cmp.bin && rm cdda_cmp.bin
>> && eject
>> # cd ~/cd && toc2cue cdda.toc cdda.cue && flac --cuesheet=cdda.cue
>> --best --endian=big --sign=signed --channels=2 --bps=16
>> --sample-rate=44100 --verify cdda.bin && cuebreakpoints cdda.cue |
>> shnsplit -o flac cdda.flac && rm cdda.flac cdda.cue && eject -t
>>
>> I check for output from cmp between the two commands. I end up with a
>> raw CD backup with .bin/.toc and a series of separate flac files for
>> playback. It works really well to do this and then open the ~/cd dir
>> in picard, except for the track matching. Can anyone think of a way
>> to get the track numbers in the tags? Maybe metaflac?
>
> How about
> http://aidanjm.wordpress.com/2007/02/15/split-lossless-audio-ape-flac-wv-wav-by-cue-file/
> (specifically, the section 'Transferring tags')
I got lucky. Simplifying the track title seems to have done the
trick. The track number actually shows up in the track metadata in
picard now. All I did was change the shnsplit command as follows:
shnsplit -o flac -n 0 cdda.flac
- Grant
More information about the MusicBrainz-users
mailing list