On Sat, Nov 01, 2003 at 11:22:58AM +0200, Anarky wrote:
>    ... but aobut this version of the script .. now it's more difficult 
> to use because I've got to search (though it was not hard to find) in 
> the code .. the stuff with the start variables was quite cool ... but 
> maybe this isn't the solution, because I discouvered there is also music 
> of the type I don't really appreciate which I'll keep on my hdd ... so 
> that I'll use for a lower quality category (3).

In this case I'd just define paths for the "non-default" ogg quality
directories. So, if 4 if your default, define a high and low directory

highquality="/path/to/hq/mp3s"
lowquality="/path/to/lq/mp3s"

Then just before it encodes to ogg look for the if...else statements and
do

if echo "$mp3"|grep $highquality >/dev/null 2>&1 ; then
        quality=5
elif echo "$mp3"|grep $lowquality >/dev/null 2>&1; then
        quality=3
else
        quality=4
fi

Todd

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to