From fa8523da97742ab604ca3bb68b7b19b09394bf59 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 29 Nov 2024 18:04:22 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=90=AF=E7=94=A8=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=BD=95=E5=88=B6=E5=90=8E,=E5=BC=B9=E5=B9=95=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E4=B8=AD=E9=80=94=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA?= =?UTF-8?q?,=E4=B8=8D=E4=BC=9A=E5=86=8D=E9=87=8D=E6=96=B0=E5=BD=95?= =?UTF-8?q?=E5=88=B6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/bilibili/services/SystemService.java | 3 +++ 1 file changed, 3 insertions(+) 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); }