From cd3b76745cb30a03693aa3f19a7438f88c4968d4 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 28 Sep 2025 03:52:29 -0500 Subject: [PATCH] Converted Owncast capture to Streamlink as yt-dlp sometimes gives up part way through the capture --- KfChatDotNetBot/Services/Owncast.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Services/Owncast.cs b/KfChatDotNetBot/Services/Owncast.cs index 86ba632..5ac5cff 100644 --- a/KfChatDotNetBot/Services/Owncast.cs +++ b/KfChatDotNetBot/Services/Owncast.cs @@ -47,7 +47,7 @@ public class Owncast(ChatBot kfChatBot) : IDisposable if (!status.Online) continue; await kfChatBot.SendChatMessageAsync("https://bossmanjack.tv restream is live!", true); if (!(await SettingsProvider.GetValueAsync(BuiltIn.Keys.CaptureEnabled)).ToBoolean()) continue; - _ = new StreamCapture("https://bossmanjack.tv", StreamCaptureMethods.YtDlp, null, ct).CaptureAsync(); + _ = new StreamCapture("https://bossmanjack.tv/hls/stream.m3u8", StreamCaptureMethods.Streamlink, null, ct).CaptureAsync(); } }