Provide feature flag to "Split by Chapter" for export while fixing chapter title declaration silence logic
Many audio platforms out there, BookFunnel.com for example, only accept inputs in the form of split chapter MP3s rather than fully encapsulated m4a/m4b files. To support this, adding an " --export chapters" feature would be a large value to the community likely to use this service.
At the same time, adding a second feature, to adjust the logic for "--skipparts" to allow for proper silence selection after the chapter/section titles and remaining text would be a solid contribution. Other similar CLI tools implement this via an optional flag, and ffmpeg only workflows generally do this in a brute force method with the use of a dedicated silence.wav file.
The code appears to be tied together as the blocks of .wav files are merged back in.
I've spent several hours analyzing the output, sensitives to epub xtml settings, and raw text export and leverage and found these two issues to be the primary immediate impediments to using the service for "casual users who can run PowerShell" base.
I'm hoping to provide an example utility script to implement this "in post", similar to the "fix-chapters" cleanup script presented before, but with the addition of the mp3 from wav file conversion with proper settings.