removed Audiobook (genre) dir from the output

This commit is contained in:
fabh2o 2021-02-05 21:00:39 +01:00
parent f94cf1baa7
commit f74ec2e75a

View File

@ -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"