That broke falcon heavy launch video play because it output
multiple JSON blobs directly after each other that could not be
parsed.
function getYoutubeDlJson($pageUrl, $youtubedlPath)
{
$cmd = $youtubedlPath
function getYoutubeDlJson($pageUrl, $youtubedlPath)
{
$cmd = $youtubedlPath
+ . ' --no-playlist'//would otherwise cause multiple json blocks
. ' --quiet'
. ' --dump-json'
. ' ' . escapeshellarg($pageUrl)
. ' --quiet'
. ' --dump-json'
. ' ' . escapeshellarg($pageUrl)