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

bad credentials #9

Open
M05QU170 opened this issue Nov 3, 2024 · 2 comments
Open

bad credentials #9

M05QU170 opened this issue Nov 3, 2024 · 2 comments

Comments

@M05QU170
Copy link

M05QU170 commented Nov 3, 2024

Hi.

I wonder do you have any plans to implement different login? Apparently spotify has stopped login with username and password.

Kind regards

@devlocalhost
Copy link
Owner

seems like spotify has indeed stopped login via username & password, as you said: kokarare1212/librespot-python#277 (comment)

the fix should be easy: kokarare1212/librespot-python#277 (comment)

i will try something tomorrow, and see if it works. thanks for letting me know.

@devlocalhost
Copy link
Owner

unfortunately, i dont think i can fix this issue for now. but, there are 2 solutions to this issue:

  1. line 131 of utils.py:

    session = (

    replace .user_pass() (line 133 till 136) with .stored_file(), which will try to load the credentials.json file instead. this file can be generated using librespot-auth, for example.

  2. use zeroconf

the reason i cannot fix this issue, is because i dont have a pc (hopefully soon). i could make a few changes, but i cannot test if those changes work or not, so it doesnt make sense. zeroconf/generating a credentials.json need a pc with the spotify client running.

i will keep looking for solutions. if anyone finds anything useful/helpful, please let me know!

@devlocalhost devlocalhost pinned this issue Nov 8, 2024
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

2 participants