Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
839a49f3e5
|
@ -235,7 +235,7 @@ class PreferenceController extends Zend_Controller_Action
|
||||||
$live_stream_subform->updateConnectionURLs();
|
$live_stream_subform->updateConnectionURLs();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->view->confirm_pypo_restart_text = "Updating settings will temporarily interrupt any currently playing shows. Click \'OK\' to continue.";
|
$this->view->confirm_pypo_restart_text = "If you change the username or password values for an enabled stream the playout engine will be rebooted and your listeners will hear silence for 5-10 seconds. Changing the following fields will NOT cause a reboot: Stream Label (Global Settings), and Switch Transition Fade(s), Master Username, and Master Password (Input Stream Settings).";
|
||||||
|
|
||||||
$this->view->num_stream = $num_of_stream;
|
$this->view->num_stream = $num_of_stream;
|
||||||
$this->view->enable_stream_conf = Application_Model_Preference::GetEnableStreamConf();
|
$this->view->enable_stream_conf = Application_Model_Preference::GetEnableStreamConf();
|
||||||
|
@ -260,16 +260,18 @@ class PreferenceController extends Zend_Controller_Action
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$path = $path.'/';
|
$path = $path.'/';
|
||||||
$handle = opendir($path);
|
$handle = opendir($path);
|
||||||
while (false !== ($file = readdir($handle))) {
|
if ($handle !== false){
|
||||||
if ($file != "." && $file != "..") {
|
while (false !== ($file = readdir($handle))) {
|
||||||
//only show directories that aren't private.
|
if ($file != "." && $file != "..") {
|
||||||
if (is_dir($path.$file) && substr($file, 0, 1) != ".") {
|
//only show directories that aren't private.
|
||||||
$element = array();
|
if (is_dir($path.$file) && substr($file, 0, 1) != ".") {
|
||||||
$element["name"] = $file;
|
$element = array();
|
||||||
$element["isFolder"] = true;
|
$element["name"] = $file;
|
||||||
$element["isError"] = false;
|
$element["isFolder"] = true;
|
||||||
$result[$file] = $element;
|
$element["isError"] = false;
|
||||||
|
$result[$file] = $element;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
|
||||||
|
|
||||||
$defaultFade = Application_Model_Preference::GetDefaultFade();
|
$defaultFade = Application_Model_Preference::GetDefaultFade();
|
||||||
if($defaultFade == ""){
|
if($defaultFade == ""){
|
||||||
$defaultFade = '00.000000';
|
$defaultFade = '0.500000';
|
||||||
}
|
}
|
||||||
|
|
||||||
//Station name
|
//Station name
|
||||||
|
|
Loading…
Reference in New Issue