CC-1987 : Automatic upload of recorded shows to Soundcloud

Added fields to preference form for the station's soundcloud user/pass
need to generalize file upload as commented out in the new Soundcloud.php file.
This commit is contained in:
Naomi 2011-03-18 17:15:12 -04:00
parent 10706ec72a
commit 3a0f9ddcd1
5 changed files with 98 additions and 8 deletions

View file

@ -29,7 +29,10 @@ class PreferenceController extends Zend_Controller_Action
$values = $form->getValues();
Application_Model_Preference::SetHeadTitle($values["stationName"], $this->view);
Application_Model_Preference::SetDefaultFade($values["stationDefaultFade"]);
Application_Model_Preference::SetStreamLabelFormat($values["streamFormat"]);
Application_Model_Preference::SetStreamLabelFormat($values["streamFormat"]);
Application_Model_Preference::SetDoSoundCloudUpload($values["UseSoundCloud"]);
Application_Model_Preference::SetSoundCloudUser($values["SoundCloudUser"]);
Application_Model_Preference::SetSoundCloudPassword($values["SoundCloudPassword"]);
$this->view->statusMsg = "Preferences Updated.";
}