jvatic / audible-downloader

Download your Audible library for personal use/backup.
BSD 3-Clause "New" or "Revised" License
27 stars 3 forks source link

Feature request - join multi part downloads #32

Open ErgoPraxis opened 11 months ago

ErgoPraxis commented 11 months ago

In certain cases, the full book download link is unavailable which forces downloading the book onto parts.

Joining the resulting mp4 files is trivial. See second half of comment for bash command examples using ffmpeg (https://github.com/jvatic/audible-downloader/issues/26#issuecomment-1859221572).

However, Audible adds a short audio accouncement to the end of each part announcing something like "this book has been broken into parts to make the download faster. You have reached the end of a part but not the book [...]"

To make the join seemless, solving how to remove this announcement would be needed. Some possible ideas

jvatic commented 11 months ago

Thank you for filing this feature request @ErgoPraxis!

Yes, removing the announcement will likely be a bit tricky, and I think the second option you've suggested should work. The chapter markers aren't currently being pulled in, and ffmpeg can be used for that.

Another consideration is to ensure the chapter markers of the concatenated files are all seamlessly merged.