mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Use cutom nzb class for getting nzbfilelist.
This commit is contained in:
@@ -29,6 +29,7 @@ require_once("Film.php");
|
||||
require_once("TvAnger.php");
|
||||
require_once("Konsole.php");
|
||||
require_once("functions.php");
|
||||
require_once("Enzebe.php");
|
||||
|
||||
/**
|
||||
* Class ProcessAdditional
|
||||
@@ -98,6 +99,7 @@ Class ProcessAdditional
|
||||
$this->_tmuxSettings = $tmuxSettings;
|
||||
|
||||
$this->_nzb = new Nzb($this->_echoCLI);
|
||||
$this->_enzebe = new Enzebe($this->_echoCLI);
|
||||
$this->_groups = new Groups($this->_db);
|
||||
$this->_archiveInfo = new ArchiveInfo();
|
||||
$this->_releaseFiles = new ReleaseFiles();
|
||||
@@ -444,7 +446,7 @@ Class ProcessAdditional
|
||||
ob_end_clean();
|
||||
|
||||
// Get a list of files in the nzb.
|
||||
$this->_nzbContents = $this->_nzb->nzbFileList($nzbContents);
|
||||
$this->_nzbContents = $this->_enzebe->nzbFileList($nzbContents);
|
||||
if (count($this->_nzbContents) === 0) {
|
||||
|
||||
$this->_echo('NZB is empty or broken for GUID: ' . $this->_release['guid']);
|
||||
|
||||
Reference in New Issue
Block a user