CC-4939: All webstreams in a playlist will have 0 length in Schedule

- set cuein and cueout of playlist item if it is a webstream
This commit is contained in:
denise 2013-02-11 11:17:00 -05:00
parent 5f9f342e07
commit e8bde50909
1 changed files with 3 additions and 0 deletions

View File

@ -402,6 +402,9 @@ SQL;
if ($obj instanceof CcFiles && $obj) {
$entry["cuein"] = $obj->getDbCuein();
$entry["cueout"] = $obj->getDbCueout();
} elseif ($obj instanceof CcWebstream && $obj) {
$entry["cuein"] = "00:00:00";
$entry["cueout"] = $entry["cliplength"];
}
$entry["ftype"] = $objType;
}