cut title to 128 char + no - or : subsitution

This commit is contained in:
fabh2o 2021-02-07 16:51:51 +01:00
parent 440c6302fb
commit afb852fdf1

View File

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