Hey guys--
I noticed that the CD ripping script, ripDiskWrapper.sh, is not using the quality settings set in the web admin when ripping CDs. These settings affect MP3 and OGG encoding quality. Currently, the arguments to the encoders are hard-coded in the script. While the encoding type is passed in as an argument to the script, the quality subsettings are not.
I just wanted to point this out so someone doesn't rip an entire collection at a quality level that they didn't want.
I've filed a mantis report here:
http://mantis.linuxmce.org/view.php?id=3637In the meantime, the way to correct it on your system is to modify ripDiskWrapper.sh to hard-code your desired bitrate/Bitrate arguments for lame and ogg
For mp3s: modify the following line in ripDiskWrapper.sh
OutputFile='>(lame -h --tt "$FileName" --ta "$DARTIST" --tl "$DALBUM" --tn "$TrackNumber" --ty "$CDYEAR" --tg "$CDGENRE" - "$Dir/$FileName.'"$FinalExt"'.in-progress")' # encoder
You'll want to change the line that begins with "OutputFile='>(lame "
and add your quality settings there. For example, add "-b
bitrate" where
bitrate is your desired bitrate. You could also add "-V" for VBR encoding.
Similarly, modify the following line for .ogg encoding
OutputFile='>(oggenc -Q --artist "$DARTIST" --album "$DALBUM" --date "$CDYEAR" --genre "$CDGENRE" --tracknum "$TrackNumber" -o "$Dir/$FileName.'"$FinalExt"'.in-progress" -)' # encoder
You'll want to change the line that begins with "OutputFile='>(oggenc"
and add your quality settings there. For example, add "-q
quality" where
quality is your desired quality level, -1 to 10.
Note that until the fix is added to LMCE, you'll have to check this script after updates (or lock the script file).
I haven't verified my arguments to the encoders, so you may want to verify that those are correct on a disk or two before ripping your entire collection.
-Pete