diff --git a/README.md b/README.md index ddf1469..5102e91 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ BONOB_SONOS_SEED_HOST | undefined | sonos device seed host for discovery, or omm BONOB_SONOS_SERVICE_NAME | bonob | service name for sonos BONOB_SONOS_SERVICE_ID | 246 | service id for sonos BONOB_NAVIDROME_URL | http://localhost:4533 | URL for navidrome -BONOB_STREAM_CUSTOM_CLIENTS | undefined | Comma delimeted mime types for custom clients when streaming. ie. "audio/flac,audio/ogg" would use client = 'bonob+audio/flac' for flacs, and 'bonob+audio/ogg' for oggs. +BONOB_NAVIDROME_CUSTOM_CLIENTS | undefined | Comma delimeted mime types for custom navidrome clients when streaming. ie. "audio/flac,audio/ogg" would use client = 'bonob+audio/flac' for flacs, and 'bonob+audio/ogg' for oggs. ## Initialising service within sonos app diff --git a/src/app.ts b/src/app.ts index ea72fae..07a1490 100644 --- a/src/app.ts +++ b/src/app.ts @@ -33,7 +33,7 @@ if (process.env["BONOB_SONOS_AUTO_REGISTER"] == "true") { }); } -const customClientsFor = process.env["BONOB_STREAM_CUSTOM_CLIENTS"] || "none"; +const customClientsFor = process.env["BONOB_NAVIDROME_CUSTOM_CLIENTS"] || "none"; const streamUserAgent = customClientsFor == "none" ? DEFAULT : appendMimeTypeToClientFor(customClientsFor.split(","));