restored default output dir struct

This commit is contained in:
fabh2o 2021-02-07 10:20:06 +01:00
parent 45bd9e666f
commit 1afa763999

View File

@ -477,9 +477,9 @@ do
title=$(get_metadata_value title | $SED 's/'\:'/'-'/g' | $SED 's/- /-/g' | xargs -0) title=$(get_metadata_value title | $SED 's/'\:'/'-'/g' | $SED 's/- /-/g' | xargs -0)
title=${title:0:100} title=${title:0:100}
if [ "x${targetdir}" != "x" ] ; then if [ "x${targetdir}" != "x" ] ; then
output_directory="${targetdir}/${artist}/${title}" output_directory="${targetdir}/${genre}/${artist}/${title}"
else else
output_directory="$(dirname "${aax_file}")/${artist}/${title}" output_directory="$(dirname "${aax_file}")/${genre}/${artist}/${title}"
fi fi
output_file="${output_directory}/${title}.${extension}" output_file="${output_directory}/${title}.${extension}"
bitrate="$(get_bitrate)k" bitrate="$(get_bitrate)k"