From 5e8664af1cc2c3a921567466fef91e540e45a95b Mon Sep 17 00:00:00 2001 From: 3dtours Date: Thu, 30 Jul 2026 22:33:26 +0700 Subject: [PATCH] =?UTF-8?q?FIX:=20s=E1=BB=ADa=20l=E1=BB=97i=20t=E1=BA=A3i?= =?UTF-8?q?=20l=E1=BA=A1i=20audioclip=20item=20b=E1=BB=8B=20m=E1=BA=A5t=20?= =?UTF-8?q?ti=E1=BA=BFng?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wiki.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wiki.md b/wiki.md index 2a8c3c0..4ce4bda 100644 --- a/wiki.md +++ b/wiki.md @@ -896,3 +896,8 @@ - **Các file ảnh hưởng:** `app/static/js/app.jsx` - **Ghi chú/Test (nếu có):** Nhấn "Tạo mới" → form edit hiện button xanh "Tạo preset với cấu trúc" → click → pre-fill template. --- + +### [2026-07-30 22:48] Task: Fix audio clip mất âm thanh sau khi mở lại dự án +- **Tóm tắt thay đổi:** Sửa 3 lỗi khiến clip audio không tải được buffer sau khi save/reload project: (1) `deserializeTracksList` thiếu fallback từ `audio_file_url` khi `server_file_id` không có trong source_data (2) `serializeTracksList` không lưu `server_file_id` ở track level (3) legacy upgrade function trong Python không copy `server_file_id` vào source_data. +- **Các file ảnh hưởng:** `app/static/js/app.jsx`, `app/static/js/app.precompiled.js`, `app/api/v1/projects.py` +- **Ghi chú/Test (nếu có):** Mở lại dự án có clip audio → waveform hiển thị + playback có âm thanh.