From ae0d5d85983819d20c8f14f386bfbb761bc9c826 Mon Sep 17 00:00:00 2001 From: denise Date: Thu, 16 Aug 2012 14:45:51 -0400 Subject: [PATCH] CC-4238: Playlists: Fade in/out is in wrong format -added comment --- airtime_mvc/application/models/Block.php | 1 + airtime_mvc/application/models/Playlist.php | 1 + 2 files changed, 2 insertions(+) diff --git a/airtime_mvc/application/models/Block.php b/airtime_mvc/application/models/Block.php index 1a3bcfe75..c6ff0ae0c 100644 --- a/airtime_mvc/application/models/Block.php +++ b/airtime_mvc/application/models/Block.php @@ -216,6 +216,7 @@ EOT; $formatter = new LengthFormatter($offset_cliplength); $row['offset'] = $formatter->format(); + //format the fades in format 00(.000000) $fades = $this->getFadeInfo($row['position']); $row['fadein'] = $fades[0]; $row['fadeout'] = $fades[1]; diff --git a/airtime_mvc/application/models/Playlist.php b/airtime_mvc/application/models/Playlist.php index a08622e4e..19023fc8d 100644 --- a/airtime_mvc/application/models/Playlist.php +++ b/airtime_mvc/application/models/Playlist.php @@ -236,6 +236,7 @@ SQL; $formatter = new LengthFormatter($offset_cliplength); $row['offset'] = $formatter->format(); + //format the fades in format 00(.000000) $fades = $this->getFadeInfo($row['position']); $row['fadein'] = $fades[0]; $row['fadeout'] = $fades[1];