CC-3224: "On-the-fly" stream rebroadcasting

- A section where user can setup port and mount point for harbor input in
stream setting page(front-end and back-end)
- updated the part where it rewrites the liquidsoap.cfg file
This commit is contained in:
James 2012-02-23 11:11:02 -05:00
parent 48bb19d758
commit 30901aa0d6
8 changed files with 74 additions and 7 deletions

View file

@ -729,6 +729,21 @@ class Application_Model_Preference
return self::GetValue("live_stream_master_password");
}
public static function SetLiveSteamPort($value){
self::SetValue("live_stream_port", $value, false);
}
public static function GetLiveSteamPort(){
return self::GetValue("live_stream_port");
}
public static function SetLiveSteamMountPoint($value){
self::SetValue("live_stream_mp", $value, false);
}
public static function GetLiveSteamMountPoint(){
return self::GetValue("live_stream_mp");
}
/* User specific preferences end */
}