修复24小时监测问题

This commit is contained in:
Yutousama 2022-04-24 22:35:08 +08:00
parent 10e6bfc9d1
commit f3f7988de5
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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, "老板大气!点点红包抽礼物!");
}
}