
- Add /auth endpoint with user-friendly web form - Add OAuth callback handler that automatically exchanges codes for tokens - Update redirect URI to spotify.tougie.live subdomain - Add success/error pages for authentication flow - Switch to rustls-only for better cross-platform compatibility - Update server endpoints to show spotify.tougie.live URLs - Remove manual code entry requirement
17 lines
533 B
TOML
17 lines
533 B
TOML
# Spotify Tracker Configuration
|
|
# Copy this to your config directory and update with your credentials
|
|
|
|
[spotify]
|
|
client_id = "your_spotify_client_id_here"
|
|
client_secret = "your_spotify_client_secret_here"
|
|
redirect_uri = "https://spotify.tougie.live"
|
|
scopes = ["user-read-currently-playing", "user-read-playback-state"]
|
|
|
|
# Output format: "json", "plain", or "formatted"
|
|
output_format = "formatted"
|
|
|
|
# Polling interval in seconds (for monitor mode)
|
|
polling_interval = 1
|
|
|
|
# Maximum number of retries for failed requests
|
|
max_retries = 3 |