mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Rename BONOB_STREAM_CUSTOM_CLIENTS to BONOB_NAVIDROME_CUSTOM_CLIENTS
This commit is contained in:
@@ -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_NAME | bonob | service name for sonos
|
||||||
BONOB_SONOS_SERVICE_ID | 246 | service id for sonos
|
BONOB_SONOS_SERVICE_ID | 246 | service id for sonos
|
||||||
BONOB_NAVIDROME_URL | http://localhost:4533 | URL for navidrome
|
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
|
## Initialising service within sonos app
|
||||||
|
|
||||||
|
|||||||
@@ -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 =
|
const streamUserAgent =
|
||||||
customClientsFor == "none" ? DEFAULT : appendMimeTypeToClientFor(customClientsFor.split(","));
|
customClientsFor == "none" ? DEFAULT : appendMimeTypeToClientFor(customClientsFor.split(","));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user