A command line tool that converts the hierarchical chapters created by audible-cli to a flat format that is understandable to AAXtoMP3. It solves the problem where AAXtoMP3 only generates very short audio files containing the titles of sections while the actual content is missing.
- Install Bun (
curl -fsSL https://bun.sh/install | bash
) - Copy the
audible-flatten-chapters
to your PATH
audible download --aaxc --cover --cover-size 1215 --chapter --all
audible-flatten-chapters
AAXtoMP3 -e:mp3 -c -D 'MP3/$artist/$title \($narrator\)' --use-audible-cli-data *.aaxc