diff --git a/integrations/app/src/main/java/app/revanced/bilibili/patches/json/JSONPatch.java b/integrations/app/src/main/java/app/revanced/bilibili/patches/json/JSONPatch.java index 33a43f3c1..ee24660e9 100644 --- a/integrations/app/src/main/java/app/revanced/bilibili/patches/json/JSONPatch.java +++ b/integrations/app/src/main/java/app/revanced/bilibili/patches/json/JSONPatch.java @@ -175,6 +175,10 @@ private static Object parseObjectHookInternal(Object obj) { } catch (Throwable ignored) { } } + if (keys.contains("qoe")) try { + info.qoe = null; + } catch (Throwable ignored) { + } } else if (data instanceof LiveShoppingGotoBuyInfo) { if (Settings.PurifyLivePopups.get().contains("gotoBuy")) return null; diff --git a/integrations/dummy/src/main/java/com/bilibili/bililive/videoliveplayer/net/beans/gateway/userinfo/BiliLiveRoomUserInfo.java b/integrations/dummy/src/main/java/com/bilibili/bililive/videoliveplayer/net/beans/gateway/userinfo/BiliLiveRoomUserInfo.java index a9504ea82..c356ecca4 100644 --- a/integrations/dummy/src/main/java/com/bilibili/bililive/videoliveplayer/net/beans/gateway/userinfo/BiliLiveRoomUserInfo.java +++ b/integrations/dummy/src/main/java/com/bilibili/bililive/videoliveplayer/net/beans/gateway/userinfo/BiliLiveRoomUserInfo.java @@ -6,21 +6,21 @@ import com.bilibili.bililive.videoliveplayer.net.beans.gateway.roominfo.LiveRoomPlayTogetherCardInfo; import com.bilibili.bililive.videoliveplayer.net.beans.playtogether.LivePlayTogetherInfoUser; -import kotlin.jvm.JvmField; - public class BiliLiveRoomUserInfo { @Nullable public FunctionCard functionCard; @Nullable public BiliLiveRoomUserTaskInfo taskInfo; - @JvmField @JSONField(name = "play_together_info") @Nullable public LivePlayTogetherInfoUser playTogetherInfo; - @JvmField @JSONField(name = "play_together_info_v2") @Nullable public LiveRoomPlayTogetherCardInfo playTogetherInfoV2; + + @JSONField(name = "qoe_show") + @Nullable + public LiveRoomUserResearch qoe; } diff --git a/integrations/dummy/src/main/java/com/bilibili/bililive/videoliveplayer/net/beans/gateway/userinfo/LiveRoomUserResearch.java b/integrations/dummy/src/main/java/com/bilibili/bililive/videoliveplayer/net/beans/gateway/userinfo/LiveRoomUserResearch.java new file mode 100644 index 000000000..7b2ca930d --- /dev/null +++ b/integrations/dummy/src/main/java/com/bilibili/bililive/videoliveplayer/net/beans/gateway/userinfo/LiveRoomUserResearch.java @@ -0,0 +1,4 @@ +package com.bilibili.bililive.videoliveplayer.net.beans.gateway.userinfo; + +public class LiveRoomUserResearch { +} diff --git a/patches/src/main/resources/bilibili/host/values/arrays.xml b/patches/src/main/resources/bilibili/host/values/arrays.xml index 48f85e847..b1008b56c 100644 --- a/patches/src/main/resources/bilibili/host/values/arrays.xml +++ b/patches/src/main/resources/bilibili/host/values/arrays.xml @@ -75,6 +75,7 @@ 主播帮玩 各种+1 心愿助力 + 直播效果打分 shoppingCard @@ -89,6 +90,7 @@ playTogether plusOne wish + qoe 默认