CC-4765: Webstream of AAC type can't be previewed
-fixed
This commit is contained in:
parent
cdb3ec468a
commit
d6eb043899
3 changed files with 13 additions and 8 deletions
|
@ -218,9 +218,11 @@ class LibraryController extends Zend_Controller_Action
|
|||
}
|
||||
$menu["duplicate"] = array("name" => _("Duplicate Playlist"), "icon" => "edit", "url" => $baseUrl."/library/duplicate");
|
||||
} elseif ($type == "stream") {
|
||||
|
||||
$webstream = CcWebstreamQuery::create()->findPK($id);
|
||||
$obj = new Application_Model_Webstream($webstream);
|
||||
|
||||
$menu["play"]["mime"] = $webstream->getDbMime();
|
||||
|
||||
if (isset($obj_sess->id) && $screen == "playlist") {
|
||||
if ($isAdminOrPM || $obj->getCreatorId() == $user->getId()) {
|
||||
if ($obj_sess->type === "playlist") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue