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
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,6 @@ class ApiController extends Zend_Controller_Action
|
||||||
$filepath = str_replace("//", "/", $filepath);
|
$filepath = str_replace("//", "/", $filepath);
|
||||||
|
|
||||||
$file = Application_Model_StoredFile::RecallByFilepath($filepath);
|
$file = Application_Model_StoredFile::RecallByFilepath($filepath);
|
||||||
|
|
||||||
if (is_null($file)) {
|
if (is_null($file)) {
|
||||||
$file = Application_Model_StoredFile::Insert($md);
|
$file = Application_Model_StoredFile::Insert($md);
|
||||||
}
|
}
|
||||||
|
@ -573,6 +572,7 @@ class ApiController extends Zend_Controller_Action
|
||||||
}else{
|
}else{
|
||||||
// file marked as not exists
|
// file marked as not exists
|
||||||
$file->setFileExistsFlag(true);
|
$file->setFileExistsFlag(true);
|
||||||
|
$file->setMetadata($md);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue