mirror of
https://github.com/misiektoja/spotify_profile_monitor.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #16] Documentation Clarifications #12
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#12
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 @tomballgithub on GitHub (Jun 15, 2025).
Original GitHub issue: https://github.com/misiektoja/spotify_profile_monitor/issues/16
Really great job documenting everything, including the new login mechanisms. However, the -z flag is not mentioned at all, although there's some good detail in the 'config data' section of the source code. After I typed that, I saw that you said to read the source for more advanced options, so maybe this is intended. However, it would be nice to know the difference between the -x and -z modes
Can you add some clarity around the 'refresh' capabilities when using the 'client' mode? Which of these support it?
The docs say this, but it's ambiguous to me:
Thanks...
@misiektoja commented on GitHub (Jun 16, 2025):
Hey Jeoff,
I intentionally skipped some stuff from the user guide, so it wouldn't get too complicated / intimidating. Only the
-wflag (I'm guessing that's what you meant by-x) is needed to get the client Protobuf login method working with the automatic refresh of all needed tokens.The other flag (
-z) is optional if someone wants to fully replicate their own desktop client with platform specifics. It's more of a supportive option, not a separate mode. But from my tests, it's not really relevant, the provided hard-coded values seem to work just fine, so it is more for the future if Spotify decides to change something. I will update the guide and inline comments with more explanations and I think I will make the-zflag not appear in the help screen anymore as I agree it might be confusing ...Answering your second point, the tool automatically refreshes both the access token and the client token using the intercepted refresh token. It doesn't matter if you feed its value automatically via the Protobuf file (
-w) or provide it manually with the REFRESH_TOKEN variable, it behaves exactly the same.So in other words - just export the Protobuf login request body file, point it via
-wand that's it - you should be good to go!Hope that clears things up! If not, let me know!
@misiektoja commented on GitHub (Jun 18, 2025):
I updated the user guide and inline comments. Hopefully, it's clear now, so I'm closing the ticket.
@tomballgithub commented on GitHub (Jun 20, 2025):
Thanks for the clarification here. The new updates to the documentation are extremely thorough. Nice job!