CC-1665: Scheduled stream rebroadcasting and recording
-Webstreams now appearing in the library
This commit is contained in:
parent
d0e4ad1334
commit
a16a1f5033
16 changed files with 2508 additions and 11 deletions
|
@ -21,4 +21,17 @@ class Application_Model_Webstream{
|
|||
public static function getDescription(){
|
||||
return "desc";
|
||||
}
|
||||
|
||||
public static function save($request){
|
||||
Logging::log($request->getParams());
|
||||
$webstream = new CcWebstream();
|
||||
$webstream->setDbName($request->getParam("name"));
|
||||
$webstream->setDbDescription($request->getParam("description"));
|
||||
$webstream->setDbUrl($request->getParam("url"));
|
||||
$webstream->setDbLength("00:05:00");
|
||||
$webstream->setDbLogin("xxx");
|
||||
$webstream->setDbUtime(new DateTime());
|
||||
$webstream->setDbMtime(new DateTime());
|
||||
$webstream->save();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue