diff --git a/BililiveRecorder.Core/StreamMonitor.cs b/BililiveRecorder.Core/StreamMonitor.cs index aee2471..353fc93 100644 --- a/BililiveRecorder.Core/StreamMonitor.cs +++ b/BililiveRecorder.Core/StreamMonitor.cs @@ -108,7 +108,10 @@ namespace BililiveRecorder.Core switch (e.Danmaku.MsgType) { case MsgTypeEnum.LiveStart: - Task.Run(() => StreamStatusChanged?.Invoke(this, new StreamStatusChangedArgs() { type = TriggerType.Danmaku })); + if (IsMonitoring) + { + Task.Run(() => StreamStatusChanged?.Invoke(this, new StreamStatusChangedArgs() { type = TriggerType.Danmaku })); + } break; case MsgTypeEnum.LiveEnd: break;