added check for hidden in buildEntry

This commit is contained in:
Rudi Grinberg 2012-11-05 09:47:16 -05:00
parent 800f8b9ded
commit 00a4e45491
1 changed files with 9 additions and 6 deletions

View File

@ -373,13 +373,16 @@ SQL;
} }
if (isset($obj)) { if (isset($obj)) {
if (($obj instanceof CcFiles && $obj->getDbFileExists()) || $obj instanceof CcWebstream || $obj instanceof CcBlock) { if (($obj instanceof CcFiles && $obj->getDbFileExists() &&
$entry = $this->plItem; !$obj->getDbHidden()) || $obj instanceof CcWebstream ||
$entry["id"] = $obj->getDbId(); $obj instanceof CcBlock) {
$entry["pos"] = $pos;
$entry = $this->plItem;
$entry["id"] = $obj->getDbId();
$entry["pos"] = $pos;
$entry["cliplength"] = $obj->getDbLength(); $entry["cliplength"] = $obj->getDbLength();
$entry["cueout"] = $obj->getDbLength(); $entry["cueout"] = $obj->getDbLength();
$entry["ftype"] = $objType; $entry["ftype"] = $objType;
} }
return $entry; return $entry;