server:
  port: 8091

spring:
  thymeleaf:
    cache: false

# ── Spotify (Client Credentials – no user login required for public playlists) ──
# Set SPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET as environment variables.
# Create credentials at https://developer.spotify.com/dashboard
spotify:
  client-id:     ${SPOTIFY_CLIENT_ID:}
  client-secret: ${SPOTIFY_CLIENT_SECRET:}
  redirect-uri:  ${SPOTIFY_REDIRECT_URI:http://localhost:8091/spotify/callback}

# ── Tidal OAuth2 PKCE ──
# Set TIDAL_CLIENT_ID as an environment variable.
# Register an app at https://developer.tidal.com
tidal:
  client-id:     ${TIDAL_CLIENT_ID:}
  client-secret: ${TIDAL_CLIENT_SECRET:}
  country-code:  ${TIDAL_COUNTRY_CODE:DE}

# ── Google / YouTube Data API ──
# Set GOOGLE_API_KEY as an environment variable.
# Create an API key at https://console.cloud.google.com and enable YouTube Data API v3.
google:
  api-key: ${GOOGLE_API_KEY:}

# ── Deezer OAuth – commented out until app registration is available ──
# deezer:
#   app-id: ${DEEZER_APP_ID}
#   app-secret: ${DEEZER_APP_SECRET}
#   redirect-uri: ${DEEZER_REDIRECT_URI:http://localhost:8091/auth/callback}
