mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
* Complete lastfm-bundle 2.0: add session support and move config to packages * Fix environment variable name: LASTFM_SESSION -> LASTFM_SESSION_KEY - Update session_key configuration to use LASTFM_SESSION_KEY for consistency - Addresses feedback from PR #1885 * Fix copy-from-recipe path in manifest.json - Change from '%CONFIG_DIR%/packages/' to '%CONFIG_DIR%/' - Prevents files from being copied to config/packages/packages/ - Thanks @diimpp for catching this issue
17 lines
703 B
YAML
17 lines
703 B
YAML
calliostro_lastfm:
|
|
# Required: API Key for all practical operations (get from https://www.last.fm/api/account/create)
|
|
api_key: '%env(LASTFM_API_KEY)%'
|
|
|
|
# Required for authenticated operations: API Secret
|
|
api_secret: '%env(LASTFM_SECRET)%'
|
|
|
|
# Optional: Session key for scrobbling and user operations
|
|
# Get this via Last.fm OAuth flow or use a pre-generated session key
|
|
# session_key: '%env(LASTFM_SESSION_KEY)%'
|
|
|
|
# Optional: HTTP User-Agent header for API requests
|
|
# user_agent: 'MyApp/1.0 +https://myapp.com'
|
|
|
|
# Optional: Professional rate limiting (requires symfony/rate-limiter)
|
|
# rate_limiter: lastfm_api # Your configured RateLimiterFactory service
|