video bugs fixed
This commit is contained in:
parent
28137f6bcb
commit
d43aaa045e
@ -189,6 +189,7 @@ class Test extends REST_Controller {
|
||||
$driveFilesList = $this->googleapi->getDriveFilesList($pd_details[0]['gmeet_code']);
|
||||
if(count($driveFilesList))
|
||||
{
|
||||
log_message('ERROR','###Videos Found'.count($driveFilesList).' - PDID - '. $pdid);
|
||||
foreach ($driveFilesList as $key => $file)
|
||||
{
|
||||
$this->handleGoolgeVideoFile($file,$pd_details);
|
||||
@ -201,6 +202,7 @@ class Test extends REST_Controller {
|
||||
}
|
||||
else
|
||||
{
|
||||
log_message('ERROR','###Videos not found/not available in drive yet Found'.count($driveFilesList).' - PDID - '. $pdid);
|
||||
$data['dataStatus'] = true;
|
||||
$data['status'] = REST_Controller::HTTP_NO_CONTENT;
|
||||
// $data['msg'] = 'Officers Records Not Found!';
|
||||
|
||||
@ -33,7 +33,7 @@ class video_grabber_helper
|
||||
foreach ($video_info as $key => $value)
|
||||
{
|
||||
$video_name = $value['composition_id'].'.mp4';
|
||||
if($value['is_uploaded']){$video_name = $value['composition_id'];}
|
||||
if($value['is_uploaded'] || $value['vps'] == 'google'){$video_name = $value['composition_id'];}
|
||||
$file_name = $video_name;
|
||||
|
||||
if($value['s3_copied'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user