Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas

This commit is contained in:
Albert Santoni 2014-04-03 11:35:37 -04:00
commit 0398072d45
2 changed files with 2 additions and 1 deletions

View File

@ -135,6 +135,7 @@ class Rest_MediaController extends Zend_Rest_Controller
$now = new DateTime("now", new DateTimeZone("UTC"));
$file->setDbTrackTitle($_FILES["file"]["name"]);
$file->setDbUtime($now);
$file->setDbHidden(true);
$file->save();
$callbackUrl = $this->getRequest()->getScheme() . '://' . $this->getRequest()->getHttpHost() . $this->getRequest()->getRequestUri() . "/" . $file->getPrimaryKey();

View File

@ -78,7 +78,7 @@ class MetadataAnalyzer(Analyzer):
'genre': 'genre',
'isrc': 'isrc',
'label': 'label',
'length': 'length',
#'length': 'length',
'language': 'language',
'last_modified':'last_modified',
'mood': 'mood',