Nicer mp3 filenames

This commit is contained in:
Neale Pickett 2022-01-06 18:09:25 -07:00
parent 361f6ffc77
commit c8cbdfc108
1 changed files with 5 additions and 0 deletions

View File

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