Add Spotify integration with improved token management and user interface
- Implemented Spotify OAuth handling in spotify_client_manager.py to ensure valid access tokens for users. - Created helper functions in spotify_helper.py for refreshing tokens and retrieving user information. - Developed manage_spotify.html template for connecting and managing Spotify accounts, displaying connection status and token information. - Added logging for token management processes to enhance debugging and monitoring. - Introduced a debug client for Spotify interactions to facilitate easier testing and development.
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ services:
|
||||
- MAIL_RECIPIENT=${MAIL_RECIPIENT}
|
||||
restart: unless-stopped
|
||||
# Updated command with explicit extra-files and reload arguments
|
||||
command: python -m flask run --host=0.0.0.0 --port=5000 --reload --extra-files ./templates:/app/templates,./static:/app/static
|
||||
command: python -m flask run --host=0.0.0.0 --port=5000 --reload
|
||||
|
||||
scheduler:
|
||||
image: mcuadros/ofelia:latest
|
||||
|
||||
Reference in New Issue
Block a user