summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-01 22:18:54 +0000
committerDavid Robillard <d@drobilla.net>2011-11-01 22:18:54 +0000
commit385be0465af010722fa3a99890d30674be3d2d0c (patch)
tree43366a9fa35594ad00de3e81267d22690a251347 /utils
parente5e5aec31c5369d8f283852b5f4b307bea6c4a29 (diff)
downloadlilv-385be0465af010722fa3a99890d30674be3d2d0c.tar.gz
lilv-385be0465af010722fa3a99890d30674be3d2d0c.tar.bz2
lilv-385be0465af010722fa3a99890d30674be3d2d0c.zip
Use rdfs:label for preset labels (fix ticket #668).
Use correct namespace for dc. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3593 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils')
-rw-r--r--utils/lv2info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/lv2info.c b/utils/lv2info.c
index 1f3eb91..6936bf3 100644
--- a/utils/lv2info.c
+++ b/utils/lv2info.c
@@ -29,7 +29,7 @@ LilvNode* control_class = NULL;
LilvNode* in_group_pred = NULL;
LilvNode* role_pred = NULL;
LilvNode* preset_pred = NULL;
-LilvNode* title_pred = NULL;
+LilvNode* label_pred = NULL;
LilvNode* supports_event_pred = NULL;
void
@@ -360,7 +360,7 @@ main(int argc, char** argv)
LilvWorld* world = lilv_world_new();
lilv_world_load_all(world);
-#define NS_DC "http://dublincore.org/documents/dcmi-namespace/"
+#define NS_DC "http://purl.org/dc/elements/1.1/"
#define NS_PG "http://lv2plug.in/ns/ext/port-groups#"
#define NS_PSET "http://lv2plug.in/ns/ext/presets#"
#define NS_EV "http://lv2plug.in/ns/ext/event#"
@@ -370,7 +370,7 @@ main(int argc, char** argv)
in_group_pred = lilv_new_uri(world, NS_PG "inGroup");
preset_pred = lilv_new_uri(world, NS_PSET "hasPreset");
role_pred = lilv_new_uri(world, NS_PG "role");
- title_pred = lilv_new_uri(world, NS_DC "title");
+ label_pred = lilv_new_uri(world, LILB_NS_RDFS "label");
supports_event_pred = lilv_new_uri(world, NS_EV "supportsEvent");
const LilvPlugins* plugins = lilv_world_get_all_plugins(world);
@@ -401,7 +401,7 @@ main(int argc, char** argv)
lilv_node_free(uri);
- lilv_node_free(title_pred);
+ lilv_node_free(label_pred);
lilv_node_free(role_pred);
lilv_node_free(preset_pred);
lilv_node_free(in_group_pred);