- Create a Spotify application, choosing a random redirect URI (e.g.
http://localhost:8080/redirect
). - Obtain your client ID and secret.
- Run
gradle clean build
. - Run
java -jar build/libs/spotify-automation-1.0-SNAPSHOT.jar GetTokens --client-id=<client-id> --client-secret=<client-secret> --redirect-uri=<redirect-uri>
. - Click the generated link in the console and complete the authentication flow.
- Obtain the code query parameter value after the redirect and input it into the console.
- Obtain the generated access and refresh token from the console.
- Run
java -Xmx512m -jar build/libs/spotify-automation-1.0-SNAPSHOT.jar RefreshRecentSelection --client-id=<client-id> --client-secret=<client-secret> --redirect-uri=<redirect-uri> --access-token=<access-token> --refresh-token=<refresh-token>
.
-
Notifications
You must be signed in to change notification settings - Fork 0
hanscauwenbergh/spotify-automation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published