From faeec468f0bf95527c998d244dd4bd4c9b5c558b Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Tue, 6 Aug 2024 12:26:32 -0300 Subject: [PATCH] Update --- API/get_queue_status.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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]); }