CC-5179: Now Playing: Schedule will be incorrect after insert action
Was not accounting for crossfade value when adjusting schedule times after insert
This commit is contained in:
parent
be59810810
commit
0d436d323c
|
@ -644,7 +644,12 @@ class Application_Model_Scheduler
|
||||||
|
|
||||||
$pstart = microtime(true);
|
$pstart = microtime(true);
|
||||||
|
|
||||||
|
if ($applyCrossfades) {
|
||||||
|
$initalStartDT = clone $this->findTimeDifference(
|
||||||
|
$nextStartDT, $this->crossfadeDuration);
|
||||||
|
} else {
|
||||||
$initalStartDT = clone $nextStartDT;
|
$initalStartDT = clone $nextStartDT;
|
||||||
|
}
|
||||||
|
|
||||||
$pend = microtime(true);
|
$pend = microtime(true);
|
||||||
Logging::debug("finding all following items.");
|
Logging::debug("finding all following items.");
|
||||||
|
|
Loading…
Reference in New Issue