LWN.net Logo

Advertisement

Interested in hardware, diags, validation, Linux, C, ARM, Microcode and low level programming and blazing networks?

Advertise here

Program choices

Program choices

Posted Jan 9, 2007 15:38 UTC (Tue) by tajyrink (subscriber, #2750)
In reply to: File date order by drag
Parent article: Review: Exaile Media Player (Linux.com)

I'm using SoundJuicer for random needs, and used grip when I converted my whole CD collection. Anyway, back then I had limited disk space and decided Ogg Vorbis quality 7 should be enough for everybody... and grip handled ogg vorbis files' comments just fine, _even though_ I think I had to add manually track number parameter. Don't know if the default grip settings are nowadays better.

I found out the lack of track numbers after ripping ca. 60 CDs with grip, so I did a small script to get the track number out of the file name (Artist - Album/NN-Title.ogg) and add it with vorbiscomment:

#!/bin/sh

bdir=/tmp

cd $bdir

for directory in ${bdir}/* ; do
cd "${directory}"
for file in *.ogg ; do
tracknr=`echo "${file}" | cut -b 1-2`
echo T: ${tracknr}, file: ${file}
vorbiscomment -a -t TRACKNUMBER=${tracknr} "${file}"
done
done

Looking at FLAC parameters, you have to spend some time to utilize the -T tag a lot when using grip, because flac doesn't have different options for different tags like oggenc does, but it should be possible. I seemingly haven't done that, instead ripping all my FLACs with Sound Juicer. SJ is otherwise nice but if I recall correctly it doesn't set year tag.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds