mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
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
This commit is contained in:
+6
-2
@@ -1,10 +1,14 @@
|
|||||||
calliostro_lastfm:
|
calliostro_lastfm:
|
||||||
# Required: API Key (get from https://www.last.fm/api/account/create)
|
# Required: API Key for all practical operations (get from https://www.last.fm/api/account/create)
|
||||||
api_key: '%env(LASTFM_API_KEY)%'
|
api_key: '%env(LASTFM_API_KEY)%'
|
||||||
|
|
||||||
# Required for write operations: API Secret
|
# Required for authenticated operations: API Secret
|
||||||
api_secret: '%env(LASTFM_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
|
# Optional: HTTP User-Agent header for API requests
|
||||||
# user_agent: 'MyApp/1.0 +https://myapp.com'
|
# user_agent: 'MyApp/1.0 +https://myapp.com'
|
||||||
|
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"LASTFM_API_KEY": "",
|
"LASTFM_API_KEY": "",
|
||||||
"LASTFM_SECRET": ""
|
"LASTFM_SECRET": "",
|
||||||
|
"#LASTFM_SESSION": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user