From 972123a9327ee57755f31ced7c596717d0cb987a Mon Sep 17 00:00:00 2001 From: Dirk Loeckx <3196144+dloeckx@users.noreply.github.com> Date: Sun, 22 Oct 2017 22:54:10 +0200 Subject: [PATCH] Update metadata: track number = chapternum, appended chapter number to track title track number was eg "Chapter 03", and is now eg 3 . This fits better in most mp3 players. track title was the book title for all tracks, now it is eg "Book Title - 01 Chapter 1" (same as filename) --- AAXtoMP3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index a5537c5..b53bec6 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -98,9 +98,11 @@ do then read -r -u9 _ read -r -u9 _ _ chapter - chapter_file="${output_directory}/${title} - $(printf %0${#chaptercount}d $chapternum) ${chapter}.${extension}" + chapter_title="${title} - $(printf %0${#chaptercount}d $chapternum) ${chapter}" + chapter_file="${output_directory}/${chapter_title}.${extension}"