mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
AAXtoMP3: fix possition of dash when replacing colon
This commit is contained in:
parent
db48c6a970
commit
8ebd16ae8b
2
AAXtoMP3
2
AAXtoMP3
@ -108,7 +108,7 @@ do
|
|||||||
save_metadata "${path}"
|
save_metadata "${path}"
|
||||||
genre=$(get_metadata_value genre)
|
genre=$(get_metadata_value genre)
|
||||||
artist=$(get_metadata_value artist)
|
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}"
|
output_directory="$(dirname "${path}")/${genre}/${artist}/${title}"
|
||||||
mkdir -p "${output_directory}"
|
mkdir -p "${output_directory}"
|
||||||
full_file_path="${output_directory}/${title}.${extension}"
|
full_file_path="${output_directory}/${title}.${extension}"
|
||||||
|
Loading…
Reference in New Issue
Block a user