From 67245a6f61a1d2c66020d9e1824f50432a261dce Mon Sep 17 00:00:00 2001 From: locpham Date: Sat, 22 Aug 2026 02:00:48 +0000 Subject: [PATCH] fix(fx-list): UNKNOWN entries (Ozone treo scan) van vao list_fx de MASTERING PANEL khong mat plugin; nut Synth loai qua is_unknown --- app/core/vst_engine.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/core/vst_engine.py b/app/core/vst_engine.py index 9196b51..0846c67 100644 --- a/app/core/vst_engine.py +++ b/app/core/vst_engine.py @@ -479,9 +479,15 @@ class PluginManager: Bridge tự phân loại FX/instrument theo VST3 subCategory; VST2 (.dll/.so) không introspect được nên bridge báo instrument — bỏ qua ở đây. Cache process-wide; refresh=True quét lại (Plugins Manager → Scan). + + UNKNOWN entries (bridge không đọc được module — vd Ozone 11 treo khi + scan) cũng được đưa vào đây: không xác định là instrument → mặc định + xem như FX để MASTERING PANEL không mất plugin; nút Synth loại chúng + qua is_unknown (xem plugins.py /available). """ all_entries = self.list_scan_all(refresh=refresh) - results = [e for e in all_entries if e.get("is_fx")] + results = [e for e in all_entries + if e.get("is_fx") or e.get("is_unknown")] results.sort(key=lambda x: x["name"].lower()) self._fx_scan_cache = results return results