added threading for the lyrics download for speed

added update print to console if updated
This commit is contained in:
Brandon4466
2023-02-10 22:57:12 -08:00
parent dcd2fc068f
commit c18594855e
27 changed files with 2245 additions and 25 deletions

7
canvas/src/constants.py Normal file
View File

@@ -0,0 +1,7 @@
API_HOST = "https://gew1-spclient.spotify.com"
CANVAS_ROUTE = "/canvaz-cache/v0/canvases"
TOKEN_ENDPOINT = "https://open.spotify.com/get_access_token?reason=transport"
TOKEN_RENEW_TIME = 900
TRACK_URI_PREFIX = "spotify:track:"
OAUTH_SCOPES = "playlist-read"