summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugin.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 2ed3315..837fd62 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -941,7 +941,10 @@ lilv_plugin_get_uis(const LilvPlugin* p)
const SordNode* ui = sord_iter_get_node(uis, SORD_OBJECT);
LilvNode* type = lilv_plugin_get_unique(p, ui, p->world->uris.rdf_a);
- LilvNode* binary = lilv_plugin_get_unique(p, ui, ui_binary_node);
+ LilvNode* binary = lilv_plugin_get_one(p, ui, p->world->uris.lv2_binary);
+ if (!binary) {
+ binary = lilv_plugin_get_unique(p, ui, ui_binary_node);
+ }
if (sord_node_get_type(ui) != SORD_URI
|| !lilv_node_is_uri(type)