git.cweiske.de
/
playVideoOnDreamboxProxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not download playlist
[playVideoOnDreamboxProxy.git]
/
www
/
functions.php
diff --git
a/www/functions.php
b/www/functions.php
index f0b67723c6d983c366cac89cbfea5382ff52e79d..18cfaff288604064aba615ad9236a859a8cf8d4a 100644
(file)
--- a/
www/functions.php
+++ b/
www/functions.php
@@
-29,6
+29,7
@@
function getPageUrl()
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)