From 6071dea839e688f0bd33c4974cddd5f68c611630 Mon Sep 17 00:00:00 2001 From: denise Date: Mon, 11 Feb 2013 12:32:20 -0500 Subject: [PATCH] CC-4940: Playlist editor in Library ignores cue points set by silence detection when displaying item time -small fix on where to set clip length --- airtime_mvc/application/models/Playlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Playlist.php b/airtime_mvc/application/models/Playlist.php index 9fae286ac..dbea90a89 100644 --- a/airtime_mvc/application/models/Playlist.php +++ b/airtime_mvc/application/models/Playlist.php @@ -398,6 +398,7 @@ SQL; $entry = $this->plItem; $entry["id"] = $obj->getDbId(); $entry["pos"] = $pos; + $entry["cliplength"] = $obj->getDbLength(); if ($obj instanceof CcFiles && $obj) { $entry["cuein"] = $obj->getDbCuein(); $entry["cueout"] = $obj->getDbCueout(); @@ -409,7 +410,6 @@ SQL; $entry["cuein"] = "00:00:00"; $entry["cueout"] = $entry["cliplength"]; } - $entry["cliplength"] = $obj->getDbLength(); $entry["ftype"] = $objType; }