media-sucker/abcde.conf

8 lines
252 B
Plaintext

OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}/${ALBUMFILE}/${TRACKNUM} - ${TRACKFILE}'
VAOUTPUTFORMAT='Various/${ALBUMFILE}/${TRACKNUM} - ${ARTISTFILE}-${TRACKFILE}'
mungefilename () {
echo "$@" \
| sed 'y|:/| |' \
| sed 's| *| |g; s|^ *||; s| *$||'
}