CC-1799 Put Airtime Storage into a Human Readable File Naming Convention

fixing a couple playlist things to work with the new storedfile class.
This commit is contained in:
Naomi Aro 2011-06-16 12:39:17 +02:00
parent 0d8a340924
commit 35cbeffd4a
2 changed files with 5 additions and 5 deletions

View file

@ -387,7 +387,7 @@ class Playlist {
->orderByDbPosition()
->filterByDbPlaylistId($this->id)
->find();
$i = 0;
$offset = 0;
foreach ($rows as $row) {
@ -496,7 +496,7 @@ class Playlist {
}
$metadata = $media->getMetadata();
$length = $metadata["dcterms:extent"];
$length = $metadata['MDATA_KEY_DURATION'];
if (!is_null($p_clipLength)) {
$length = $p_clipLength;