Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Aug 6, 2024
1 parent 6d103dc commit faeec46
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions API/get_queue_status.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@
foreach ($object->queue as $key => $value) {
$object->queue[$key]['conversion'] = Encoder::getVideoConversionStatus($value['id']);
$object->queue[$key]['download'] = Encoder::getYoutubeDlProgress($value['id']);

if($object->queue[$key]['conversion']){
$object->queue[$key]['conversion'] = null;
}

if($object->queue[$key]['download']){
$object->queue[$key]['download'] = null;
}

$object->queue[$key] = API::cleanQueueArray($object->queue[$key]);
}

Expand Down

0 comments on commit faeec46

Please sign in to comment.