audiamus / booklibconnect Goto Github PK
View Code? Open in Web Editor NEWA standalone Audible downloader and decrypter
License: GNU General Public License v3.0
A standalone Audible downloader and decrypter
License: GNU General Public License v3.0
The program will not launch . Have AAX Converter installed and BookLibConnect
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
************** Ausnahmetext **************
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: Books.Asin'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.ExecuteReader()
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
************** JIT-Debuggen **************
Hello.
When I copy the URL and then paste it, I received the error message of 'Authorization failed. Please try again.'
Can anyone help, please?
Hi there,
very simple. On a fairly clean and up-to-date Win10 x64 device, .NET 5 is not installed but has long been replaced with 6(.0.6 - we're talking Desktop Runtime here, of course) by Windows Update. But without .NET 5 additionally installed, on first or any startup, BookLibConnect.exe quits on my machine before even starting, with error message, "To run this application, you must install .NET".
No log file seems to have been written in AppData\Local\audiamus\BookLibConnect\log or anywhere else I looked before 1st successful start, so I'm sorry I can't provide much more initial insight.
Starts up normally after installing .NET 5.0.17.
Thank you for this aweseome piece of software!
Today, July 1st, the Library shows all books as being unavailable. A World Icon with a Red Slash mark shows in every single book in my Audible Library. The same happens when I resync. I also tried uninstalling and reinstalling. This is on Windows 10.
I was just wondering if anyone else was having this problem, or if I messed it up somehow?
since today (19.07.2022) I get on all titles "license_denied"
errors are:
{"message":"1 validation error detected: Value 'Extreme' at 'quality' failed to satisfy constraint: Member must satisfy enum value set: [High, Normal]"}
[AudibleApi.GetDownloadLicenseAndSaveAsync] Id=498, "Code Black": license_denied; license decryption failed.
I have tested titles where the download was possible yesterday evening - now not possible
here some log files from today
log.zip
Jürgen
UPDATE: I have changes the quality to "high" and now download is possible
BookLibConnect v0.5
It appears that yesterday was the transition to the new .aaxc format which seems to no longer support the Sansa Clip MP3 player as did the the previous .aax format. BookLibConnect Export .aax format will play on the Sansa Clip; however, the chapter mode does not work, i.e., whenever I press the Chapter FWD or BACK buttons, it takes the book all the way back to the beginning.
Hey,
some times, I have to restart the conversion, the program throws a DBUpdateException. It have to something to releated with the chapters. I will post here the exceptiondetails and the log-file entry. I believe this is not enugh information, but maybe I am wrong?
`
07:01:57.011 0001 [BookLibrary.UpdateLicenseAndChapters] Id=323, "myAwesomeBookTitle": license_granted, throwing
DbUpdateException: "An error occurred while updating the entries. See the inner exception for details.")
************** Exceptiontext **************
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: ChapterInfos.Id'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
`
Hi. I downloaded a book with 4 Parts, without checking the 'multipart download' option. So the book got joined to a single m4b file.
But the order of chapters is wrong. It seems to order the chapters with a alphabetical order which leads to an ordering like this:
Hi,
In audible, some audio books are belonged to type Podcasts but not type Audiobooks.
I can add them to the library and see the in the library on the web browser but not on the app version (I am using Android).
These books (with type Podcasts) cannot be shown in Download pop-up window in Book Lib Connect.
So, how can I download them in this case?
Been using BLC for a little while, great work.
It won't see one item in my library though
Not sure why this one is the exception, but I wanted that book downloaded!
.NET Runtime 5.0.17 is not recognized, the pop up to download .NET Runtime still appears and the version 5.0.0 seems to not be available anymore.
You should link to this:
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-5.0.407-windows-x64-installer
Hello,
There is a specific title, that's not showing in Book Lib Connect. I've tried it with three Audible Accounts...
https://www.audible.de/pd/Stadt-der-Haie-Hoerbuch/B076KML76M?qid=1646048213&sr=1-1&ref=a_search_c3_lProduct_1_1&pf_rd_p=e54013e2-074a-460e-861f-7feac676b789&pf_rd_r=WSAD4XR7K7AZ3CNPGS3V
What's the problem?
Greetings
Hey Audioamus,
leider muss ich schon wieder eine negative Beobachtung rückmelden.
Das Auslesen der Kapitel Metadaten funktioniert zum Teil nicht richtig.
Aufgefallen ist mir das zum Beispiel bei dem Titel Todesreigen von Andreas Gruber. Da werden aus der nach dem Download entstandenen AAX nur 8 Kapitel ausgelesen. Richtig wären 78. Ich kann das Vergleichen, da ich den Titel über die bisherige Lösung via Win 10 App schon umgewandelt habe.
Wunderbar hat es hingegen mit dem Titel der Gefrierpunkt des Blutes von Ant
onio Manzini
Was da jetzt den Unterschied macht ist jetzt natürlich die spannende Frage.
Wie kann ich dir die metadaten beider Titel zur Analyse schicken ? per Drag and Drop hier drin funktioniert es nicht.
Viele Grüße
or "Title - Writter - Narrator [ASIN]"
or SeriesName/FileName
When I invoke BookLibConnect it loads all titles except those I've purchased after Jan. 21, 2023.
Seems like Audible may have implemented some changes recently?
Note: I'm able to download the .aax files to my Sansa Clip and they still play okay, though.
-Log=4 log file attached.
BookLibConnect_2023-01-24_001.log
Hi
I just installed the tool and everything seems to go as planned until I've clicked "Run" it's time to download the file for processing.
Happens every time, I can reproduce it. Doesn't matter if it's a single file, several or the contents of my entire library, not a single file gets downloaded correctly.
Not sure if it's connection errors and the software fails to resume downloads or something else, but the whole situation is damn frustrating.
There's no longer an official native Windows client, OpenAudible is no longer "open" source but now a cash grab, Book Lib Connect turned out worthless since the program keeps freezing and BookLibConnect fails do download anything.
Hope there's a way to fix this, since I'm at my wits' end.
Thanks in advance for any help you can provide!
I don't know if I'm missing anything but the program, after working well for a bit, is now not letting me download anything because as soon as I add a book to the queue it gets the "download" state icon without actually letting me press the "Run" button, and then proceeds to not actually download anything.
Is there something I'm doing wrong?
Why are you converting into m4b files with no chapters and downloading aaxc files instead of aax files which even your old program won't decrypt?
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!
After the four step profile creation steps, I added a book to download. The book fails to download. Any thoughts?
Hi, thank you for your work,
all the files coverted in m4b have the name troncated and concatenated to other infos
Is possible to download the file with the full correct name?
Example:
Sherlock Holmes e un caso d'identità -> Sherlock Holmes e un_B01BY27G9K_LC_128_44100.m4b
thank you
Hi Thanks so much for this.
I got all the way to having the list of my titles from audible.
I add them to the download list (falling back to just one, the most recent)
When I leave the "Library for" window, nothing happens on the main panel.
I went back into [Download] ("Library for..") and pressed Resync. nothing happens.
This even happens now that I run it as an administrator from the CMD box. (i get no warning/errors as the program runs detached from the shell)
C:\Users\jim\Music\Audible>"\Program Files\audiamus\Book Lib Connect\BookLibConnect.exe"
C:\Users\jim\Music\Audible>
Thanks for any insight
On installing and invoking BookLibConnect 0.12 the Library display does not display any titles purchased after 2023-01-24 (18 in all). Attached is a screenshot of Library display as well as BookLibConnect 0.12 "-Log=4+. Note, I had not run BookLibConnect 0.11 after 2023-01-24 so I am unsure if this is related to the BookLibConnect version change.
Hey Audiamus,
Habe gerade The Stand von Stepehen King via Booklib Connect runtergeladen und wollte es dann, wie immer mit AAX Audiokoncerter in Mp3 übersetzen lassen.
Seltsamerweise werden die Kapitelnamen nicht übernommen obwohldie entsprechende option im AAX Audiokonverter aktiv ist, Booklibconnect die üblichen Metadaten liefert und die Kapitel auch korrekt in der ja als Vorlage für die pseudo AAX dienenden M4b stehen. ( Laut Mediainfo.) Eigentlich müsste also alles klappen, tuts aber nicht.
Ich weiß jetzt nicht welches programm den Fehler macht, ob Booklib oder AAX Converter, jedenfalls geht hier irgendwas schief.
Vielleicht liegt es daran, dass das Buch sehr lang ist ( 53 Stunden )
Ich hänge mal sämtliche Metadaten als Zip an, vielleicht hast du ne Idee
Metadata_The Stand .zip
viele Grüße
Hi,
I've just installed v0.6 and try to register the app using my pre-Amazon account. When I open the created login URL and log in I'll have to reenter my password and solve a captcha "for better protection" but when I then copy the "Cannot find page" URL into BookLib it says "Device registration failed"
Is there any way I can debug this any further? Pasword is correct (tried a false password to see the difference) and the "Cannot find page" URL looks like the login was successfull. Has auth codes, captcha verified and so on. Could this be because there are already too many devices registered (if there is a limit)? Deauthorized iTunes and tried again, same error.
Best regards
Jens
Mahlzeit ^^
Ich habe gerade erst dein Tool entdeckt und direkt auch mal ausprobiert. Klappt soweit ganz gut, nur mit einer Datei hatte ich Probleme. Bei "Die Märchen von Beedle dem Barden" hat er zwar runtergeladen und entschlüsselt, aber beim Export zu AAX gab es eine Fehlermeldung:
System.IO.IOException: WinFileIO:ReadBytes - Error occurred reading a file. - Das Handle ist ungültig.
at core.audiamus.aux.w32.WinFileIO.ReadBlocks(Int32 BytesToRead)
at core.audiamus.util.FileEx.Copy(String sourceFileName, String destFileName, Boolean overwrite, IFileCopyCallout callout, Action'1 report, Func'1 cancel)
at core.audiamus.util.FileEx.Copy(String sourceFileName, String destFileName, Boolean overwrite, Action'1 report, Func'1 cancel)
at core.audiamus.connect.AaxExporter.copyFile(IBookCommon book, SimpleConversionContext context)
at core.audiamus.connect.AaxExporter.exportSinglePart(IBookCommon book, SimpleConversionContext context, Action'1 onNewStateCallback, Boolean skipSeries)
at core.audiamus.connect.AaxExporter.Export(Book book, SimpleConversionContext context, Action'1 onNewStateCallback)
at core.audiamus.connect.app.gui.MainForm.convertAction(Book book, ConversionContext context, Action'1 onNewStateCallback)
at core.audiamus.connect.DownloadDecryptJob'1.<>c__DisplayClass19_1.b__6()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at core.audiamus.connect.DownloadDecryptJob'1.DownloadDecryptAndConvertAsync(IEnumerable'1 selectedConversions, IProgress'1 progress, T context, ConvertDelegate'1 convertAction)
at core.audiamus.connect.app.gui.MainForm.btnConvert_Click(Object sender, EventArgs e)
at System.Threading.Tasks.Task.<>c.b__140_0(Object state)
Die Datei wird zwar im Export-Ordner erstellt, hat aber 0 Byte. Was mir aufgefallen ist: Bei dieser Datei (und wirklich nur bei dieser) steht da nicht Märchen im Dateinamen, sondern Ma¨rchen. Bei allen anderen getesteten Dateien steht da auch wirklich ein ä an den entsprechenden Stellen.
Brauchst du noch mehr Infos oder schon eine Idee was da schief läuft? ^^
Gruß,
DaBear78
Hallo,
habe das Problem das heute plötzlich laut Datenbank kein Hochbuch heruntergeladen wurde, obwohl alle vorhanden sind. Gibt es einen Weg diese Makierung wieder zu setzen ?
the amazon login page (first profile creation) doesn't work. ... Page not existing.
The login page pops out the email/password leads to a reloaded page with captcha but the following page ... doesn't exists...
(german version)
I had been using Audiamus before (worked fine till at least eastern 2022 when I had been using it the last time).
Now I have learned that Windows App is no longer supported and went back to audiamus which had lead me to Book Lib Connect, which I have installed for windows and installed a net 6.09 or whatever environment for I guess desktop apps.
Then I was able to start BookLibConnect but then I got an error during the registration:
#1
If I start the app (german audible profile selected) and open the amazon login I get this error from amazon:
Tut uns Leid: Die Web-Adresse, die Sie eingegeben haben, gibt es auf unserer Website nicht.
#2
If I use the option 'with pre Amazon user' a valid audible web site opens to enter my id, credentials and a captcha.
But each time I have tried it I got an error 'userid / PW wrong' but it is right cause I had copied and typed that in what I had used in the browser for a usual audible login which there works fine. Any ideas ?
Here is the url that opens after clicking OPEN URL IN DEFAULT BROWSER (chrome latest version)
https://www.audible.de/ap/signin
Feels like the /ap/signin might no longer work due to missing app support since end of july or so.
I have not found any hint or solution about this topic which feels a bit stranged. Had purchased 1 or 2 books today for offline use in the RV without mobile connection but does not longer work with a laptop which I need due to sight issues cause I need big fonts.
Hope there is a workaround, have put the issue also in the chat here but of cause in a shorter description
https://gitter.im/AaxAudioConverter/community?at=5f2438b986ad126839dc6ef7
Windows 10 has the latest updates from today, your app and the required runtime environment had been installed fresh today, but without a reboot which I will try now to make sure that it is not caused by that (and to let the other users know if that has been the cause).
Screenshot for #1
Screenshot for #2
The attached screenshot depicts a title by the name "Brain Wave" as being listed in the Book Lib Connect v0.9 list summary even though I deleted it from my Audible Library and it no longer shows there. Is there a way to not have removed titles from displaying on the list. Also, looking at the 0.9 PDF document, it states, "Each book row starts with an icon indicating the current state, whether remote,
downloaded, unlocked or converted. The icons should be self-explaining." Which of those is the icon with the red line through it?
I use the Audible-approved Sansa Jam Clip MP3 player to listen to AAX files since it's small and has an awesome battery life. BookLibConnect does reproduce the produced AAX version audio well when set to Extreme mode; however, the left/right Chapter-Mode switches don't work properly.
Where an Audible-downloaded AAX file works as follows. Simple click advances or recedes one chapter and a click and hold advances or recedes the existing position in the current title track and play resumes once switch is released.
BookLibConnect simply pauses the track and requires the Play switch to restart but the position of the chapter has reset to the beginning.
Can this be fixed?
Is there any way to compile this software in GNU/Linux operating systems like Ubuntu?
Huhu Audiamus,
Ich war so frei die neue Software auszuprobieren. Zumindest bei mir funktioniertt sie nicht. Wenn die Software versucht die Bibliothek einzulesen kommt es zu einer sogenannten unbehandelten Ausnahme und einer ausführlichen Fehlermeldung.
Siehe unten.
Die Software hängt sich dann auf.
Grüße
Alurio
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
************** Ausnahmetext **************
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Number.ParseInt32(ReadOnlySpan1 value, NumberStyles styles, NumberFormatInfo info) at System.Int32.Parse(String s) at core.audiamus.connect.BookLibrary.addSeries(Book book, ICollection
1 series, ICollection1 seriesBooks, IEnumerable
1 itmRelations)
at core.audiamus.connect.BookLibrary.addPageBooks(IEnumerable1 products, ProfileId profileId) at core.audiamus.connect.BookLibrary.addBooks(List
1 libProducts, ProfileId profileId)
at core.audiamus.connect.BookLibrary.<>c__DisplayClass6_0.b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at core.audiamus.connect.BookLibrary.AddBooksAsync(List`1 libProducts, ProfileId profileId)
at core.audiamus.connect.AudibleApi.GetLibraryAsync(String json)
at core.audiamus.connect.AudibleApi.GetLibraryAsync()
at core.audiamus.connect.app.gui.MainForm.initLibraryAsync()
at core.audiamus.connect.app.gui.MainForm.init()
at core.audiamus.connect.app.gui.MainForm.OnShown(EventArgs e)
at System.Threading.Tasks.Task.<>c.b__140_0(Object state)
************** JIT-Debuggen **************
Users on Reddit have reported an issue with the size of one dialog window, visibility of a panel and position of splitter bars.
Update after feedback, see below: The problem has to do with High DPI screens and upscaling in the Windows settings.
I have created a dummy app for the windows in question. There is no installer, just a zip.
BookLibConnect.FormsTest.zip, new version 1.2
(And it doesn't really need the SQLite DLL that comes with it, but it won't start without it, The underlying code is still Book Lib Connect.)
Please try it. Do the [Try restore] buttons have any effect?
It writes additional log info to
C:\Users\<USER>\AppData\Local\audiamus\BookLibConnect.FormsTest\log
You can upload the log files here. They do not contain sensitive data.
Hello, first of all I'd like to give you the thanks for your work.
I am trying to make the initial profile but after login in Amazon, it shows this error page:
It Happens the same in amazon.es and amazon.com (I have audible user in both domains)
In Amazon.com, the process to login success in AudibleSync app (Spain is not prresent for Amazon.es in AudibleSync).
Please, could you help me.
Thanks in advance
Hello,
I am in Canada. I tried both booklib and AAX convert and none of them work for me :-( Sorry I am a newbe and know very little if none to all that. Anyone who could guide me please?
Hi there, getting the following error message when I try to export a file.
The download and decryption steps work correctly and I can see the files in my download folder:
C:\temp\Audible\Download
λ dir
Volume in drive C has no label.
Volume Serial Number is 34EA-5379
Directory of C:\temp\Audible\Download
04/03/2022 12:30 PM <DIR> .
04/03/2022 12:30 PM <DIR> ..
04/03/2022 12:30 PM 431,185,907 [3巻] 青春ブタ野郎はロジカルウィッチ_B0854L1FC2_LC_128_44100_Stereo.aaxc
04/03/2022 12:30 PM 425,106,042 [3巻] 青春ブタ野郎はロジカルウィッチ_B0854L1FC2_LC_128_44100_Stereo.m4b
2 File(s) 856,291,949 bytes
2 Dir(s) 286,003,892,224 bytes free
C:\temp\Audible\Download
(The reason I'm using C:\temp is because if I use my actual Music folder, which lives on a different drive, the process silently fails).
Attached are some relevant files. Please let me know if there's any more information I can provide.
BookLibConnect_2022-04-03_005.log
usersettings.json
stacktrace.txt
After setting up a new profile and clicking "Download" the library windows is empty, although there should be several audiobooks to dowload. This problem only exists for one specific profile. Others seem to be working with no problem.
When I try to setup the the download folder, I get:
Unhandled exception has occured in your application.
The system cannot find the file specified.
And I'm stuck on this part.
Hi,
Thanks, this program is really useful. Would you consider making an ARM release of the installer?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.