Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.61 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.61 KB

libation-m4b-chapter-cleaner

License: Unlicense status: hibernate

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.

Usage

python3 libation-m4b-chapter-cleaner.py

Dependencies

  • tkinter
  • ffmpeg in PATH

Notes

Remuxing in ffmpeg will NOT retain sort-title and sort-album metadata. For more info, see Prologue's wiki.