diff --git a/calliostro/last-fm-client-bundle/2.0/config/calliostro_lastfm.yaml b/calliostro/last-fm-client-bundle/2.0/config/packages/calliostro_lastfm.yaml similarity index 51% rename from calliostro/last-fm-client-bundle/2.0/config/calliostro_lastfm.yaml rename to calliostro/last-fm-client-bundle/2.0/config/packages/calliostro_lastfm.yaml index 42f82b893..2a0f5b928 100644 --- a/calliostro/last-fm-client-bundle/2.0/config/calliostro_lastfm.yaml +++ b/calliostro/last-fm-client-bundle/2.0/config/packages/calliostro_lastfm.yaml @@ -1,10 +1,14 @@ 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)%' - # Required for write operations: API Secret + # 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' diff --git a/calliostro/last-fm-client-bundle/2.0/manifest.json b/calliostro/last-fm-client-bundle/2.0/manifest.json index 8ff8d3e43..305d922b8 100644 --- a/calliostro/last-fm-client-bundle/2.0/manifest.json +++ b/calliostro/last-fm-client-bundle/2.0/manifest.json @@ -7,6 +7,7 @@ }, "env": { "LASTFM_API_KEY": "", - "LASTFM_SECRET": "" + "LASTFM_SECRET": "", + "#LASTFM_SESSION": "" } }