public function processAnime() { if ($this->site->lookupanidb == 1) { $anidb = new AniDB($this->echooutput); $anidb->animetitlesUpdate(); $anidb->processAnimeReleases(); } }
/** * Lookup anidb if enabled - always run before tvrage. * * @return void */ public function processAnime() { if ($this->pdo->getSetting('lookupanidb') == 1) { $anidb = new \AniDB(['Echo' => $this->echooutput, 'Settings' => $this->pdo]); $anidb->animetitlesUpdate(); $anidb->processAnimeReleases(); } }
/** * Process all TV related releases which will assign their series/episode/rage data */ public function processTv() { if ($this->pdo->getSetting('lookupanidb') == 1) { $anidb = new AniDB($this->echooutput); $anidb->animetitlesUpdate(); $anidb->processAnimeReleases(); } if ($this->pdo->getSetting('lookuptvrage') == 1) { $tvrage = new TVRage($this->echooutput); $tvrage->processTvReleases($this->pdo->getSetting('lookuptvrage') == 1); } if ($this->pdo->getSetting('lookupthetvdb') == 1) { $thetvdb = new TheTVDB($this->echooutput); $thetvdb->processReleases(); } }
/** * Process all TV related releases which will assign their series/episode data */ public function processTv() { if ($this->site->lookupanidb == 1) { $anidb = new AniDB($this->echooutput); $anidb->animetitlesUpdate(); $anidb->processAnimeReleases(); } $tvinfo = new TvInfo($this->echooutput); $tvinfo->processTvReleases($this->site); }