diff --git a/API/get_queue_status.php b/API/get_queue_status.php index bc351ff6..edb55b81 100644 --- a/API/get_queue_status.php +++ b/API/get_queue_status.php @@ -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]); }