Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libby setup codes don't work #78

Open
ParsonsGlory opened this issue Sep 18, 2024 · 13 comments
Open

Libby setup codes don't work #78

ParsonsGlory opened this issue Sep 18, 2024 · 13 comments

Comments

@ParsonsGlory
Copy link

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?

@coloradoruss
Copy link

coloradoruss commented Sep 18, 2024 via email

@wtanksleyjr
Copy link

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.

@ParsonsGlory
Copy link
Author

ParsonsGlory commented Sep 18, 2024

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

@wtanksleyjr
Copy link

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

Fixed here https://github.com/jordkh/odmpy

@coloradoruss
Copy link

coloradoruss commented Oct 6, 2024 via email

@dideler
Copy link

dideler commented Oct 15, 2024

Any ideas how to get past the first-run of odmpy libby since Libby reversed the setup code flow as mentioned in #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.

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.
image

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).

@wtanksleyjr
Copy link

wtanksleyjr commented Oct 15, 2024 via email

@oandpg
Copy link

oandpg commented Oct 23, 2024

Not working for me using the sonos/android/libby codes. still getting the same error.

@wtanksleyjr
Copy link

That's because it's not fixed in this repository, but it has been fixed at https://github.com/jordkh/odmpy .
The command I just ran to install this was python3 -m pip install git+https://git@github.com/jordkh/odmpy --upgrade --force-reinstall .

@oandpg
Copy link

oandpg commented Oct 23, 2024

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...

@wtanksleyjr
Copy link

wtanksleyjr commented Oct 23, 2024 via email

@jahlborn
Copy link

now that odm files can't be downloaded anymore, does anyone have any working solutions at this point?

@wtanksleyjr
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants