CC-3672: Source switch stays connected if current show is cancelled
- fixed
This commit is contained in:
parent
d3d6b10528
commit
dacdc4e432
|
@ -852,7 +852,10 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
try {
|
||||
$scheduler = new Application_Model_Scheduler();
|
||||
$scheduler->cancelShow($id);
|
||||
$scheduler->cancelShow($id);
|
||||
// send kick out source stream signal to pypo
|
||||
$data = array("sourcename"=>"live_dj");
|
||||
Application_Model_RabbitMq::SendMessageToPypo("disconnect_source", $data);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
$this->view->error = $e->getMessage();
|
||||
|
|
Loading…
Reference in New Issue