From f3f7988de5460db3bde82cf631c0f89aeffc136b Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Sun, 24 Apr 2022 22:35:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D24=E5=B0=8F=E6=97=B6=E7=9B=91?= =?UTF-8?q?=E6=B5=8B=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/Tools/ApplicationInit.java | 2 +- src/main/java/com/yutou/bilibili/Tools/DanmuTools.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yutou/bilibili/Tools/ApplicationInit.java b/src/main/java/com/yutou/bilibili/Tools/ApplicationInit.java index e7416f4..61ec705 100644 --- a/src/main/java/com/yutou/bilibili/Tools/ApplicationInit.java +++ b/src/main/java/com/yutou/bilibili/Tools/ApplicationInit.java @@ -97,7 +97,7 @@ public class ApplicationInit implements ApplicationRunner { LiveUtils.reloadLiveState(list); for (BilibiliUpInfo info : list) { if (info.getOfflinelistening() == 1) { - if (info.getEnable() == 1 && LiveUtils.isLivePlayer(info.getRoomid())) { + if (info.getEnable() == 1 ) { Live live = LiveUtils.liveContains(info); if (live == null) { live = new Live(); diff --git a/src/main/java/com/yutou/bilibili/Tools/DanmuTools.java b/src/main/java/com/yutou/bilibili/Tools/DanmuTools.java index 75efcef..fd1cee6 100644 --- a/src/main/java/com/yutou/bilibili/Tools/DanmuTools.java +++ b/src/main/java/com/yutou/bilibili/Tools/DanmuTools.java @@ -59,8 +59,8 @@ public class DanmuTools { } public static void main(String[] args) { - File live = new File("Z:\\BiliBiliLive\\2021年7月10日BML-Sp\\[2021-07-10 165521]22408644.mp4"); - File danmu = new File("Z:\\BiliBiliLive\\2021年7月10日BML-Sp\\[2021-07-10]22408644.db"); + File live = new File("Z:\\BiliBiliLive\\live\\2022-04-24\\[2022-04-24 213155]1022.mp4"); + File danmu = new File("Z:\\BiliBiliLive\\live\\2022-04-24\\[2022-04-24]1022.db"); danmuToAss(live, danmu,true, "老板大气!点点红包抽礼物!"); } }