mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
ea39ee8735
commit
e5ccca2d1b
2 changed files with 3 additions and 1 deletions
|
@ -233,7 +233,7 @@ function convertVideoFileWithFFMPEGIsLockedInfo($toFileLocation){
|
|||
'isOld'=>$isOld ,
|
||||
'file_exists'=>file_exists($localFileLock),
|
||||
'localFileLock'=>$localFileLock,
|
||||
'isUnlocked'=>$isOld || !$file_exists,
|
||||
'isUnlocked'=> $isOld || !$file_exists,
|
||||
);
|
||||
}
|
||||
function convertVideoFileWithFFMPEG($fromFileLocation, $toFileLocation, $logFile = '', $try = 0)
|
||||
|
|
|
@ -436,10 +436,12 @@ class AI extends PluginAbstract
|
|||
$isValid = false;
|
||||
if ($arrayRegular['isValid'] && $arrayLower['isValid']) {
|
||||
$f = convertVideoFileWithFFMPEGIsLockedInfo($arrayRegular['paths']['path']);
|
||||
_error_log("convertVideoFileWithFFMPEGIsLockedInfo({$arrayRegular['paths']['path']}) arrayRegular ".json_encode($f));
|
||||
if (!$f['isUnlocked']) {
|
||||
$msg = "The original audio is processing";
|
||||
}else{
|
||||
$f = convertVideoFileWithFFMPEGIsLockedInfo($arrayLower['paths']['path']);
|
||||
_error_log("convertVideoFileWithFFMPEGIsLockedInfo({$arrayLower['paths']['path']}) arrayLower ".json_encode($f));
|
||||
if (!$f['isUnlocked']) {
|
||||
$msg = "The audio is processing";
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue