CC-3405: Display to users how to connect a live stream to Airtime

- Done
This commit is contained in:
James 2012-03-09 18:48:23 -05:00
parent 540f262a77
commit 79f8eabe2b
8 changed files with 125 additions and 28 deletions

View file

@ -740,6 +740,22 @@ class Application_Model_Preference
return "on";
}
}
public static function SetMasterDJSourceConnectionURL($value){
self::SetValue("master_dj_source_connection_url", $value, false);
}
public static function GetMasterDJSourceConnectionURL(){
return self::GetValue("master_dj_source_connection_url");
}
public static function SetLiveDJSourceConnectionURL($value){
self::SetValue("live_dj_source_connection_url", $value, false);
}
public static function GetLiveDJSourceConnectionURL(){
return self::GetValue("live_dj_source_connection_url");
}
/* User specific preferences end */
}

View file

@ -133,7 +133,6 @@ class Application_Model_StreamSetting {
if(!isset($exists["dj_live_stream_mp"])){
$rows[] = (array("keyname" =>"dj_live_stream_mp", "value"=>self::GetDJLiveSteamMountPoint(), "type"=>"string"));
}
Logging::log(print_r($rows, true));
return $rows;
}