mirror of
https://github.com/misiektoja/spotify_profile_monitor.git
synced 2026-04-25 23:15:57 +03:00
[GH-ISSUE #1] Spotify might've changed API URLs or restricted them #2
Labels
No labels
Stale
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify_profile_monitor#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @lumirth on GitHub (Mar 17, 2025).
Original GitHub issue: https://github.com/misiektoja/spotify_profile_monitor/issues/1
Similar issue to spotify_monitor, as seen here.
The app is no longer functioning, and changing the sp_dc token does not fix the problem.
@misiektoja any chance at a fix anytime soon?
@misiektoja commented on GitHub (Mar 17, 2025):
Thanks Lukas, more details in another ticket: Spotify Web Player token endpoint issue
@misiektoja commented on GitHub (Mar 18, 2025):
Okay, so the first version of the updated spotify_profile_monitor with support for TOTP parameters is here: spotify_profile_monitor.py
It works, but the endpoint is not very reliable, requiring several attempts to obtain a valid token. Spotify seems to be returning incorrect tokens intentionally. You might want to adjust the values of TOKEN_MAX_RETRIES and TOKEN_RETRY_TIMEOUT.
Don't forget to install pyotp pip module: pip3 install pyotp
Let me know your feedback, some slight adjustments will most likely still be needed.
@misiektoja commented on GitHub (Mar 19, 2025):
Final fully functioning code is here: spotify_profile_monitor.py
Similar fixes as done for spotify_monitor, more info here.
@misiektoja commented on GitHub (Mar 20, 2025):
I further improved the code and it works really well now. I'm making a release today so I'm closing the ticket.