fix(tjaf): 避免双重偏移,数据库 offset 固定为 0(前端已解析 TJA 的 OFFSET)
This commit is contained in:
4
tjaf.py
4
tjaf.py
@@ -79,7 +79,9 @@ class Tja:
|
|||||||
"enabled": False,
|
"enabled": False,
|
||||||
"category_id": None,
|
"category_id": None,
|
||||||
"music_type": ext,
|
"music_type": ext,
|
||||||
"offset": self.offset or 0,
|
# DB 的 offset 是“额外偏移”,TJA 自身的 OFFSET 会在前端解析时应用
|
||||||
|
# 为避免双重偏移,这里固定为 0
|
||||||
|
"offset": 0,
|
||||||
"skin_id": None,
|
"skin_id": None,
|
||||||
"preview": 0,
|
"preview": 0,
|
||||||
"volume": 1.0,
|
"volume": 1.0,
|
||||||
|
|||||||
Reference in New Issue
Block a user