From c944de1d3e23077abd5bbd5b6432df74c0d8fefa Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 10 Oct 2008 09:53:03 +0000 Subject: [PATCH] fix URL's for freesound (debian patch) git-svn-id: svn://localhost/ardour2/branches/3.0@3907 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/sfdb_freesound_mootcher.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/sfdb_freesound_mootcher.cc b/gtk2_ardour/sfdb_freesound_mootcher.cc index 6c62939493..7daecfc593 100644 --- a/gtk2_ardour/sfdb_freesound_mootcher.cc +++ b/gtk2_ardour/sfdb_freesound_mootcher.cc @@ -164,7 +164,7 @@ int Mootcher::doLogin(std::string login, std::string password) curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, -1); // the url to get - std::string login_url = "http://freesound.iua.upf.edu/forum/login.php"; + std::string login_url = "http://www.freesound.org/forum/login.php"; curl_easy_setopt(curl, CURLOPT_URL, login_url.c_str() ); // perform online request @@ -234,7 +234,7 @@ std::string Mootcher::searchText(std::string word) curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, -1); // the url to get - std::string search_url = "http://freesound.iua.upf.edu/searchTextXML.php"; + std::string search_url = "http://www.freesound.org/searchTextXML.php"; curl_easy_setopt(curl, CURLOPT_URL, search_url.c_str()); // perform the online search @@ -300,7 +300,7 @@ void Mootcher::GetXml(std::string ID, struct MemoryStruct &xml_page) curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&xml_page); // URL to get - std::string getxml_url = "http://freesound.iua.upf.edu/samplesViewSingleXML.php?id="; + std::string getxml_url = "http://www.freesound.org/samplesViewSingleXML.php?id="; getxml_url += ID; curl_easy_setopt(curl, CURLOPT_URL, getxml_url.c_str() ); @@ -460,7 +460,7 @@ std::string Mootcher::getFile(std::string ID) // create the download url, this url will also update the download statics on the site std::string audioURL; - audioURL += "http://freesound.iua.upf.edu/samplesDownload.php?id="; + audioURL += "http://www.freesound.org/samplesDownload.php?id="; audioURL += ID; setcUrlOptions();