From 429faabb31685d81cd9525a7e981c784705f7776 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Tue, 8 Jul 2025 17:23:53 -0500 Subject: [PATCH] Wait for video if it doesn't believe the streamer is live --- KfChatDotNetBot/Services/YtDlpCapture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/YtDlpCapture.cs b/KfChatDotNetBot/Services/YtDlpCapture.cs index 0519a7a..e00d52e 100644 --- a/KfChatDotNetBot/Services/YtDlpCapture.cs +++ b/KfChatDotNetBot/Services/YtDlpCapture.cs @@ -102,7 +102,7 @@ public class YtDlpCapture(string streamUrl, CancellationToken ct = default) var ytDlpLine = $"{_settings[BuiltIn.Keys.CaptureYtDlpBinaryPath].Value} -o \"{_settings[BuiltIn.Keys.CaptureYtDlpOutputFormat].Value}\" " + $"--user-agent \"{_settings[BuiltIn.Keys.CaptureYtDlpUserAgent].Value}\" " + $"--cookies-from-browser {_settings[BuiltIn.Keys.CaptureYtDlpCookiesFromBrowser].Value} " + - $"--write-info-json {streamUrl}"; + $"--write-info-json --wait-for-video 15 {streamUrl}"; string scriptContent; if (OperatingSystem.IsWindows())