Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
Fixing ,000 issue with mp4chaps
Browse files Browse the repository at this point in the history
Replaces the `,000` in the chapters.txt file with `.000` to allow processing with `mp4chaps`
  • Loading branch information
Muxelmann authored Jan 20, 2022
1 parent d5e3247 commit 2272d9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AAXtoMP3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2272d9c

Please sign in to comment.