From e8bde5090959b46d3d9439fef7891a9c90117b30 Mon Sep 17 00:00:00 2001 From: denise Date: Mon, 11 Feb 2013 11:17:00 -0500 Subject: [PATCH] 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 --- airtime_mvc/application/models/Playlist.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/airtime_mvc/application/models/Playlist.php b/airtime_mvc/application/models/Playlist.php index 6745eecc6..3230a7fa1 100644 --- a/airtime_mvc/application/models/Playlist.php +++ b/airtime_mvc/application/models/Playlist.php @@ -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; }