Skip to content

timpiglowski/libation-m4b-chapter-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

libation-m4b-chapter-cleaner

CC BY-NC-SA 4.0 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.

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

About

A python script to fix m4b audiobook chapters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages