Make Soundcloud upload applicable to any export format.

Add soundcloud_upload property back into ExportFormatSpecification, but
instead of making it settable in the export format specification dialog,
add a tick-box in each tab of ExportFileNotebook to allow setting it.
This commit is contained in:
Colin Fletcher 2014-05-23 18:14:37 +01:00
parent 2f6debf0d2
commit 9daab3db84
4 changed files with 37 additions and 1 deletions

View file

@ -345,7 +345,7 @@ ExportHandler::finish_timespan ()
delete (se);
}
if (fmt->upload()) {
if (fmt->soundcloud_upload()) {
SoundcloudUploader *soundcloud_uploader = new SoundcloudUploader;
std::string token = soundcloud_uploader->Get_Auth_Token(upload_username, upload_password);
std::cerr