AAXtoMP3: fix possition of dash when replacing colon

This commit is contained in:
Reidar Cederqvist 2018-06-07 09:26:38 +02:00
parent 8887bee900
commit 9da73dc7e0

View File

@ -107,7 +107,7 @@ do
save_metadata "${path}"
genre=$(get_metadata_value genre)
artist=$(get_metadata_value artist)
title=$(get_metadata_value title | sed 's/'\:'/'-\ '/g' | xargs -0)
title=$(get_metadata_value title | sed 's/'\:'/'\ -'/g' | xargs -0)
output_directory="$(dirname "${path}")/${genre}/${artist}/${title}"
mkdir -p "${output_directory}"
full_file_path="${output_directory}/${title}.${extension}"