CC-2569 : Scheduling a rebroadcast show uses old file length access

use new metadata key access.
This commit is contained in:
Naomi Aro 2011-07-19 12:37:06 +02:00
parent 5a9bf18ccc
commit 9de0d490d8
1 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ class ScheduleGroup {
// Check if there are any conflicts with existing entries // Check if there are any conflicts with existing entries
$metadata = $track->getMetadata(); $metadata = $track->getMetadata();
$length = trim($metadata["length"]); $length = $metadata['MDATA_KEY_DURATION'];
if (empty($length)) { if (empty($length)) {
return new PEAR_Error("Length is empty."); return new PEAR_Error("Length is empty.");
} }