summaryrefslogtreecommitdiffstats
path: root/src/client/PluginModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/PluginModel.cpp')
-rw-r--r--src/client/PluginModel.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index 70713274..87d1aa92 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -47,6 +47,13 @@ PluginModel::PluginModel(URIs& uris,
: Plugin(uris, uri)
, _type(type_from_uri(type_uri))
{
+ if (_type == NIL) {
+ if (uri.find("ingen-internals") != string::npos) {
+ _type = Internal;
+ } else {
+ _type = LV2; // Assume LV2 and hope Lilv can tell us something
+ }
+ }
add_properties(properties);
assert(_rdf_world);