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