Browse Source

LV2 Client: Properly escape library names in the manifest.ttl

pull/22/head
reuk 3 years ago
parent
commit
67164f6af9
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp

+ 3
- 3
modules/juce_audio_plugin_client/LV2/juce_LV2_Client.cpp View File

@@ -825,7 +825,7 @@ private:
"\n"
"<" JucePlugin_LV2URI ">\n"
"\ta lv2:Plugin ;\n"
"\tlv2:binary <" << libraryPath.getFileName() << "> ;\n"
"\tlv2:binary <" << URL::addEscapeChars (libraryPath.getFileName(), false) << "> ;\n"
"\trdfs:seeAlso <dsp.ttl> .\n";
if (proc.hasEditor())
@@ -843,7 +843,7 @@ private:
os << "\n"
"<" << JucePluginLV2UriUi << ">\n"
"\ta ui:" JUCE_LV2_UI_KIND " ;\n"
"\tlv2:binary <" << libraryPath.getFileName() << "> ;\n"
"\tlv2:binary <" << URL::addEscapeChars (libraryPath.getFileName(), false) << "> ;\n"
"\trdfs:seeAlso <ui.ttl> .\n"
"\n";
}
@@ -1303,7 +1303,7 @@ private:
"\tlv2:optionalFeature\n"
"\t\t" << resizeFeatureString << " ,\n"
"\t\topts:interface ,\n"
"\t\topts:options .\n\n"
"\t\topts:options ;\n\n"
"\topts:supportedOption\n"
"\t\tui:scaleFactor ,\n"
"\t\tparam:sampleRate .\n";


Loading…
Cancel
Save