Remove duplicate "01 Chapter 01" in title and filename

This commit is contained in:
Dmitrij Drandarov 2018-06-18 12:05:02 +02:00
parent 2f8bb35b68
commit 27a6182495

View File

@ -132,7 +132,7 @@ do
then
read -r -u9 _
read -r -u9 _ _ chapter
chapter_title="${title} - $(printf %0${#chaptercount}d $chapternum) ${chapter}"
chapter_title="${title} - ${chapter}"
chapter_file="${output_directory}/${chapter_title}.${extension}"
# the ID3 tags must only be specified for *.mp3 files,