When using rmcrackan's Libation to save Audible audiobooks, you may encounter a problem where the chapters are not recognized correctly in Prologue.
This issue occurs because of a mismatch between different types of chapters within the audiobook file, as explained here.
To resolve this problem, you can use a simple fix recommended in the 'Common Issues' section of Prologue's GitHub project page. This fix involves remuxing the audiobook file using the following command: ffmpeg -i <input file> -map 0:a -map 0:v -c copy <output file>
That's exactly what my script does. After running the script, you'll be prompted to select the problematic audiobook file. The script will then apply the fix and save the corrected version alongside the original file. Once you import the fixed version into Prologue, the chapters should work as expected.
python3 libation-m4b-chapter-cleaner.py
- tkinter
- ffmpeg in PATH
Remuxing in ffmpeg will NOT retain sort-title and sort-album metadata. For more info, see Prologue's wiki.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.