CC-2110 : Soundcloud file metadata
This commit is contained in:
parent
7706282d2a
commit
f184cc596a
2 changed files with 5 additions and 2 deletions
|
@ -272,10 +272,11 @@ class ApiController extends Zend_Controller_Action
|
|||
|
||||
$show = new Show($show_inst->getShowId());
|
||||
$description = $show->getDescription();
|
||||
$hosts = $show->getHosts();
|
||||
|
||||
try {
|
||||
$soundcloud = new ATSoundcloud();
|
||||
$soundcloud->uploadTrack($file->getRealFilePath(), $file->getName(), $description);
|
||||
$soundcloud->uploadTrack($file->getRealFilePath(), $file->getName(), $description, $hosts);
|
||||
break;
|
||||
}
|
||||
catch (Services_Soundcloud_Invalid_Http_Response_Code_Exception $e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue