CC-3427: Live Stream: Ability to switch off Scheduled Play
- done
This commit is contained in:
parent
e31ac81e74
commit
4eefc05366
11 changed files with 91 additions and 79 deletions
|
@ -326,6 +326,8 @@ class ScheduleController extends Zend_Controller_Action
|
|||
$switch_status = array();
|
||||
$live_dj = Application_Model_Preference::GetSourceStatus("live_dj");
|
||||
$master_dj = Application_Model_Preference::GetSourceStatus("master_dj");
|
||||
|
||||
$scheduled_play_switch = Application_Model_Preference::GetSourceSwitchStatus("scheduled_play");
|
||||
$live_dj_switch = Application_Model_Preference::GetSourceSwitchStatus("live_dj");
|
||||
$master_dj_switch = Application_Model_Preference::GetSourceSwitchStatus("master_dj");
|
||||
|
||||
|
@ -336,6 +338,7 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
$switch_status['live_dj_source'] = $live_dj_switch;
|
||||
$switch_status['master_dj_source'] = $master_dj_switch;
|
||||
$switch_status['scheduled_play'] = $scheduled_play_switch;
|
||||
$this->view->switch_status = $switch_status;
|
||||
|
||||
$this->view->entries = $range;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue