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

@ -707,6 +707,14 @@ class ShowInstance {
->delete();
}
public function setRecordedFile($file_id) {
$showInstance = CcShowInstancesQuery::create()
->findPK($this->_instanceId);
$showInstance->setDbRecordedFile($file_id)
->save();
}
public function getTimeScheduled() {
$instance_id = $this->getShowInstanceId();