Files
symfony-flex-recipes-contrib/calliostro/last-fm-client-bundle/2.0/config/packages/calliostro_lastfm.yaml
T
JoeyandGitHub 9104955737 Update lastfm client bundle 2.0 (#1885)
* 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
2025-11-20 21:04:03 +04:00

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