# HG changeset patch # User Chris Cannam # Date 1337636289 -3600 # Node ID 760feced83806e44c9ee29af37f36c24d6ad0760 # Parent 27c861cce97beacf036cdb12580d9dfcef22b494 Accept .ttl extension for plugin description files diff -r 27c861cce97b -r 760feced8380 rdf/PluginRDFIndexer.cpp --- a/rdf/PluginRDFIndexer.cpp Mon May 21 14:33:35 2012 +0100 +++ b/rdf/PluginRDFIndexer.cpp Mon May 21 22:38:09 2012 +0100 @@ -88,15 +88,17 @@ // std::cerr << "\nPluginRDFIndexer::indexInstalledURLs: pid is " << getpid() << std::endl; QStringList filters; + filters << "*.ttl"; + filters << "*.TTL"; filters << "*.n3"; filters << "*.N3"; filters << "*.rdf"; filters << "*.RDF"; - // Search each Vamp plugin path for a .rdf file that either has + // Search each Vamp plugin path for an RDF file that either has // name "soname", "soname:label" or "soname/label" plus RDF - // extension. Use that order of preference, and prefer n3 over - // rdf extension. + // extension. Use that order of preference, and prefer ttl over + // n3 over rdf extension. for (vector::const_iterator i = paths.begin(); i != paths.end(); ++i) {