diff --git a/extract-playlist.php b/extract-playlist.php index 140e653..dfefbb2 100644 --- a/extract-playlist.php +++ b/extract-playlist.php @@ -672,8 +672,6 @@ function consolidate( $target, $segments ) { if ( $total >= $nextDuration ) { $after = $total - $nextDuration; $before = $nextDuration - $duration; - echo "$before $after\n"; - echo "($total $nextDuration)\n"; if ( $before < $after ) { // Break segment early break; @@ -693,7 +691,6 @@ function consolidate( $target, $segments ) { ]; $nextTarget += $target; $nextDuration = $nextTarget - $timestamp - $duration; - echo "[$nextTarget, $nextDuration]\n"; if ( $i < $n ) { $segment = $segments[$i];