From afb852fdf165c2aeb6f08d7583225e77adb940ab Mon Sep 17 00:00:00 2001 From: fabh2o Date: Sun, 7 Feb 2021 16:51:51 +0100 Subject: [PATCH] cut title to 128 char + no - or : subsitution --- AAXtoMP3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index ec2ce38..b47e29f 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -411,8 +411,8 @@ do save_metadata "${aax_file}" genre=$(get_metadata_value genre) artist=$(get_metadata_value artist) - title=$(get_metadata_value title | $SED 's/'\:'/'-'/g' | $SED 's/- /-/g' | xargs -0) - title=${title:0:100} + title=$(get_metadata_value title) + title=${title:0:128} if [ "x${targetdir}" != "x" ] ; then output_directory="${targetdir}/${genre}/${artist}/${title}" else