Move tv processing into services

This commit is contained in:
DariusIII
2025-12-19 17:06:51 +01:00
parent ab1562577b
commit dc9c9e3bb9
17 changed files with 91 additions and 183 deletions
+2 -2
View File
@@ -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 -2
View File
@@ -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