[FIX] Handle *ASTRXBIAN empty files (or when unable to read them)

This commit is contained in:
Boris 2021-09-21 20:30:23 +02:00
parent b2d2e095f5
commit f6c5b1fca1
1 changed files with 6 additions and 1 deletions

View File

@ -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);