diff --git a/src/main/java/com/yutou/bilibili/services/SystemService.java b/src/main/java/com/yutou/bilibili/services/SystemService.java index 3c50861..b4db522 100644 --- a/src/main/java/com/yutou/bilibili/services/SystemService.java +++ b/src/main/java/com/yutou/bilibili/services/SystemService.java @@ -60,6 +60,9 @@ public class SystemService { } // 如果bean需要录制直播,并且检查录制直播时间 if (bean.isRecordLive() && bean.checkRecordLiveTime()) { + if (bean.isSyncDanmuForLive() && !danmuService.check(bean.getRoomId()) && videoService.checkDownload(bean.getRoomId())) { + recordDanmu(bean); + } // 录制视频 recordVideo(bean); }