
- Rock-solid Rust implementation replacing unreliable custom API - OAuth2 authentication with automatic token refresh - HTTP server with multiple endpoints (/current, /phantombot, /health) - Comprehensive error handling and retry logic - PhantomBot integration examples and documentation - CLI tool with monitoring and configuration management
17 lines
536 B
TOML
17 lines
536 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 = "http://localhost:8888/callback"
|
|
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 |