Missing property
This commit is contained in:
parent
0d6e539dcd
commit
c99cc09c31
1 changed files with 6 additions and 2 deletions
|
@ -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]';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue