CC-1630 : Automatic recording of shows

multi threading now used in recorded for back to back shows.
recorded file id is put into show instances table.
This commit is contained in:
naomiaro 2011-03-22 00:46:31 -04:00
parent 73238f92af
commit 864cda6c34
3 changed files with 70 additions and 34 deletions

View file

@ -173,7 +173,12 @@ class PluploadController extends Zend_Controller_Action
$soundcloud->uploadTrack($file->getRealFilePath(), $file->getName());
}
die('{"jsonrpc" : "2.0", "id" : '.$file->getId().' }');
$show_instance = $this->_getParam('show_instance');
$show = new ShowInstance($show_instance);
$show->setRecordedFile($file->getId());
die('{"jsonrpc" : "2.0", "id" : '.$file->getId().'}');
}
public function pluploadAction()