新增弹幕转ass工具(未上线至网页)

修改获取直播状态的方法
新增主播uid字段
This commit is contained in:
Yutousama 2022-04-24 21:21:24 +08:00
parent a1382ff7be
commit 10e6bfc9d1

View File

@ -138,7 +138,7 @@ public class UpInfoController {
} }
JSONObject item= (JSONObject) JSON.toJSON(up); JSONObject item= (JSONObject) JSON.toJSON(up);
item.put("listen",Live.lives.get(up.getRoomid())!=null); item.put("listen",Live.lives.get(up.getRoomid())!=null);
info.add(JSON.toJSON(up)); info.add(JSON.toJSON(item));
} }
for (Live live : Live.lives.values()) { for (Live live : Live.lives.values()) {
if (live.geData().getLive() == 1) { if (live.geData().getLive() == 1) {