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:
parent
c18704aa4d
commit
990dea12a4
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user