audiamus / BookLibConnect

A standalone Audible downloader and decrypter
GNU General Public License v3.0
701 stars 40 forks source link

Named Chapters #49

Closed vincentscode closed 2 years ago

vincentscode commented 2 years ago

Hi, I noticed that while https://github.com/audiamus/AaxAudioConverter supports named chapters https://github.com/audiamus/BookLibConnect seems to just number chapters even though all the necessary information should be provided in content_metadata_xxx.json. Is there any technical reason for this or would this be easy to port over? Thanks in advance!

audiamus commented 2 years ago

It's completely depending on the book, i.e. the editor who prepared the book for Audible. Chapter information is downloaded when BookLibConnect requests the license. And the json response will have the chapter info as provided by the server. Whatever is found there, BookLibConnect will pack it into the content_meta_ASIN.json

vincentscode commented 2 years ago

Yes. But shouldn't BookLibConnect be able to apply those Chapter Markers from the json to the output file (or potentially even split the output into multiple files based on that)?

audiamus commented 2 years ago

Well, there is a clear separation of functionality. As you will have read in the readme, the long-term plan is to fully integrate Book Lib Connect into AAX Audio Converter. And AAX Audio Converter has the splitting functions, together with the silence detection and chapter mark adjustment, if the chapter marks are inaccurate and cut the the chapter title mid-word. Book Lib Connect concentrates on the download and, for the time being, preparing the downloaded book for AAX Audio Converter, emulating the output that the official Audible Win10 app produced.

vincentscode commented 2 years ago

I see! Unfortunately I cannot use AAX Audio Converter at the moment as I cannot get my access token. It would seem logical to me to be able to use AAX Audio Converter without an access token on files already decrypted with BookLibConnect but that does not seem to be possible. Is there any reason for that?

audiamus commented 2 years ago

You don't need a real activation code for books downloaded with Book Lib Connect. Any dummy code will do. The readme for both projects and the Book Lib Connect manual would tell you.

vincentscode commented 2 years ago

Oh, my bad! I just jumped over to this repo when the README directed me here instead of reading the next line. Thanks for your help! :)