CC-2065: Fade times longer than Airtime supports can be set in Playlist Builder and Preferences

- Fixed refresh bug that results in storing to database a 00.000000 value instead of 00:00:00
This commit is contained in:
Daniel Franklin 2012-02-02 15:30:05 -05:00
parent 61fb8a4fb9
commit 09ccac3384
1 changed files with 4 additions and 4 deletions

View File

@ -1020,15 +1020,15 @@ class Application_Model_Playlist {
if(is_null($fadeIn)) { if(is_null($fadeIn)) {
if($defaultFade != "") if($defaultFade != "")
$fadeIn = $defaultFade; $fadeIn = '00:00:'.$defaultFade;
else else
$fadeIn = '00.000000'; $fadeIn = '00:00:00';
} }
if(is_null($fadeOut)) { if(is_null($fadeOut)) {
if($defaultFade != "") if($defaultFade != "")
$fadeOut = $defaultFade; $fadeOut = '00:00:'.$defaultFade;
else else
$fadeOut = '00.000000'; $fadeOut = '00:00:00';
} }
$row = new CcPlaylistcontents(); $row = new CcPlaylistcontents();