CC-3451 : Ability to delete the currently playing clip
This commit is contained in:
parent
10e4ae781f
commit
2956009f42
2 changed files with 13 additions and 16 deletions
|
@ -445,8 +445,8 @@ class Application_Model_Scheduler {
|
|||
if ($removedItem->isCurrentItem()) {
|
||||
$now = new DateTime("now", new DateTimeZone("UTC"));
|
||||
|
||||
$nEpoch = $now->format('U');
|
||||
$sEpoch = $removedItem->getDbStarts('U');
|
||||
$nEpoch = floatval($now->format('U.u'));
|
||||
$sEpoch = floatval($removedItem->getDbStarts('U.u'));
|
||||
$length = $nEpoch - $sEpoch;
|
||||
$cliplength = Application_Model_Playlist::secondsToPlaylistTime($length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue