X-Git-Url: https://git.hcoop.net/clinton/abcde.git/blobdiff_plain/9f659adac68c1a038d7c112806aba0d56bccc741..d116a01415e43a992a08d8f6124cf4d38fb4db26:/abcde.conf diff --git a/abcde.conf b/abcde.conf index 6c2fff5..ecd5cd1 100644 --- a/abcde.conf +++ b/abcde.conf @@ -224,14 +224,25 @@ # * Translate colons to a space and a dash for Windows compatibility # * Eat control characters, single quotes, and question marks # * Translate spaces and forward slashes to underscores +# * Translate stars into pluses. # To change that, redefine the mungefilename function. # mungefilename recieves the CDDB data (artist, track, title, whatever) # as $1 and outputs it on stdout. #mungefilename () #{ -# echo "$@" | sed s,:,\ -,g | tr \ / __ | tr -d \'\"\?\[:cntrl:\] +# echo "$@" | sed s,:,\ -,g | tr \ /\* __+ | tr -d \'\"\?\[:cntrl:\] #} +# Custom genre munging: +# By default we just transform uppercase to lowercase. Not much of a fancy +# function, with not much use, but one can disable it ot just turn the first +# Uppercase. +#mungegenre () +#{ +# echo $CDGENRE | tr "[:upper:]" "[:lower:]" +#} + + # Custom pre-read function # By default it does nothing. # You can set some things to get abcde funtion in better ways: