From 2272d9ce99787a3b92cc79916c2aa0ccffea0afb Mon Sep 17 00:00:00 2001 From: Max Zangs Date: Thu, 20 Jan 2022 11:59:10 +0100 Subject: [PATCH] Fixing `,000` issue with mp4chaps Replaces the `,000` in the chapters.txt file with `.000` to allow processing with `mp4chaps` --- AAXtoMP3 | 1 + 1 file changed, 1 insertion(+) diff --git a/AAXtoMP3 b/AAXtoMP3 index 2a88bd1..e943cd1 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -955,6 +955,7 @@ do else "$FFPROBE" -i "${aax_file}" -print_format csv -show_chapters 2>/dev/null | awk -F "," '{printf "CHAPTER%d=%02d:%02d:%02.3f\nCHAPTER%dNAME=%s\n", NR, $5/60/60, $5/60%60, $5%60, NR, $8}' > "${output_directory}/${currentFileNameScheme}.chapters.txt" fi + $SED -i 's/\,000/\.000/' "${output_directory}/${currentFileNameScheme}.chapters.txt" mp4chaps -i "${output_file}" fi fi