From f6c5b1fca1825ae81fa2ab7f6bd75e66369924fb Mon Sep 17 00:00:00 2001 From: Boris Date: Tue, 21 Sep 2021 20:30:23 +0200 Subject: [PATCH] [FIX] Handle *ASTRXBIAN empty files (or when unable to read them) --- www/boris/youtube.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/www/boris/youtube.php b/www/boris/youtube.php index a7e608d..8e6460b 100644 --- a/www/boris/youtube.php +++ b/www/boris/youtube.php @@ -41,7 +41,12 @@ if (isset($_GET['tags']) and !empty($_GET['tags'])) { } foreach ($videos as $v) { - + + if (empty($v)) { + + continue; + } + list($contentType, $videoID, $year, $filename, $saison, $tagsStr, $ipnsHash, $definition, $videoURI) = explode(";", $v); list($videoSource, $videoID) = handleVideoID($videoID);