修复24小时监测问题
This commit is contained in:
parent
10e6bfc9d1
commit
f3f7988de5
@ -97,7 +97,7 @@ public class ApplicationInit implements ApplicationRunner {
|
|||||||
LiveUtils.reloadLiveState(list);
|
LiveUtils.reloadLiveState(list);
|
||||||
for (BilibiliUpInfo info : list) {
|
for (BilibiliUpInfo info : list) {
|
||||||
if (info.getOfflinelistening() == 1) {
|
if (info.getOfflinelistening() == 1) {
|
||||||
if (info.getEnable() == 1 && LiveUtils.isLivePlayer(info.getRoomid())) {
|
if (info.getEnable() == 1 ) {
|
||||||
Live live = LiveUtils.liveContains(info);
|
Live live = LiveUtils.liveContains(info);
|
||||||
if (live == null) {
|
if (live == null) {
|
||||||
live = new Live();
|
live = new Live();
|
||||||
|
@ -59,8 +59,8 @@ public class DanmuTools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
File live = new File("Z:\\BiliBiliLive\\2021年7月10日BML-Sp\\[2021-07-10 165521]22408644.mp4");
|
File live = new File("Z:\\BiliBiliLive\\live\\2022-04-24\\[2022-04-24 213155]1022.mp4");
|
||||||
File danmu = new File("Z:\\BiliBiliLive\\2021年7月10日BML-Sp\\[2021-07-10]22408644.db");
|
File danmu = new File("Z:\\BiliBiliLive\\live\\2022-04-24\\[2022-04-24]1022.db");
|
||||||
danmuToAss(live, danmu,true, "老板大气!点点红包抽礼物!");
|
danmuToAss(live, danmu,true, "老板大气!点点红包抽礼物!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user