From 9cc2ca1010b124f0c121a9b78a31387d74e3fe60 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Thu, 22 Jan 2026 21:43:50 +0000 Subject: [PATCH] docs: Refactor lastfm source instructions in quickstart guide to use ENV --- docsite/docs/quickstart.mdx | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/docsite/docs/quickstart.mdx b/docsite/docs/quickstart.mdx index 13e8e46b..44460a53 100644 --- a/docsite/docs/quickstart.mdx +++ b/docsite/docs/quickstart.mdx @@ -126,20 +126,12 @@ services: After account creation make note of the **Api Key** and **Secret** that are displayed. - Create a new [File](/configuration?configType=file#configuration-types) named `lastfm.json` in the `./config` directory that will be used with your [`docker-compose.yml` stack](#create-docker-compose-file) and copy the below contents, replacing placeholders with the data you got from Last.fm API account creation: - - ```json title="~/msData/config/lastfm.json" - [ - { - "name": "myLastFmSource", - "configureAs": "source", - "data": { - "apiKey": "MY_API_KEY_PLACEDHOLDER", - "secret": "MY_SECRET_PLACEHOLDER", - "redirectUri": "http://192.168.0.100:9078/lastfm/callback" - } - } - ] + Add these values to the `environment` section in the [`docker-compose.yml` you created.](#create-docker-compose-file) + + ```yaml title="~/msData/docker-compose.yml" + - SOURCE_LASTFM_API_KEY=MY_API_KEY_PLACEDHOLDER + - SOURCE_LASTFM_SECRET=MY_SECRET_PLACEHOLDER + - SOURCE_LASTFM_REDIRECT_URI=http://192.168.0.100:9078/lastfm/callback ``` Later, after [starting multi-scrobbler](#start-multi-scrobbler), visit the dashboard at `http://192.168.0.100:9078` and click **(Re)authenticate** on the **Last.fm (Source)** card to authorize multi-scrobbler to use your account. Monitoring will begin automatically after authorization is complete. -- 2.51.2