From 1a7444eb66e944d0e2e09288efec924bcdab2244 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 25 Apr 2017 13:49:46 +0200 Subject: [PATCH 1/3] Remove stray end tag in playlist template (fixes #107) --- templates/playlist.tpl | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/playlist.tpl b/templates/playlist.tpl index cab5c4a..670bc36 100644 --- a/templates/playlist.tpl +++ b/templates/playlist.tpl @@ -17,6 +17,5 @@ {/foreach} - {include file="inc/footer.tpl"} From 5180577b99d571395225db8ed7706afb23a5811f Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 25 Apr 2017 14:08:29 +0200 Subject: [PATCH 2/3] Ignore errors in playlists (see https://github.com/rg3/youtube-dl/issues/12835) --- classes/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Config.php b/classes/Config.php index b90a6ca..1f73e6b 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -38,7 +38,7 @@ class Config * * @var array */ - public $params = ['--no-warnings']; + public $params = ['--no-warnings', '--ignore-errors']; /** * Enable audio conversion. From 453bf6e4c548316135b93cefa137c39cdf31d623 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 25 Apr 2017 14:55:21 +0200 Subject: [PATCH 3/3] More precise doc for getURL() --- classes/VideoDownload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index 373ac38..0d42a97 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -127,7 +127,7 @@ class VideoDownload * @param string $format Format to use for the video * @param string $password Video password * - * @return array URLs of video + * @return string[] URLs of video * */ public function getURL($url, $format = null, $password = null) {