Bug 186 - 2.9.3: -o ogg,mp3 mixes outputs in an "ogg,mp3" directory tree
Summary: 2.9.3: -o ogg,mp3 mixes outputs in an "ogg,mp3" directory tree
Status: CONFIRMED
Alias: None
Product: abcde
Classification: Unclassified
Component: Ripping (show other bugs)
Version: unspecified
Hardware: PC Linux
: Normal trivial
Assignee: Steve McIntyre
URL:
Depends on:
Blocks:
 
Reported: 2021-11-26 09:36 GMT by Ran Talbott
Modified: 2021-12-03 18:25 GMT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ran Talbott 2021-11-26 09:36:00 GMT
I rip CDs to high-quality OGGs for desktop play and lower-quality MP3s for my phone. I really appreciate that abcde makes this faster and easier than it was when I was using jack.

I keep them in separate directory trees to make it easier to select files for playing or copying to the phone.

As a Linux user who goes back to the days of punched cards, it's no big deal for me to type the commands to split the files into ogg and mp3 trees, but it might be a hassle for others.

It _looks like_ all you need to do is use $OUTPUT instead of $OUTPUTTYPE when constructing file paths, but I may not be fully understanding your code.
Comment 1 Alan W. Kerr 2021-12-03 18:25:54 GMT
As you seem to have figured out, you need to use $OUTPUT.
$OUTPUTTYPE is the LIST of output formats that will be encoded.
abcde loops through the $OUTPUTTYPE list encoding each format.
$OUTPUT is the current format that is being encoded.