From aa2c5b47cb1f81a7835c344d8fed9323337e48af Mon Sep 17 00:00:00 2001 From: Robin-St Date: Sat, 23 Nov 2024 10:28:29 +0100 Subject: [PATCH 1/2] Troubleshooting aid for headless mode --- examples/headless.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/headless.py b/examples/headless.py index d9f4278c..4823adaa 100644 --- a/examples/headless.py +++ b/examples/headless.py @@ -3,6 +3,7 @@ from spotipy.oauth2 import SpotifyOAuth # set open_browser=False to prevent Spotipy from attempting to open the default browser +# Note that some browsers might hide the URL redirected to, if this happens test another browser spotify = spotipy.Spotify(auth_manager=SpotifyOAuth(open_browser=False)) print(spotify.me()) From 5851382ff30a6b08c81a630050090c315eac190f Mon Sep 17 00:00:00 2001 From: Robin-St Date: Sat, 23 Nov 2024 10:46:47 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86ebb8b9..bbe25afe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Add your changes below. - Added `personalized_playlist.py`, `track_recommendations.py`, and `audio_features_analysis.py` to `/examples`. - Discord badge in README - Added `SpotifyBaseException` and moved all exceptions to `exceptions.py` +- Added note about browser troubleshooting to the headless.py example ### Fixed - Audiobook integration tests