CC-1665: Scheduled stream rebroadcasting and recording
-fix right clicking in playlist builder to view metadata causing exception
This commit is contained in:
parent
d84ad78984
commit
028f6636dd
2 changed files with 3 additions and 5 deletions
|
@ -333,11 +333,10 @@ class LibraryController extends Zend_Controller_Action
|
|||
}
|
||||
$this->view->block = $block;
|
||||
} else if ($type == "stream") {
|
||||
|
||||
$webstream = CcWebstreamQuery::create()->findPK($id);
|
||||
$file = new Application_Model_Webstream($webstream);
|
||||
$ws = new Application_Model_Webstream($webstream);
|
||||
|
||||
$md = $file->getMetadata();
|
||||
$md = $ws->getMetadata();
|
||||
|
||||
$this->view->md = $md;
|
||||
$this->view->type = $type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue