CC-2661: Uptrade script for stream config feature
- codes for conserving user's liquidsoap.cfg and porting into new stream setting config. - extra fix: fixed a bug with shoutcast(default value has to be set for some variables)
This commit is contained in:
parent
17e7e9b80a
commit
39b688c256
11 changed files with 125 additions and 26 deletions
|
@ -18,7 +18,7 @@ class Application_Form_StreamSetting extends Zend_Form
|
|||
$output_sound_device = new Zend_Form_Element_Checkbox('output_sound_device');
|
||||
$output_sound_device->setLabel('Enabled')
|
||||
->setRequired(false)
|
||||
->setValue($setting['output_sound_device'])
|
||||
->setValue(($setting['output_sound_device'] == "true")?1:0)
|
||||
->setDecorators(array('ViewHelper'));
|
||||
$this->addElement($output_sound_device);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue