summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ClientStore.cpp2
-rw-r--r--src/client/PluginModel.cpp7
2 files changed, 7 insertions, 2 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 71e28c09..fe79336b 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -270,8 +270,6 @@ ClientStore::put(const Raul::URI& uri,
SharedPtr<PluginModel> plug;
if (p->second.is_valid() && p->second.type() == _uris.forge.URI) {
if (!(plug = _plugin(Raul::URI(p->second.get_uri())))) {
- _log.warn(Raul::fmt("Unable to find plugin <%1%>\n")
- % p->second.get_uri());
plug = SharedPtr<PluginModel>(
new PluginModel(uris(),
Raul::URI(p->second.get_uri()),
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);