CC-5216: Library length does not consider cue points

This commit is contained in:
denise 2013-06-07 14:19:46 -04:00
parent ede618b3ad
commit 3b353b47b1
2 changed files with 4 additions and 4 deletions

View file

@ -194,14 +194,13 @@ class Application_Model_Scheduler
if ($type === "audioclip") {
$file = CcFilesQuery::create()->findPK($id, $this->con);
$storedFile = new Application_Model_StoredFile($file, $this->con);
if (is_null($file) || !$file->visible()) {
throw new Exception(_("A selected File does not exist!"));
} else {
$data = $this->fileInfo;
$data["id"] = $id;
$data["cliplength"] = $storedFile->getRealClipLength(
$data["cliplength"] = Application_Model_StoredFile::getRealClipLength(
$file->getDbCuein(),
$file->getDbCueout());