mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -04:00
Added support for selectively overriding capture settings on a per-stream basis
This commit is contained in:
@@ -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, ct).CaptureAsync();
|
||||
_ = new StreamCapture("https://bossmanjack.tv", StreamCaptureMethods.YtDlp, null, ct).CaptureAsync();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user