From f74713c89d60720293fe9fb94c9c294a514b0dd3 Mon Sep 17 00:00:00 2001 From: AnthonyDuan Date: Sat, 22 Nov 2025 22:14:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(tjaf):=20=E9=81=BF=E5=85=8D=E5=8F=8C?= =?UTF-8?q?=E9=87=8D=E5=81=8F=E7=A7=BB=EF=BC=8C=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=20offset=20=E5=9B=BA=E5=AE=9A=E4=B8=BA=200=EF=BC=88=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E5=B7=B2=E8=A7=A3=E6=9E=90=20TJA=20=E7=9A=84=20OFFSET?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tjaf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tjaf.py b/tjaf.py index 67162cd..043a3a6 100644 --- a/tjaf.py +++ b/tjaf.py @@ -79,7 +79,9 @@ class Tja: "enabled": False, "category_id": None, "music_type": ext, - "offset": self.offset or 0, + # DB 的 offset 是“额外偏移”,TJA 自身的 OFFSET 会在前端解析时应用 + # 为避免双重偏移,这里固定为 0 + "offset": 0, "skin_id": None, "preview": 0, "volume": 1.0,