Fixed calls to Greenbox::bsGetMetadataValue() to use the new return value.
This commit is contained in:
parent
94a0be4e6a
commit
f494b34d8f
campcaster/src/modules/storageServer/var
|
@ -514,16 +514,8 @@ class LsPLaylistAudioClip
|
||||||
if (PEAR::isError($r)) {
|
if (PEAR::isError($r)) {
|
||||||
return $r;
|
return $r;
|
||||||
}
|
}
|
||||||
$r = $pl->gb->bsGetMetadataValue($ac->getId(), 'dc:title');
|
$title = $pl->gb->bsGetMetadataValue($ac->getId(), 'dc:title');
|
||||||
if (PEAR::isError($r)) {
|
$desc = $pl->gb->bsGetMetadataValue($ac->getId(), 'dc:description');
|
||||||
return $r;
|
|
||||||
}
|
|
||||||
$title = ( isset($r[0]) ? $r[0]['value'] : '' );
|
|
||||||
$r = $pl->gb->bsGetMetadataValue($ac->getId(), 'dc:description');
|
|
||||||
if (PEAR::isError($r)) {
|
|
||||||
return $r;
|
|
||||||
}
|
|
||||||
$desc = ( isset($r[0]) ? $r[0]['value'] : '' );
|
|
||||||
return array(
|
return array(
|
||||||
'type' => 'audioclip',
|
'type' => 'audioclip',
|
||||||
'gunid' => $gunid,
|
'gunid' => $gunid,
|
||||||
|
|
Loading…
Reference in New Issue