Convert clip length seconds to interval format before inserting into cc_playlistcontents / cc_blockcontents

This commit is contained in:
denise 2013-02-11 12:37:20 -05:00
parent 6071dea839
commit 3c73535f70
2 changed files with 2 additions and 2 deletions

View file

@ -405,7 +405,7 @@ SQL;
$cue_out = Application_Common_DateHelper::calculateLengthInSeconds($entry['cueout']);
$cue_in = Application_Common_DateHelper::calculateLengthInSeconds($entry['cuein']);
$entry["cliplength"] = $cue_out-$cue_in;
$entry["cliplength"] = Application_Common_DateHelper::secondsToPlaylistTime($cue_out-$cue_in);
} elseif ($obj instanceof CcWebstream && $obj) {
$entry["cuein"] = "00:00:00";
$entry["cueout"] = $entry["cliplength"];