From 75f204ad6726a49e3607612cd5425d5fa9cdca0f Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 8 Feb 2018 22:15:49 +0100 Subject: [PATCH] Do not download playlist That broke falcon heavy launch video play because it output multiple JSON blobs directly after each other that could not be parsed. --- www/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/www/functions.php b/www/functions.php index f0b6772..18cfaff 100644 --- a/www/functions.php +++ b/www/functions.php @@ -29,6 +29,7 @@ function getPageUrl() function getYoutubeDlJson($pageUrl, $youtubedlPath) { $cmd = $youtubedlPath + . ' --no-playlist'//would otherwise cause multiple json blocks . ' --quiet' . ' --dump-json' . ' ' . escapeshellarg($pageUrl) -- 2.30.2