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