CC-3895: Sometimes Media Monitor will not update the length of tracks with the same title but different contents.

-fixed
This commit is contained in:
denise 2012-06-01 12:33:26 -04:00
parent c18704aa4d
commit 990dea12a4

View file

@ -560,7 +560,6 @@ class ApiController extends Zend_Controller_Action
$filepath = str_replace("//", "/", $filepath);
$file = Application_Model_StoredFile::RecallByFilepath($filepath);
if (is_null($file)) {
$file = Application_Model_StoredFile::Insert($md);
}
@ -573,6 +572,7 @@ class ApiController extends Zend_Controller_Action
}else{
// file marked as not exists
$file->setFileExistsFlag(true);
$file->setMetadata($md);
}
}
}