rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.64k stars 143 forks source link

Libation not downloading best available quality #996

Open gitaiuser20 opened 5 days ago

gitaiuser20 commented 5 days ago

Libation when set to "Audio quality to request from Audible: High" and "Download my books in the original audio format (Lossless)" is not getting the best available quality.

For the book Words of radiance by brandon sanderson read by kate reading and Michael kramer, when i attempt to download it i get a file that is 1.28 gb in size, when i set "Audio quality to request from Audible: Normal" i get a file that is around 600-700mb, however on the Audible app on android on high quality setting I'm getting a file that is 2.7ish gb, and has much better quality than the high quality one on audible. i believe this higher quality version is a relatively recent addition that may not have been available when the book first came out a few years ago.

rmcrackan commented 5 days ago

I don't have Words of Radiance, but I do have Way of Kings in my library. Does this give you a similar discrepancy?

gitaiuser20 commented 4 days ago

Yes, i just attempted WoK, on android file size is 2539mb, the m4b from Libation is 1.21 GB when "Audio quality to request from Audible: High", and 616 mb when "Audio quality to request from Audible: Normal"

I don’t know if this is helpful knowledge, but i tried using Book Lib Connect which is similar to your software,and i had a similar issue. there is unfortunately no Audible for PC atm to compare with however.

gitaiuser20 commented 4 days ago

update: I just tried to do the same with the book Leviathan Wakes by James F. A. Coley, and there is the same issue. The file I got from Libation set to high quality is 522 MB, whereas the file I got from Audible Android is 861 MB, and the one from Audible is much clearer.

I'm thinking Audible recently added a new tier of higher quality (since I'm pretty sure that up until recently the quality libation got was the same as the high that was on audible) and libation is not getting this higher tier

mkb79 commented 4 days ago

@gitaiuser20 Can you compare the files downloaded with Libation and the Android app using MediaInfo or another tool which can show you the codec. I’m think you have activated „Spatial Audio“ on the Android Audible app? Then the „huge“ audiobook downloaded with Android can be in Dolby Atmos format.

gitaiuser20 commented 4 days ago

i tried turning off spatial audio and redownloaded, I'm getting the same size file.

as for checking them, when i try to look for the audiobook files on my android phone, i found loads of folders with exo files, so not sure what to check tbh

mkb79 commented 4 days ago

How do you know that the audiobook downloaded with the Android app are larger? You have to look for files with the extension aax, aaxc or mp4 (if spatial is enabled)!

gitaiuser20 commented 4 days ago

when i click download on the app as it is downloading i get the file size.

now that I'm checking again, there are folders with names ending in .mp4, but inside it are more folders and inside them are the exo files.

mkb79 commented 4 days ago

As far as I could read about exo files this are chunk files and merged, to the target file, when all parts are downloaded. MP4 hints that these are Spatial audio files with another codec (Dolby Atmos)!

gitaiuser20 commented 4 days ago

if this is the dolby atmos format, is there anyway of downloading them using libation?

mkb79 commented 4 days ago

It is possible but need some knowledge. You can read here some backgrounds about these topic.

gitaiuser20 commented 4 days ago

i have absolutely no experience or coding knowledge unfortunately, but thanks for your responses

gitaiuser20 commented 4 days ago

I've been looking around on audible website, and it doesn't seem like the titles i mentioned have dolby atmos, at least it's not mentioned anywhere from what i can find, i wonder what this means