-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Libby setup codes don't work #78
Comments
Oh no. I can give some more detail - the failure is that one of the Libby steps sends an invalid certificate, which Python's parser rejects. odmpy seems to expect the error and just reports that authentication didn't work, but more is going on than usual. This discussion should be brought under the old thread #69, since it seems to belong to the same category. |
The invalid certificate error seems to have been fixed ping/libby-calibre-plugin#33. Hopefully this work will be migrated to odmpy, Edit: Fixed here https://github.com/jordkh/odmpy |
FYI, the message posted 2 weeks ago was edited to include a solution - if you were watching this post for a solution you wouldn't see it because edits don't get sent out to watchers, so I'm reposting it. Hat tip: @ParsonsGlory
|
Any ideas how to get past the first-run of The code is now given from the device that has to recover the data. In other words, you can no longer get a code from a logged in session of Libby to give to odmpy. Edit: Using the locally installed fork https://github.com/jordkh/odmpy with the alternative Sonos flow worked as it still has the logged-in session generate a code. Now running into another error getting a 403 when opening an audiobook URL. But was able to get around that by downloading the ODM file manually from Overdrive web as in #70 (comment) and #69 (comment). |
Yes, from where it asks you for the code (instead of showing the code) you
just click on either of the two options underneath it (Android Car, or
Sonos); either one will give you a code in the old way.
…-Wm
On Tue, Oct 15, 2024 at 7:16 AM Dennis Ideler ***@***.***> wrote:
Any ideas how to get past the first-run of odmpy libby since Libby
reversed the setup code flow as mentioned in #78 (comment)
<#78 (comment)>?
The code is now given from the device that has to recover the data. In
other words, you can no longer get a code from a logged in session of Libby
to give to odmpy.
—
Reply to this email directly, view it on GitHub
<#78 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ7H6JUOXUO4LXABLIHHU3Z3UPSDAVCNFSM6AAAAABOMY33LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJUGA2TAMJSGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Not working for me using the sonos/android/libby codes. still getting the same error. |
That's because it's not fixed in this repository, but it has been fixed at https://github.com/jordkh/odmpy . |
Yes I installed it from the jordkh repo but it had not installed properly. can now get it to accept the code, and it displays the books, but any attempt to download results in a 403 error. The suggested workarounds of using an ODM file will disappear on the 13 nov when they stop displaying the mp3 option... |
Yes, they effectively shut Libby down for us a long time ago; the ODM
workaround was all we had.
You're right that's going away next month.
And that's it for us.
I'm told that people have gotten mp3 files downloaded from the Libby
interface, but this is not a part of programming I've dabbled in, and ping
(the original author of odmpy) has been gone for a while.
…-Wm
On Wed, Oct 23, 2024 at 4:48 PM oandpg ***@***.***> wrote:
Yes I installed it from the jordkh repo but it had not installed properly.
can now get it to accept the code, and it displays the books, but any
attempt to download results in a 403 error. The suggested workarounds of
using an ODM file will disappear on the 13 nov when they stop displaying
the mp3 option...
—
Reply to this email directly, view it on GitHub
<#78 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ7H6PWUAKRLRCGHQQQ6ELZ5AYV3AVCNFSM6AAAAABOMY33LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZTG44TINBYGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
now that odm files can't be downloaded anymore, does anyone have any working solutions at this point? |
Not really. Sorry, I wish we had the expertise, but with the author MIA and no other expert at hand there's not much to be done... I'm a programmer, but in this field I'm just flailing about. |
I was able to use the forked version at https://github.com/jordkh/odmpy to complete the setup. Then, in order to get past the error downloading, I used the code and instructions for this "bookmarklet" to expose the "Download MP3" link on the Overdrive Loans web page: https://gist.github.com/ping/b58ae66359691db1d08f929a9e57a03d |
You do have to run "odmpy dl" shortly after downloading the file or you will get an error about an expired odm file. |
Amazing, thank you so much!!! I have my audiobooks back... :) |
Is anyone else getting nothing but errors from |
I just ran another download and it worked great. after getting the bookmark I run this at the command prompt After getting teh bookmark I just highlight the file and mouse drag the name to the command prompt and it brings over the file address. it all seems to work great for me. Have you tried it again today? |
Thank you for checking! I just tried again ... and this time it worked! WHEW. |
Got nothing yet.
The ODM itself seems empty anyway
|
You're good that the setup worked. Instead of step 4, you should click the bookmarklet from your loans page, not from an "opened-up audiobook" (I'm not sure what that means BTW). In my case my loans page is at https://lapl.overdrive.com/account/loans. What it does is change the page so that all of the "Have Overdrive for Mac/Windows? >" links reveal their "Download" buttons (like they used to). As step 5, you can then click on the Download links under the books you want, and you'll get the ODM file you'd have expected. Next you copy it to the machine running odmpy, and run |
you lost me with "#4: Opened up audiobook" You want to click/open/run the bookmarklet while on the Overdrive.com LOANS page. That should cause the "Download MP3 audiobook" link to appear. .... |
Ahh I see. I was trying the bookmarklet on Libby but I should have been using it on the Library page. That DID work. thank you. The ODM failed in Overdrive. But it does seem to be working with Nevermind. Turns out it was my VPN. Download failed just before I hit submit and when I flicked it off it was golden. Regular speeds. My HatTip to you all. I didn't expect to get this all solved tonight. |
I'm having trouble getting past this step to authenticate with the Sonos or the Android Auto code. I think I have latest on the fork: I get this error every time: EDIT/SOLVE: Apparently I don't need this for |
Yes, the fix discussed in this issue and available at the fork is ONLY needed if you want to do things like get a list of all the books you have checked out. It's not super-useful, although I have scripts that connect the two so that I can use another system to get book metadata. It looks to me like you're running the version of odmpy at this site, not the one at the fork. Others have posted a Python command line which will install that one (and you might want to remove this one first). |
You're completely right. What I goober I am. Thanks for taking the time to reply and help me learn! |
Neither of the remaining options for generating setup codes works. The code for sonos speakers and the code for android auto generates the error: Could not log in with code.
Any suggestions anyone?
The text was updated successfully, but these errors were encountered: