feat: move off_air_meta stream setting to pref table (#2023)
This commit is contained in:
parent
e408237be1
commit
6c59ff588b
7 changed files with 59 additions and 15 deletions
|
@ -207,7 +207,7 @@ class Application_Model_StreamSetting
|
|||
$settings['master_live_stream_mp'] = self::getMasterLiveStreamMountPoint();
|
||||
$settings['dj_live_stream_port'] = self::getDjLiveStreamPort();
|
||||
$settings['dj_live_stream_mp'] = self::getDjLiveStreamMountPoint();
|
||||
$settings['off_air_meta'] = self::getOffAirMeta();
|
||||
$settings['off_air_meta'] = Application_Model_Preference::getOffAirMeta();
|
||||
$settings['icecast_vorbis_metadata'] = self::getIcecastVorbisMetadata();
|
||||
$settings['output_sound_device'] = self::getOutputSoundDevice();
|
||||
$settings['output_sound_device_type'] = self::getOutputSoundDeviceType();
|
||||
|
@ -507,16 +507,6 @@ class Application_Model_StreamSetting
|
|||
self::setValue($stream . '_admin_pass', $v, 'string');
|
||||
}
|
||||
|
||||
public static function getOffAirMeta()
|
||||
{
|
||||
return self::getValue('off_air_meta');
|
||||
}
|
||||
|
||||
public static function setOffAirMeta($offAirMeta)
|
||||
{
|
||||
self::setValue('off_air_meta', $offAirMeta, 'string');
|
||||
}
|
||||
|
||||
public static function GetAllListenerStatErrors()
|
||||
{
|
||||
$sql = 'SELECT * FROM cc_stream_setting WHERE keyname like :p1';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue