mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Added tvdb lookup to bin/postprocess.php.
This commit is contained in:
@@ -18,6 +18,7 @@ require_once(WWW_DIR . "lib/anidb.php");
|
||||
require_once(WWW_DIR . "lib/book.php");
|
||||
require_once(WWW_DIR. "lib/Books.php");
|
||||
require_once(WWW_DIR . "lib/Games.php");
|
||||
require_once(WWW_DIR . "lib/thetvdb.php");
|
||||
require_once(WWW_DIR . "lib/XXX.php");
|
||||
require_once(WWW_DIR . "lib/Logger.php");
|
||||
require_once(WWW_DIR . "/lib/ConsoleTools.php");
|
||||
@@ -149,6 +150,7 @@ class PProcess
|
||||
$this->processGames();
|
||||
$this->processAnime();
|
||||
$this->processTv();
|
||||
$this->processTvDB();
|
||||
$this->processXXX();
|
||||
$this->processBooks();
|
||||
}
|
||||
@@ -275,6 +277,15 @@ class PProcess
|
||||
}
|
||||
}
|
||||
|
||||
public function processTvDB()
|
||||
{
|
||||
if ($this->site->lookupthetvdb == 1)
|
||||
{
|
||||
$thetvdb = new TheTVDB($this->echooutput);
|
||||
$thetvdb->processReleases();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup xxx if enabled.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user