diff --git a/common/ServerConfig.ts b/common/ServerConfig.ts index f86be9f6..0c69d343 100644 --- a/common/ServerConfig.ts +++ b/common/ServerConfig.ts @@ -299,8 +299,8 @@ export const settingsFields: Record = { group: "Capture", text: "HLS segment queue threshold", type: "number", - default: 0, - help: "If set to 0, it will be ignored.", + default: -1, + help: "If set to -1, it will be ignored. 0 disables the check.", }, "capture.use_cache": { diff --git a/server/package.json b/server/package.json index c4def1e4..ea7eccf1 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "livestreamdvr-server", - "version": "1.7.2", + "version": "1.7.2.1", "description": "", "main": "index.ts", "scripts": { diff --git a/server/src/Core/Providers/Base/BaseAutomator.ts b/server/src/Core/Providers/Base/BaseAutomator.ts index 3119fc06..63f7acad 100644 --- a/server/src/Core/Providers/Base/BaseAutomator.ts +++ b/server/src/Core/Providers/Base/BaseAutomator.ts @@ -1619,8 +1619,8 @@ export class BaseAutomator { ); // streamlink 6.0.0 timeout - if (Config.getInstance().cfg("capture.hls_segment_queue_threshold", 0) != 0) { - cmd.push("--hls-segment-queue-threshold", Config.getInstance().cfg("capture.hls_segment_queue_threshold", 0).toString()); + if (Config.getInstance().cfg("capture.hls_segment_queue_threshold", -1) != -1) { + cmd.push("--hls-segment-queue-threshold", Config.getInstance().cfg("capture.hls_segment_queue_threshold", -1).toString()); } // The size of the thread pool used to download HLS segments.