cue/fade editor done for new playlist builder

This commit is contained in:
Naomi 2011-01-17 13:55:43 -05:00
parent 70f7cb6edc
commit 6376a25463
8 changed files with 249 additions and 17 deletions

View file

@ -239,11 +239,13 @@ class PlaylistController extends Zend_Controller_Action
$response = $pl->changeClipLength($pos, $cueIn, $cueOut);
die(json_encode($response));
$this->view->response = $response;
return;
}
$cues = $pl->getCueInfo($pos);
$this->view->pos = $pos;
$this->view->cueIn = $cues[0];
$this->view->cueOut = $cues[1];
$this->view->html = $this->view->render('playlist/set-cue.phtml');
@ -261,9 +263,12 @@ class PlaylistController extends Zend_Controller_Action
$response = $pl->changeFadeInfo($pos, $fadeIn, $fadeOut);
die(json_encode($response));
$this->view->response = $response;
return;
}
$this->view->pos = $pos;
$fades = $pl->getFadeInfo($pos);
$this->view->fadeIn = $fades[0];