From 57cbaca892c157a137592ce5f3967b6d4b1ef76c Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sun, 20 Dec 2020 02:27:54 +0100 Subject: [PATCH] yes. --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 3ef8d36..5f571c7 100644 --- a/main.py +++ b/main.py @@ -32,6 +32,8 @@ screen = RGBMatrix(options = options) song_name="" artist_name="" +cache_path="/home/pi" + is_playing = False token = None #oauth2.SpotifyOAuth(username, scope, client_id, client_secret, redirect_uri) @@ -162,7 +164,7 @@ def is_token_expired(): client_secret, redirect_uri, scope=scope, - #cache_path=cache_path, + cache_path=cache_path, username=username, open_browser=False )