feat: improve Login5 authentication with token renewal #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ermitovski/librespot-spotizerr:improve-login5-implementation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, this is related with spotizerr/spotizerr#5 and inspired from a librespot-python PR.
I don't want to link it here as I think this was the trigger of the takedown from github
As from the initial PR when we introduced the login5 change, this is full vibe coding, and maybe the spotizerr project needs some update after this.
Summary:
can we merge this PR?
@GSKang94 wrote in #1 (comment):
as far as I understand, the original dev isn't involved at all anymore, so if we wanted to merge it we'd have to merge it in a fork. I see you have one, so maybe we can copy this PR over there and merge.
It is technically possible to use this PR without it being merged if you enter the following into your compose file volume section:
Download the four main files modified in the PR and put them into a "custom_files" folder in the same directory as compose. This has worked for me for about a week so far.
That worked! thanks @mcn18
Implementing this doesn't seem to work. I get continual logs like this with failed downloads:
2025-11-12 06:50:35 [DEBUG] Starting new HTTPS connection (1): apresolve.spotify.com:443
2025-11-12 06:50:36 [DEBUG] https://apresolve.spotify.com:443 "GET /?type=spclient HTTP/1.1" 200 None
2025-11-12 06:50:36 [DEBUG] Starting initial Login5 authentication process...
2025-11-12 06:50:36 [DEBUG] Requesting Login5 token for scopes: ['playlist-read', 'user-read-private', 'user-read-playback-state']
2025-11-12 06:50:39 [WARNING] ap_welcome() call timed out
2025-11-12 06:50:39 [ERROR] Initial Login5 authentication failed
Has there been a breaking change to spotify authentication or something?
Version 3.3.0 doesn't have this particular issue, but 3.3.0 seems to randomly expire/fail every hour or so and requires a restart..?
(unrelated to the recent extended metadata issue as I have patched that)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.