Convert clip length seconds to interval format before inserting into cc_playlistcontents / cc_blockcontents
This commit is contained in:
parent
6071dea839
commit
3c73535f70
2 changed files with 2 additions and 2 deletions
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue