Missing property

This commit is contained in:
Pierre Rudloff 2017-01-16 17:48:32 +01:00
parent 0d6e539dcd
commit c99cc09c31

View file

@ -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]';
}
}