jesus christ
This commit is contained in:
parent
02d68d7927
commit
97c384c906
1 changed files with 3 additions and 2 deletions
5
app.py
5
app.py
|
@ -13,7 +13,7 @@ app = Flask(__name__)
|
|||
# Spotify API credentials from environment variables
|
||||
CLIENT_ID = os.getenv("CLIENT_ID")
|
||||
CLIENT_SECRET = os.getenv("CLIENT_SECRET")
|
||||
REDIRECT_URI = "http://0.0.0.0/callback"
|
||||
REDIRECT_URI = "https://music.prigoana.com/callback"
|
||||
SCOPE = "user-modify-playback-state user-read-playback-state"
|
||||
|
||||
# Spotipy client
|
||||
|
@ -21,7 +21,8 @@ sp = Spotify(auth_manager=SpotifyOAuth(
|
|||
client_id=CLIENT_ID,
|
||||
client_secret=CLIENT_SECRET,
|
||||
redirect_uri=REDIRECT_URI,
|
||||
scope=SCOPE
|
||||
scope=SCOPE,
|
||||
open_browser=False # Disable interactive input
|
||||
))
|
||||
|
||||
# Home route
|
||||
|
|
Loading…
Add table
Reference in a new issue