CC-1985 : Automatic rebroadcast of recorded content
rebroadcast shows are automatically resized if parent recorded shows are altered. progress bar is removed from recorded/rebroadcast shows, waiting on special icons.
This commit is contained in:
parent
f104872175
commit
20f3c49dcb
2 changed files with 9 additions and 1 deletions
|
@ -618,6 +618,13 @@ class ShowInstance {
|
|||
}
|
||||
}
|
||||
//with overbooking no longer need to check already scheduled content still fits.
|
||||
|
||||
//must update length of all rebroadcast instances.
|
||||
if($this->isRecorded()) {
|
||||
$sql = "UPDATE cc_show_instances SET ends = (ends + interval '{$deltaDay} days' + interval '{$hours}:{$mins}')
|
||||
WHERE rebroadcast = 1 AND instance_id = {$this->_instanceId}";
|
||||
$CC_DBC->query($sql);
|
||||
}
|
||||
|
||||
$this->setShowEnd($new_ends);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue