From f74ec2e75ac736b05b0346ad4883e36b5f8ea34e Mon Sep 17 00:00:00 2001 From: fabh2o Date: Fri, 5 Feb 2021 21:00:39 +0100 Subject: [PATCH] removed Audiobook (genre) dir from the output --- AAXtoMP3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index 9193b26..8f5144e 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -474,9 +474,9 @@ do title=$(get_metadata_value title | $SED 's/'\:'/'-'/g' | $SED 's/- /-/g' | xargs -0) title=${title:0:100} if [ "x${targetdir}" != "x" ] ; then - output_directory="${targetdir}/${genre}/${artist}/${title}" + output_directory="${targetdir}/${artist}/${title}" else - output_directory="$(dirname "${aax_file}")/${genre}/${artist}/${title}" + output_directory="$(dirname "${aax_file}")/${artist}/${title}" fi output_file="${output_directory}/${title}.${extension}" bitrate="$(get_bitrate)k"