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:
james 2011-06-27 11:43:59 -04:00
parent 629c3fb1d9
commit 5f9dd83c38
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;

View File

@ -1358,7 +1358,7 @@ class ShowInstance {
return null;
}
if(file_exists($file->getRealFilePath())) {
if(file_exists($file->getFilePath())) {
return $file;
}
}