mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Move tv processing into services
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
|
||||
|
||||
use Blacklight\processing\tv\TVDB;
|
||||
use App\Services\TvProcessing\Providers\TvdbProvider;
|
||||
|
||||
$c = new Blacklight\ColorCLI;
|
||||
$tvDB = new TVDB;
|
||||
$tvDB = new TvdbProvider;
|
||||
|
||||
if (! empty($argv[1]) && isset($argv[2], $argv[3]) && is_numeric($argv[2]) && is_numeric($argv[3])) {
|
||||
// Test if your TvDB API key and configuration are working
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
|
||||
|
||||
use Blacklight\processing\tv\TVMaze;
|
||||
use App\Services\TvProcessing\Providers\TvMazeProvider;
|
||||
|
||||
$c = new Blacklight\ColorCLI;
|
||||
$tvmaze = new TVMaze;
|
||||
$tvmaze = new TvMazeProvider;
|
||||
|
||||
if (! empty($argv[1]) && is_numeric($argv[2]) && is_numeric($argv[3])) {
|
||||
// Test if your TVMaze API configuration is working
|
||||
|
||||
Reference in New Issue
Block a user