fix(tjaf): 避免双重偏移,数据库 offset 固定为 0(前端已解析 TJA 的 OFFSET)

This commit is contained in:
2025-11-22 22:14:34 +08:00
parent ffb258b1e3
commit f74713c89d

View File

@@ -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,