CC-2377:Upload to soundcloud no show name
- fixed - additional fix: getRealFilePath() doesn't exsist anymore. Places where it calls getRealFilePath(), replaced with getFilePath()
This commit is contained in:
parent
629c3fb1d9
commit
5f9dd83c38
|
@ -364,7 +364,7 @@ class ApiController extends Zend_Controller_Action
|
|||
|
||||
try {
|
||||
$soundcloud = new ATSoundcloud();
|
||||
$soundcloud_id = $soundcloud->uploadTrack($file->getRealFilePath(), $tmpTitle, $description, $tags, $show_start_time, $show_genre);
|
||||
$soundcloud_id = $soundcloud->uploadTrack($file->getFilePath(), $tmpTitle, $description, $tags, $show_start_time, $show_genre);
|
||||
$show_inst->setSoundCloudFileId($soundcloud_id);
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
try {
|
||||
$soundcloud = new ATSoundcloud();
|
||||
$soundcloud_id = $soundcloud->uploadTrack($file->getRealFilePath(), $file->getName(), $description, $tags, $show_start_time, $show_genre);
|
||||
$soundcloud_id = $soundcloud->uploadTrack($file->getFilePath(), $file->getName(), $description, $tags, $show_start_time, $show_genre);
|
||||
$show_inst->setSoundCloudFileId($soundcloud_id);
|
||||
$this->view->soundcloud_id = $soundcloud_id;
|
||||
break;
|
||||
|
|
|
@ -1358,7 +1358,7 @@ class ShowInstance {
|
|||
return null;
|
||||
}
|
||||
|
||||
if(file_exists($file->getRealFilePath())) {
|
||||
if(file_exists($file->getFilePath())) {
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue