From: Christian Weiske Date: Thu, 8 Feb 2018 21:15:49 +0000 (+0100) Subject: Do not download playlist X-Git-Tag: v1.0.0~6 X-Git-Url: https://git.cweiske.de/playVideoOnDreamboxProxy.git/commitdiff_plain/75f204ad6726a49e3607612cd5425d5fa9cdca0f?hp=303a7ee4497e6d9bd4935c8b48f482093c0b1314 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. --- 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)