Merge pull request '[FIX] Handle *ASTRXBIAN empty files (or when unable to read them)' (#35) from BorisPaing/astrXbian_UX-et-webUI:boris into master

Reviewed-on: #35
This commit is contained in:
qo-op 2021-09-21 20:40:39 +02:00
commit 517a71a892
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);