modified: airtime_mvc/application/forms/StreamSetting.php
modified: install
This commit is contained in:
parent
276a69aa1b
commit
9017418b4e
|
@ -22,6 +22,26 @@ class Application_Form_StreamSetting extends Zend_Form
|
||||||
|
|
||||||
$setting = $this->setting;
|
$setting = $this->setting;
|
||||||
|
|
||||||
|
$output_sound_device = new Zend_Form_Element_Checkbox('output_sound_device');
|
||||||
|
$output_sound_device->setLabel(_('Hardware Audio Output:'))
|
||||||
|
->setRequired(false)
|
||||||
|
->setValue(($setting['output_sound_device'] == "true")?1:0)
|
||||||
|
->setDecorators(array('ViewHelper'));
|
||||||
|
$this->addElement($output_sound_device);
|
||||||
|
|
||||||
|
$output_sound_device_type = new Zend_Form_Element_Select('output_sound_device_type');
|
||||||
|
$output_sound_device_type->setLabel(_('Output Type'))
|
||||||
|
->setMultiOptions(array(
|
||||||
|
"ALSA"=>_("ALSA"),
|
||||||
|
"AO"=>_("AO"),
|
||||||
|
"OSS"=>_("OSS"),
|
||||||
|
"Portaudio"=>_("Portaudio"),
|
||||||
|
"Pulseaudio"=>_("Pulseaudio"),
|
||||||
|
"Jack"=>_("Jack")))
|
||||||
|
->setValue(isset($setting['output_sound_device_type'])?$setting['output_sound_device_type']:0)
|
||||||
|
->setDecorators(array('ViewHelper'));
|
||||||
|
$this->addElement($output_sound_device_type);
|
||||||
|
|
||||||
$icecast_vorbis_metadata = new Zend_Form_Element_Checkbox('icecast_vorbis_metadata');
|
$icecast_vorbis_metadata = new Zend_Form_Element_Checkbox('icecast_vorbis_metadata');
|
||||||
$icecast_vorbis_metadata->setLabel(_('Icecast Vorbis Metadata'))
|
$icecast_vorbis_metadata->setLabel(_('Icecast Vorbis Metadata'))
|
||||||
->setRequired(false)
|
->setRequired(false)
|
||||||
|
|
2
install
2
install
|
@ -456,7 +456,7 @@ loud " * Installing Airtime Services * "
|
||||||
loud "-----------------------------------------------------"
|
loud "-----------------------------------------------------"
|
||||||
|
|
||||||
verbose "\n * Installing necessary python services..."
|
verbose "\n * Installing necessary python services..."
|
||||||
loudCmd "pip install setuptools"
|
loudCmd "pip install setuptools --upgrade"
|
||||||
verbose "...Done"
|
verbose "...Done"
|
||||||
|
|
||||||
verbose "\n * Creating /run/airtime..."
|
verbose "\n * Creating /run/airtime..."
|
||||||
|
|
Loading…
Reference in New Issue