From d894838b33ddc41e6bc8c3882c4caa789043a7c6 Mon Sep 17 00:00:00 2001 From: Ryan Gartin Date: Tue, 26 Sep 2017 16:53:16 -0400 Subject: [PATCH] split title into commas --- AAXtoMP3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index 731281e..d539778 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -48,7 +48,7 @@ save_metadata() { get_metadata_value() { local key key="$1" - normalize_whitespace "$(grep --max-count=1 --only-matching "${key} *: .*" "$metadata_file" | cut -d : -f 2 | sed -e 's#/##g;s/ (Unabridged)//' | tr -s '[:blank:]' ' ')" + normalize_whitespace "$(grep --max-count=1 --only-matching "${key} *: .*" "$metadata_file" | cut -d : -f 2-5 | sed -e 's#/##g;s/ (Unabridged)//' | sed -e 's/:/, /' | sed -e 's/:/, /g' | tr -s '[:blank:]' ' ')" } get_bitrate() {