-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can already do this, just put some functions in your abcde.conf file, and reference them in the output directory specifiers. You can code up just about whatever you'd like.
An example from my abcde.conf should get you started... > #OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}' > > OUTPUTFORMAT='${OUTPUT}/$(CSSingleDir)/$(CSAlbumDir)/${TRACKNUM}.${TRACKFILE}' > > # Like OUTPUTFORMAT but for Various Artists discs. > #VAOUTPUTFORMAT='Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}' > > VAOUTPUTFORMAT='${OUTPUT}/$(CSVariousDir)/$(CSAlbumDir)/${TRACKNUM}.${ARTISTFILE} - - ${TRACKFILE}' > > # Like OUTPUTFORMAT and VAOUTPUTFORMAT but for the ONEFILE rips. > ONETRACKOUTPUTFORMAT=$OUTPUTFORMAT > VAONETRACKOUTPUTFORMAT='${OUTPUT}/$(CSVariousDir)/$(CSAlbumDir)/${TRACKNUM}.${TRACKFILE}' > > # CHARLES STEINKUEHLER # Custom function to put some genres > (Single Artist) in their own directory CSArtist () { local > ARTIST="$1" > > # Remove leading "The ", if present ARTIST="${ARTIST#The }" > > # Remove trailing period, if present (confuses windows clients!) > ARTIST="${ARTIST%.}" > > echo "$ARTIST" } > > # CHARLES STEINKUEHLER # Custom function to put some genres (Single > Artist) in their own directory CSSingleDir () { local > ARTISTDIR=$(CSArtist "$ARTISTFILE") > > case ${GENRE} in soundtrack) echo Soundtracks ;; > holiday|christmas) echo "Holiday/${ARTISTDIR}" ;; classical) > echo "Classical/${ARTISTDIR}" ;; child*) echo > "Children/${ARTISTDIR}" ;; book*) echo > "Books/${ARTISTDIR}" ;; *) echo "${ARTISTDIR}" ;; > esac } > > # CHARLES STEINKUEHLER # Custom function to put some genres > (Various Artists) in their own directory CSAlbumDir () { local > ALBUM="${ALBUMFILE}" > > # Remove trailing period, if present (confuses windows clients!) > ALBUM="${ALBUM%.}" > > echo "$ALBUM" } > - -- Charles Steinkuehler cst...@newtek.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8Tm2AACgkQenk4xp+mH43+ZgCfYV7U+rSIwKcauJxBk4mBNxsk JKwAoN6xtm4suoCaU3Rx7esmel3vbps3 =/S79 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org