From c99cc09c31e62ac052e4b6489e1ac378730fdffc Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 16 Jan 2017 17:48:32 +0100 Subject: [PATCH] Missing property --- controllers/FrontController.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 67b8c04..24f7440 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -54,6 +54,12 @@ class FrontController */ private $view; + /** + * Default youtube-dl format + * @var string + */ + private $defaultFormat = 'best[protocol^=http]'; + /** * FrontController constructor. * @@ -70,8 +76,6 @@ class FrontController $this->sessionSegment = $session->getSegment('Alltube\Controller\FrontController'); if ($this->config->stream) { $this->defaultFormat = 'best'; - } else { - $this->defaultFormat = 'best[protocol^=http]'; } }