Name : Fix music.

This commit is contained in:
Dmitry Voronin 2024-01-18 00:24:23 +03:00
parent 5ea5465f6a
commit 5d8546e229

View file

@ -214,7 +214,8 @@ function name_music() {
process() {
# Extract new name.
local new_name="$(parse_titlecase $(parse_simplify ${target}))"
local ext=${target##*.}
local new_name="$(parse_titlecase $(parse_simplify ${target%.*})).${ext}"
# Skip on no change.
[[ "${target%/}" = "${new_name}" ]] && return 0