Parameterize clip library URL
Also prefer http since our distributed builds may or may not be able to find SSL certificates on a given target system.
This commit is contained in:
parent
38c5ae4237
commit
d453297381
|
@ -267,6 +267,7 @@ CONFIG_VARIABLE (std::string, tutorial_manual_url, "tutorial-manual-url", "http:
|
|||
CONFIG_VARIABLE (std::string, reference_manual_url, "reference-manual-url", "http://manual.ardour.org/")
|
||||
CONFIG_VARIABLE (std::string, updates_url, "updates-url", "http://ardour.org/whatsnew.html")
|
||||
CONFIG_VARIABLE (std::string, donate_url, "donate-url", "http://community.ardour.org/donate")
|
||||
CONFIG_VARIABLE (std::string, clip_library_url, "clip-library-url", "http://ardour.org/libraries.xml")
|
||||
|
||||
/* video timeline configuration */
|
||||
CONFIG_VARIABLE (std::string, xjadeo_binary, "xjadeo-binary", "")
|
||||
|
|
|
@ -63,7 +63,7 @@ LibraryFetcher::get_descriptions ()
|
|||
}
|
||||
std::string buf;
|
||||
|
||||
curl_easy_setopt (curl, CURLOPT_URL, X_("https://ardour.org/libraries.xml"));
|
||||
curl_easy_setopt (curl, CURLOPT_URL, Config->get_clip_library_url().c_str());
|
||||
curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, CurlWrite_CallbackFunc_StdString);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buf);
|
||||
|
|
Loading…
Reference in New Issue