Use cutom nzb class for getting nzbfilelist.

This commit is contained in:
Darko
2014-06-17 12:10:31 +02:00
parent 6eaeb794ec
commit 97acc37310
+3 -1
View File
@@ -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']);