fix(fx-list): UNKNOWN entries (Ozone treo scan) van vao list_fx de MASTERING PANEL khong mat plugin; nut Synth loai qua is_unknown
This commit is contained in:
@@ -479,9 +479,15 @@ class PluginManager:
|
|||||||
Bridge tự phân loại FX/instrument theo VST3 subCategory; VST2 (.dll/.so)
|
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
|
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).
|
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)
|
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())
|
results.sort(key=lambda x: x["name"].lower())
|
||||||
self._fx_scan_cache = results
|
self._fx_scan_cache = results
|
||||||
return results
|
return results
|
||||||
|
|||||||
Reference in New Issue
Block a user