mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update PPA class
This commit is contained in:
@@ -421,17 +421,17 @@ class ProcessAdditional
|
||||
|
||||
$this->_echoCLI = ($options['Echo'] && config('nntmux.echocli') && (strtolower(PHP_SAPI) === 'cli'));
|
||||
|
||||
$this->_nntp = $options['NNTP'] instanceof NNTP ? $options['NNTP'] : new NNTP(['Echo' => $this->_echoCLI]);
|
||||
$this->_nntp = $options['NNTP'] ?? new NNTP(['Echo' => $this->_echoCLI]);
|
||||
|
||||
$this->_nzb = $options['NZB'] instanceof NZB ? $options['NZB'] : new NZB();
|
||||
$this->_nzb = $options['NZB'] ?? new NZB();
|
||||
$this->_archiveInfo = new ArchiveInfo();
|
||||
$this->_categorize = $options['Categorize'] instanceof Categorize ? $options['Categorize'] : new Categorize();
|
||||
$this->_nameFixer = $options['NameFixer'] instanceof NameFixer ? $options['NameFixer'] : new NameFixer(['Echo' =>$this->_echoCLI, 'Groups' => null, 'Categorize' => $this->_categorize]);
|
||||
$this->_releaseExtra = $options['ReleaseExtra'] instanceof ReleaseExtra ? $options['ReleaseExtra'] : new ReleaseExtra();
|
||||
$this->_releaseImage = $options['ReleaseImage'] instanceof ReleaseImage ? $options['ReleaseImage'] : new ReleaseImage();
|
||||
$this->_categorize = $options['Categorize'] ?? new Categorize();
|
||||
$this->_nameFixer = $options['NameFixer'] ?? new NameFixer(['Echo' =>$this->_echoCLI, 'Categorize' => $this->_categorize]);
|
||||
$this->_releaseExtra = $options['ReleaseExtra'] ?? new ReleaseExtra();
|
||||
$this->_releaseImage = $options['ReleaseImage'] ?? new ReleaseImage();
|
||||
$this->_par2Info = new Par2Info();
|
||||
$this->_nfo = $options['Nfo'] instanceof Nfo ? $options['Nfo'] : new Nfo();
|
||||
$this->sphinx = $options['SphinxSearch'] instanceof SphinxSearch ? $options['SphinxSearch'] : new SphinxSearch();
|
||||
$this->_nfo = $options['Nfo'] ?? new Nfo();
|
||||
$this->sphinx = $options['SphinxSearch'] ?? new SphinxSearch();
|
||||
$this->ffmpeg = FFMpeg::create(['timeout' => Settings::settingValue('..timeoutseconds')]);
|
||||
$this->ffprobe = FFProbe::create();
|
||||
$this->mediaInfo = new MediaInfo();
|
||||
|
||||
Reference in New Issue
Block a user