diff --git a/libs/ardour/soundcloud_upload.cc b/libs/ardour/soundcloud_upload.cc index 6fe32663f8..ab3a20480b 100644 --- a/libs/ardour/soundcloud_upload.cc +++ b/libs/ardour/soundcloud_upload.cc @@ -198,6 +198,14 @@ SoundcloudUploader::Upload(std::string file_path, std::string title, std::string CURLFORM_COPYCONTENTS, ispublic ? "public" : "private", CURLFORM_END); + curl_formadd(&formpost, + &lastptr, + CURLFORM_COPYNAME, "track[downloadable]", + CURLFORM_COPYCONTENTS, downloadable ? "true" : "false", + CURLFORM_END); + + + /* initalize custom header list (stating that Expect: 100-continue is not wanted */ struct curl_slist *headerlist=NULL;