-
Notifications
You must be signed in to change notification settings - Fork 14
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
It stoped working #40
Comments
Look at the last line. It literally says “bad credentials” there. Renew the authentication and it’ll work again. |
Can you explain how I can do that? I have tried everything, even creating a new account and the problem persist. |
Depends on how you set it up initially.
Then set up a new container with: |
I tried this, but unfortunately the problem still persists. Is your container working normally? After all the steps a got this log:
|
I have encountered a similar problem. Is it possible that you have special characters in your password? For example, $ characters are interpreted by docker-compose and therefore do not make it into the configuration of spodcast. For example, if your password contains a symbol like
however, since the $ characters are interpreted by docker-compose and there is like no variable $abcde present, only the string after another special or limiting character is passed to the enviroment: expected spotify.rc content: actual spotify.rc content: Recommended solution: Edit: I just tested it, and you also need to escape the $ for the shell I guess?
|
Padok the problem was a "." in my password. Thank you very much for the help!! |
I'm too getting the spodcast -l data/spotify.rc --log-level DEBUG Logs
|
No, Spotify removed username/password login, see #46 |
It stoped working for me, I'm getting these error messages:
INFO:Librespot:Session:Created new session! device_id: 4111fdfe595800dc705aa0ff4939b59ac595283c, ap: ap-gae2.spotify.com:80
INFO:Librespot:Session:Connection successfully!
INFO:Librespot:Session:Session.Receiver started
INFO:Librespot:Session:Skipping 02
INFO:Librespot:Session:Received license_version: 0
INFO:Librespot:Session:Received country_code: BR
INFO:Librespot:Session:Skipping 1f
INFO:Librespot:Session:Skipping 69
INFO:Librespot:Session:Skipping unknown command cmd: 0x75, payload: b'\x00\x00\x00'
INFO:Librespot:Session:Authenticated as 31d2eplb6lsuy77uikekqfzj5w44!
INFO:Librespot:Session:Created new session! device_id: a59001678e10ffd39b38e2112629011548862466, ap: ap-gue1.spotify.com:443
INFO:Librespot:Session:Connection successfully!
INFO:Librespot:Session:Closing session. device_id: a59001678e10ffd39b38e2112629011548862466
INFO:Librespot:Session:Closed session. device_id: a59001678e10ffd39b38e2112629011548862466
Traceback (most recent call last):
File "/usr/local/bin/spodcast", line 8, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/site-packages/spodcast/main.py", line 42, in main
args.func(args)
File "/usr/local/lib/python3.12/site-packages/spodcast/app.py", line 14, in client
Spodcast(args)
File "/usr/local/lib/python3.12/site-packages/spodcast/spodcast.py", line 54, in init
Spodcast.login()
File "/usr/local/lib/python3.12/site-packages/spodcast/spodcast.py", line 78, in login
session = Session.Builder(conf).stored_file().create()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/librespot/core.py", line 1287, in create
session.authenticate(self.login_credentials)
File "/usr/local/lib/python3.12/site-packages/librespot/core.py", line 709, in authenticate
self.__authenticate_partial(credential, False)
File "/usr/local/lib/python3.12/site-packages/librespot/core.py", line 1067, in __authenticate_partial
raise Session.SpotifyAuthenticationException(ap_login_failed)
librespot.core.Session.SpotifyAuthenticationException: BadCredentials
The text was updated successfully, but these errors were encountered: