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:
parent
5f9f342e07
commit
e8bde50909
|
@ -402,6 +402,9 @@ SQL;
|
||||||
if ($obj instanceof CcFiles && $obj) {
|
if ($obj instanceof CcFiles && $obj) {
|
||||||
$entry["cuein"] = $obj->getDbCuein();
|
$entry["cuein"] = $obj->getDbCuein();
|
||||||
$entry["cueout"] = $obj->getDbCueout();
|
$entry["cueout"] = $obj->getDbCueout();
|
||||||
|
} elseif ($obj instanceof CcWebstream && $obj) {
|
||||||
|
$entry["cuein"] = "00:00:00";
|
||||||
|
$entry["cueout"] = $entry["cliplength"];
|
||||||
}
|
}
|
||||||
$entry["ftype"] = $objType;
|
$entry["ftype"] = $objType;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue