diff options
author | David Robillard <d@drobilla.net> | 2007-07-03 03:33:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-03 03:33:57 +0000 |
commit | 51e3373d0c8f13e13e19dbe80d01dce17a60e6c3 (patch) | |
tree | 9bb44888113f093d687893cf8d9f8ec2848ef007 /src/world.c | |
parent | daddc558d65b7725a6897c21dc6d1db547fc7dfe (diff) | |
download | lilv-51e3373d0c8f13e13e19dbe80d01dce17a60e6c3.tar.gz lilv-51e3373d0c8f13e13e19dbe80d01dce17a60e6c3.tar.bz2 lilv-51e3373d0c8f13e13e19dbe80d01dce17a60e6c3.zip |
Ignore illegal plugins w/o a doap:name property.
git-svn-id: http://svn.drobilla.net/lad/slv2@556 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c index dc2be1a..ee6f029 100644 --- a/src/world.c +++ b/src/world.c @@ -356,9 +356,11 @@ slv2_world_load_all(SLV2World world) unsigned char* query_string = (unsigned char*) "PREFIX : <http://lv2plug.in/ontology#>\n" "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n" + "PREFIX lv2: <http://lv2plug.in/ontology#>\n" + "PREFIX doap: <http://usefulinc.com/ns/doap#>\n" "PREFIX slv2: <http://drobilla.net/ns/slv2#>\n" "SELECT DISTINCT ?plugin ?data ?bundle ?binary\n" - "WHERE { ?plugin a :Plugin; slv2:bundleURI ?bundle; rdfs:seeAlso ?data\n" + "WHERE { ?plugin a :Plugin; doap:name ?name; lv2:bundleURI ?bundle; rdfs:seeAlso ?data\n" "OPTIONAL { ?plugin :binary ?binary } }\n" "ORDER BY ?plugin\n"; |