From 493d92f2b8356fc16c426651f9a8ffe1c2a1446b Mon Sep 17 00:00:00 2001 From: Akshit Tyagi <37214399+SomeoneCoolerThanYou@users.noreply.github.com> Date: Sat, 12 Sep 2020 18:25:42 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a7910e..3d9f944 100644 --- a/README.md +++ b/README.md @@ -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. From 78a6bf9a0c6a45c517723b4f869d302a8f7744e6 Mon Sep 17 00:00:00 2001 From: Akshit Tyagi <37214399+SomeoneCoolerThanYou@users.noreply.github.com> Date: Sat, 12 Sep 2020 18:26:58 +0530 Subject: [PATCH 2/2] Update ByeAds.py --- ByeAds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ByeAds.py b/ByeAds.py index c041d47..b7ec889 100644 --- a/ByeAds.py +++ b/ByeAds.py @@ -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)