diff --git a/AAXtoMP3 b/AAXtoMP3 index 0a6c2e0..2f0b669 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -585,7 +585,7 @@ get_metadata_value() { local key key="$1" # Find the key in the meta data file # Extract field value # Remove the following /'s "(Unabridged) at start end and multiples. - echo "$($GREP --max-count=1 --only-matching "${key} *: .*" "$metadata_file" | cut -d : -f 2- | $SED -e 's#/##g;s/ (Unabridged)//;s/^[[:blank:]]\+//g;s/[[:blank:]]\+$//g' | $SED 's/[[:blank:]]\+/ /g')" + echo "$($GREP --max-count=1 --only-matching "${key} *: .*" "$metadata_file" | cut -d : -f 2- | $SED -e 's#/##g;s/ (Unabridged)//;s/^[[:blank:]]\+//g;s/[[:blank:]]\+$//g' | $SED 's/[[:blank:]]\+/ /g' | $SED 's/\:/_/g')" } # -----