Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ByeAds.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def restartSpotify():
spotifyClientID = "#EnterClientIDHere"
spotifyClientSecret = "#EnterClientSecretHere"
spotifyAccessScope = "user-read-currently-playing user-modify-playback-state"
spotifyRedirectURI = "http://google.com/"
spotifyRedirectURI = "https://www.google.com/"

def setupSpotifyObject(username, scope, clientID, clientSecret, redirectURI):
token = util.prompt_for_user_token(username, scope, clientID, clientSecret, redirectURI)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ When an ad is detected, the program restarts Spotify by the os module and plays
## Setting up the Spotify API
1. Go to https://developer.spotify.com/dashboard and sign in with your Spotify account.
2. Click on the 'CREATE AN APP' option and provide an app name and app description as you'd like.
3. Go to 'EDIT SETTINGS' and **exactly** fill in the Redirect URIs placeholder with https://google.com/, and click on Save.
3. Go to 'EDIT SETTINGS' and **exactly** fill in the Redirect URIs placeholder with https://www.google.com/, and click on Save.
4. Copy the Client ID and Client Secret and paste it in the corresponding place holders in ByeAds.py.