Update TVDB

This commit is contained in:
DariusIII
2021-10-03 20:49:07 +02:00
parent 0fda3d0784
commit b876486c2f
4 changed files with 217 additions and 159 deletions
+15 -17
View File
@@ -12,7 +12,6 @@ use CanIHaveSomeCoffee\TheTVDbAPI\TheTVDbAPI;
*/
class TVDB extends TV
{
private const TVDB_POSTER_URL = 'https://artworks.thetvdb.com/banners/';
private const MATCH_PROBABILITY = 75;
/**
@@ -51,13 +50,12 @@ class TVDB extends TV
{
parent::__construct($options);
$this->client = new TheTVDbAPI();
$this->client->setAcceptedLanguages(['en']);
$this->local = false;
// Check if we can get the time for API status
// If we can't then we set local to true
try {
$this->token = $this->client->authentication()->login(config('tvdb.api_key'));
$this->token = $this->client->authentication()->login(config('tvdb.api_key'), config('tvdb.user_pin'));
} catch (UnauthorizedException $error) {
$this->colorCli->warning('Could not reach TVDB API. Running in local mode only!', true);
$this->local = true;
@@ -221,7 +219,7 @@ class TVDB extends TV
return false;
}
/**
/*
* Calls the API to perform initial show name match to TVDB title
* Returns a formatted array of show data or false if no match.
*
@@ -235,7 +233,7 @@ class TVDB extends TV
$return = $response = false;
$highestMatch = 0;
try {
$response = $this->client->search()->searchByName($cleanName);
$response = $this->client->search()->search($cleanName);
} catch (ResourceNotFoundException $e) {
$response = false;
$this->colorCli->notice('Show not found on TVDB', true);
@@ -243,7 +241,7 @@ class TVDB extends TV
if ($response === false && $country !== '') {
try {
$response = $this->client->search()->searchByName(rtrim(str_replace($country, '', $cleanName)));
$response = $this->client->search()->search(rtrim(str_replace($country, '', $cleanName)));
} catch (ResourceNotFoundException $e) {
$response = false;
$this->colorCli->notice('Show not found on TVDB', true);
@@ -315,7 +313,7 @@ class TVDB extends TV
return $hasCover;
}
/**
/*
* Gets the specific episode info for the parsed release after match
* Returns a formatted array of episode data or false if no match.
*
@@ -332,19 +330,19 @@ class TVDB extends TV
if ($airDate !== '') {
try {
$response = $this->client->series()->getEpisodesWithQuery($tvDbId, ['firstAired' => $airDate])->getData();
$response = $this->client->series()->extended($tvDbId);
} catch (ResourceNotFoundException $error) {
return false;
}
} elseif ($videoId > 0) {
try {
$response = $this->client->series()->getAllEpisodes($tvDbId);
$response = $this->client->series()->allEpisodes($tvDbId);
} catch (ResourceNotFoundException $error) {
return false;
}
} else {
try {
$response = $this->client->series()->getEpisodesWithQuery($tvDbId, ['airedSeason' => $season, 'airedEpisodeNumber' => $episode])->getData();
$response = $this->client->series()->extended($tvDbId, ['airedSeason' => $season, 'airedEpisodeNumber' => $episode]);
} catch (ResourceNotFoundException $error) {
return false;
}
@@ -367,7 +365,7 @@ class TVDB extends TV
return $return;
}
/**
/*
* Assigns API show response values to a formatted array for insertion
* Returns the formatted array.
*
@@ -377,22 +375,22 @@ class TVDB extends TV
protected function formatShowInfo($show): array
{
try {
$poster = $this->client->series()->getImagesWithQuery($show->id, ['keyType' => 'poster']);
$this->posterUrl = ! empty($poster[0]->thumbnail) ? self::TVDB_POSTER_URL.$poster[0]->thumbnail : '';
$poster = $this->client->episodes()->extended($show->id);
$this->posterUrl = ! empty($poster[0]->thumbnail) ? $poster[0]->thumbnail : '';
} catch (ResourceNotFoundException $e) {
$this->colorCli->notice('Poster image not found on TVDB', true);
}
try {
$fanart = $this->client->series()->getImagesWithQuery($show->id, ['keyType' => 'fanart']);
$this->fanartUrl = $fanart[0]->thumbnail ? self::TVDB_POSTER_URL.$fanart[0]->thumbnail : '';
$fanart = $this->client->series()->extended($show->id);
$this->fanartUrl = ! empty($fanart[0]->thumbnail) ? $fanart[0]->thumbnail : '';
} catch (ResourceNotFoundException $e) {
$this->colorCli->notice('Fanart image not found on TVDB', true);
}
try {
$imdbid = $this->client->series()->getById($show->id);
preg_match('/tt(?P<imdbid>\d{6,7})$/i', $imdbid->imdbId, $imdb);
$imdbId = $this->client->series()->extended($show->id);
preg_match('/tt(?P<imdbid>\d{6,7})$/i', $imdbId->imdbId, $imdb);
} catch (ResourceNotFoundException $e) {
$this->colorCli->notice('Show ID not found on TVDB', true);
}
Generated
+199 -140
View File
@@ -652,16 +652,16 @@
},
{
"name": "canihavesomecoffee/thetvdbapi",
"version": "2.0.0",
"version": "2.0.8",
"source": {
"type": "git",
"url": "https://github.com/canihavesomecoffee/theTVDbAPI.git",
"reference": "75aacab27d51702736a47484640bbf429a41ee06"
"reference": "1c0924ec17c639d91b7c4372ab2750601cb69988"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/canihavesomecoffee/theTVDbAPI/zipball/75aacab27d51702736a47484640bbf429a41ee06",
"reference": "75aacab27d51702736a47484640bbf429a41ee06",
"url": "https://api.github.com/repos/canihavesomecoffee/theTVDbAPI/zipball/1c0924ec17c639d91b7c4372ab2750601cb69988",
"reference": "1c0924ec17c639d91b7c4372ab2750601cb69988",
"shasum": ""
},
"require": {
@@ -694,9 +694,9 @@
"description": "PHP implementation for the 4th version of the TheTVDb API.",
"support": {
"issues": "https://github.com/canihavesomecoffee/theTVDbAPI/issues",
"source": "https://github.com/canihavesomecoffee/theTVDbAPI/tree/2.0.0"
"source": "https://github.com/canihavesomecoffee/theTVDbAPI/tree/2.0.8"
},
"time": "2021-09-27T20:14:37+00:00"
"time": "2021-10-03T14:19:25+00:00"
},
{
"name": "clue/stream-filter",
@@ -766,16 +766,16 @@
},
{
"name": "composer/ca-bundle",
"version": "1.2.10",
"version": "1.2.11",
"source": {
"type": "git",
"url": "https://github.com/composer/ca-bundle.git",
"reference": "9fdb22c2e97a614657716178093cd1da90a64aa8"
"reference": "0b072d51c5a9c6f3412f7ea3ab043d6603cb2582"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/9fdb22c2e97a614657716178093cd1da90a64aa8",
"reference": "9fdb22c2e97a614657716178093cd1da90a64aa8",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/0b072d51c5a9c6f3412f7ea3ab043d6603cb2582",
"reference": "0b072d51c5a9c6f3412f7ea3ab043d6603cb2582",
"shasum": ""
},
"require": {
@@ -787,7 +787,7 @@
"phpstan/phpstan": "^0.12.55",
"psr/log": "^1.0",
"symfony/phpunit-bridge": "^4.2 || ^5",
"symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0"
"symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
},
"type": "library",
"extra": {
@@ -822,7 +822,7 @@
"support": {
"irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/ca-bundle/issues",
"source": "https://github.com/composer/ca-bundle/tree/1.2.10"
"source": "https://github.com/composer/ca-bundle/tree/1.2.11"
},
"funding": [
{
@@ -838,7 +838,7 @@
"type": "tidelift"
}
],
"time": "2021-06-07T13:58:28+00:00"
"time": "2021-09-25T20:32:43+00:00"
},
{
"name": "composer/package-versions-deprecated",
@@ -1751,16 +1751,16 @@
},
{
"name": "doctrine/dbal",
"version": "3.1.2",
"version": "3.1.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "3ee2622b57370c786f531678f6641208747f7bfc"
"reference": "96b0053775a544b4a6ab47654dac0621be8b4cf8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/3ee2622b57370c786f531678f6641208747f7bfc",
"reference": "3ee2622b57370c786f531678f6641208747f7bfc",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/96b0053775a544b4a6ab47654dac0621be8b4cf8",
"reference": "96b0053775a544b4a6ab47654dac0621be8b4cf8",
"shasum": ""
},
"require": {
@@ -1773,9 +1773,9 @@
"require-dev": {
"doctrine/coding-standard": "9.0.0",
"jetbrains/phpstorm-stubs": "2021.1",
"phpstan/phpstan": "0.12.96",
"phpstan/phpstan": "0.12.99",
"phpstan/phpstan-strict-rules": "^0.12.11",
"phpunit/phpunit": "9.5.5",
"phpunit/phpunit": "9.5.10",
"psalm/plugin-phpunit": "0.16.1",
"squizlabs/php_codesniffer": "3.6.0",
"symfony/cache": "^5.2|^6.0",
@@ -1840,7 +1840,7 @@
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.1.2"
"source": "https://github.com/doctrine/dbal/tree/3.1.3"
},
"funding": [
{
@@ -1856,7 +1856,7 @@
"type": "tidelift"
}
],
"time": "2021-09-12T20:56:32+00:00"
"time": "2021-10-02T16:15:05+00:00"
},
{
"name": "doctrine/deprecations",
@@ -3759,16 +3759,16 @@
},
{
"name": "laravel/framework",
"version": "v8.61.0",
"version": "v8.62.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "3d528d3d3c8ecb444b50a266c212a52973a6669b"
"reference": "60a7e00488167ce2babf3a2aeb3677e48aaf39be"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/3d528d3d3c8ecb444b50a266c212a52973a6669b",
"reference": "3d528d3d3c8ecb444b50a266c212a52973a6669b",
"url": "https://api.github.com/repos/laravel/framework/zipball/60a7e00488167ce2babf3a2aeb3677e48aaf39be",
"reference": "60a7e00488167ce2babf3a2aeb3677e48aaf39be",
"shasum": ""
},
"require": {
@@ -3778,15 +3778,17 @@
"ext-json": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"league/commonmark": "^1.3|^2.0",
"laravel/serializable-closure": "^1.0",
"league/commonmark": "^1.3|^2.0.2",
"league/flysystem": "^1.1",
"monolog/monolog": "^2.0",
"nesbot/carbon": "^2.31",
"opis/closure": "^3.6",
"php": "^7.3|^8.0",
"psr/container": "^1.0",
"psr/log": "^1.0 || ^2.0",
"psr/simple-cache": "^1.0",
"ramsey/uuid": "^4.0",
"ramsey/uuid": "^4.2.2",
"swiftmailer/swiftmailer": "^6.0",
"symfony/console": "^5.1.4",
"symfony/error-handler": "^5.1.4",
@@ -3843,21 +3845,21 @@
},
"require-dev": {
"aws/aws-sdk-php": "^3.189.0",
"doctrine/dbal": "^2.6|^3.0",
"doctrine/dbal": "^2.13.3|^3.1.2",
"filp/whoops": "^2.8",
"guzzlehttp/guzzle": "^6.5.5|^7.0.1",
"league/flysystem-cached-adapter": "^1.0",
"mockery/mockery": "^1.4.2",
"mockery/mockery": "^1.4.4",
"orchestra/testbench-core": "^6.23",
"pda/pheanstalk": "^4.0",
"phpunit/phpunit": "^8.5.8|^9.3.3",
"phpunit/phpunit": "^8.5.19|^9.5.8",
"predis/predis": "^1.1.2",
"symfony/cache": "^5.1.4"
},
"suggest": {
"aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.189.0).",
"brianium/paratest": "Required to run tests in parallel (^6.0).",
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).",
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.2).",
"ext-ftp": "Required to use the Flysystem FTP driver.",
"ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",
"ext-memcached": "Required to use the memcache cache driver.",
@@ -3871,10 +3873,10 @@
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).",
"league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).",
"league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).",
"mockery/mockery": "Required to use mocking (^1.4.2).",
"mockery/mockery": "Required to use mocking (^1.4.4).",
"nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).",
"pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).",
"phpunit/phpunit": "Required to use assertions and run tests (^8.5.8|^9.3.3).",
"phpunit/phpunit": "Required to use assertions and run tests (^8.5.19|^9.5.8).",
"predis/predis": "Required to use the predis connector (^1.1.2).",
"psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0).",
@@ -3924,7 +3926,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
"time": "2021-09-14T13:31:32+00:00"
"time": "2021-09-28T13:30:25+00:00"
},
{
"name": "laravel/horizon",
@@ -4072,6 +4074,65 @@
},
"time": "2021-04-06T14:35:41+00:00"
},
{
"name": "laravel/serializable-closure",
"version": "v1.0.2",
"source": {
"type": "git",
"url": "https://github.com/laravel/serializable-closure.git",
"reference": "679e24d36ff8b9be0e36f5222244ec8602e18867"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/679e24d36ff8b9be0e36f5222244ec8602e18867",
"reference": "679e24d36ff8b9be0e36f5222244ec8602e18867",
"shasum": ""
},
"require": {
"php": "^7.3|^8.0"
},
"require-dev": {
"pestphp/pest": "^1.18",
"phpstan/phpstan": "^0.12.98",
"symfony/var-dumper": "^5.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Laravel\\SerializableClosure\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Taylor Otwell",
"email": "taylor@laravel.com"
},
{
"name": "Nuno Maduro",
"email": "nuno@laravel.com"
}
],
"description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.",
"keywords": [
"closure",
"laravel",
"serializable"
],
"support": {
"issues": "https://github.com/laravel/serializable-closure/issues",
"source": "https://github.com/laravel/serializable-closure"
},
"time": "2021-09-29T13:25:52+00:00"
},
{
"name": "laravel/telescope",
"version": "v4.6.4",
@@ -4138,16 +4199,16 @@
},
{
"name": "laravel/tinker",
"version": "v2.6.1",
"version": "v2.6.2",
"source": {
"type": "git",
"url": "https://github.com/laravel/tinker.git",
"reference": "04ad32c1a3328081097a181875733fa51f402083"
"reference": "c808a7227f97ecfd9219fbf913bad842ea854ddc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/tinker/zipball/04ad32c1a3328081097a181875733fa51f402083",
"reference": "04ad32c1a3328081097a181875733fa51f402083",
"url": "https://api.github.com/repos/laravel/tinker/zipball/c808a7227f97ecfd9219fbf913bad842ea854ddc",
"reference": "c808a7227f97ecfd9219fbf913bad842ea854ddc",
"shasum": ""
},
"require": {
@@ -4200,9 +4261,9 @@
],
"support": {
"issues": "https://github.com/laravel/tinker/issues",
"source": "https://github.com/laravel/tinker/tree/v2.6.1"
"source": "https://github.com/laravel/tinker/tree/v2.6.2"
},
"time": "2021-03-02T16:53:12+00:00"
"time": "2021-09-28T15:47:34+00:00"
},
{
"name": "laravel/ui",
@@ -5214,16 +5275,16 @@
},
{
"name": "monolog/monolog",
"version": "2.3.4",
"version": "2.3.5",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
"reference": "437e7a1c50044b92773b361af77620efb76fff59"
"reference": "fd4380d6fc37626e2f799f29d91195040137eba9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/437e7a1c50044b92773b361af77620efb76fff59",
"reference": "437e7a1c50044b92773b361af77620efb76fff59",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd4380d6fc37626e2f799f29d91195040137eba9",
"reference": "fd4380d6fc37626e2f799f29d91195040137eba9",
"shasum": ""
},
"require": {
@@ -5239,7 +5300,7 @@
"elasticsearch/elasticsearch": "^7",
"graylog2/gelf-php": "^1.4.2",
"mongodb/mongodb": "^1.8",
"php-amqplib/php-amqplib": "~2.4",
"php-amqplib/php-amqplib": "~2.4 || ^3",
"php-console/php-console": "^3.1.3",
"phpspec/prophecy": "^1.6.1",
"phpstan/phpstan": "^0.12.91",
@@ -5297,7 +5358,7 @@
],
"support": {
"issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/2.3.4"
"source": "https://github.com/Seldaek/monolog/tree/2.3.5"
},
"funding": [
{
@@ -5309,7 +5370,7 @@
"type": "tidelift"
}
],
"time": "2021-09-15T11:27:21+00:00"
"time": "2021-10-01T21:08:31+00:00"
},
{
"name": "nesbot/carbon",
@@ -7057,16 +7118,16 @@
},
{
"name": "predis/predis",
"version": "v1.1.7",
"version": "v1.1.8",
"source": {
"type": "git",
"url": "https://github.com/predis/predis.git",
"reference": "b240daa106d4e02f0c5b7079b41e31ddf66fddf8"
"reference": "cf5c118a077fbab8b9af1482c20952173125c041"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/predis/predis/zipball/b240daa106d4e02f0c5b7079b41e31ddf66fddf8",
"reference": "b240daa106d4e02f0c5b7079b41e31ddf66fddf8",
"url": "https://api.github.com/repos/predis/predis/zipball/cf5c118a077fbab8b9af1482c20952173125c041",
"reference": "cf5c118a077fbab8b9af1482c20952173125c041",
"shasum": ""
},
"require": {
@@ -7111,7 +7172,7 @@
],
"support": {
"issues": "https://github.com/predis/predis/issues",
"source": "https://github.com/predis/predis/tree/v1.1.7"
"source": "https://github.com/predis/predis/tree/v1.1.8"
},
"funding": [
{
@@ -7119,20 +7180,20 @@
"type": "github"
}
],
"time": "2021-04-04T19:34:46+00:00"
"time": "2021-09-29T17:48:39+00:00"
},
{
"name": "propaganistas/laravel-disposable-email",
"version": "2.1.7",
"version": "2.1.8",
"source": {
"type": "git",
"url": "https://github.com/Propaganistas/Laravel-Disposable-Email.git",
"reference": "51dd61d8605fa7648dbf69fbc9122a662ec18c11"
"reference": "1f31ff940fc368fabc42f77bea2e45876a486055"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Propaganistas/Laravel-Disposable-Email/zipball/51dd61d8605fa7648dbf69fbc9122a662ec18c11",
"reference": "51dd61d8605fa7648dbf69fbc9122a662ec18c11",
"url": "https://api.github.com/repos/Propaganistas/Laravel-Disposable-Email/zipball/1f31ff940fc368fabc42f77bea2e45876a486055",
"reference": "1f31ff940fc368fabc42f77bea2e45876a486055",
"shasum": ""
},
"require": {
@@ -7186,9 +7247,9 @@
],
"support": {
"issues": "https://github.com/Propaganistas/Laravel-Disposable-Email/issues",
"source": "https://github.com/Propaganistas/Laravel-Disposable-Email/tree/2.1.7"
"source": "https://github.com/Propaganistas/Laravel-Disposable-Email/tree/2.1.8"
},
"time": "2021-08-01T01:03:36+00:00"
"time": "2021-09-01T01:00:44+00:00"
},
{
"name": "psr/cache",
@@ -9552,16 +9613,16 @@
},
{
"name": "symfony/http-kernel",
"version": "v5.3.7",
"version": "v5.3.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "a3a78e37935a527b50376c22ac1cec35b57fe787"
"reference": "ceaf46a992f60e90645e7279825a830f733a17c5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/a3a78e37935a527b50376c22ac1cec35b57fe787",
"reference": "a3a78e37935a527b50376c22ac1cec35b57fe787",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/ceaf46a992f60e90645e7279825a830f733a17c5",
"reference": "ceaf46a992f60e90645e7279825a830f733a17c5",
"shasum": ""
},
"require": {
@@ -9644,7 +9705,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v5.3.7"
"source": "https://github.com/symfony/http-kernel/tree/v5.3.9"
},
"funding": [
{
@@ -9660,20 +9721,20 @@
"type": "tidelift"
}
],
"time": "2021-08-30T12:37:19+00:00"
"time": "2021-09-28T10:25:11+00:00"
},
{
"name": "symfony/mime",
"version": "v5.3.7",
"version": "v5.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
"reference": "ae887cb3b044658676129f5e97aeb7e9eb69c2d8"
"reference": "a756033d0a7e53db389618653ae991eba5a19a11"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/ae887cb3b044658676129f5e97aeb7e9eb69c2d8",
"reference": "ae887cb3b044658676129f5e97aeb7e9eb69c2d8",
"url": "https://api.github.com/repos/symfony/mime/zipball/a756033d0a7e53db389618653ae991eba5a19a11",
"reference": "a756033d0a7e53db389618653ae991eba5a19a11",
"shasum": ""
},
"require": {
@@ -9727,7 +9788,7 @@
"mime-type"
],
"support": {
"source": "https://github.com/symfony/mime/tree/v5.3.7"
"source": "https://github.com/symfony/mime/tree/v5.3.8"
},
"funding": [
{
@@ -9743,7 +9804,7 @@
"type": "tidelift"
}
],
"time": "2021-08-20T11:40:01+00:00"
"time": "2021-09-10T12:30:38+00:00"
},
{
"name": "symfony/options-resolver",
@@ -10686,16 +10747,16 @@
},
{
"name": "symfony/property-access",
"version": "v5.3.7",
"version": "v5.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/property-access.git",
"reference": "a4bbf09b8f3e2d2c89cc2c8b3d6682bf4c3d5589"
"reference": "2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/property-access/zipball/a4bbf09b8f3e2d2c89cc2c8b3d6682bf4c3d5589",
"reference": "a4bbf09b8f3e2d2c89cc2c8b3d6682bf4c3d5589",
"url": "https://api.github.com/repos/symfony/property-access/zipball/2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66",
"reference": "2fbab5f95ddb6b8e85f38a6a8a04a17c0acc4d66",
"shasum": ""
},
"require": {
@@ -10747,7 +10808,7 @@
"reflection"
],
"support": {
"source": "https://github.com/symfony/property-access/tree/v5.3.7"
"source": "https://github.com/symfony/property-access/tree/v5.3.8"
},
"funding": [
{
@@ -10763,20 +10824,20 @@
"type": "tidelift"
}
],
"time": "2021-08-09T12:23:10+00:00"
"time": "2021-09-10T11:55:24+00:00"
},
{
"name": "symfony/property-info",
"version": "v5.3.7",
"version": "v5.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/property-info.git",
"reference": "7202b6c93a07df5df83eb58e3757dffb77fc5d90"
"reference": "39de5bed8c036f76ec0457ec52908e45d5497947"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/property-info/zipball/7202b6c93a07df5df83eb58e3757dffb77fc5d90",
"reference": "7202b6c93a07df5df83eb58e3757dffb77fc5d90",
"url": "https://api.github.com/repos/symfony/property-info/zipball/39de5bed8c036f76ec0457ec52908e45d5497947",
"reference": "39de5bed8c036f76ec0457ec52908e45d5497947",
"shasum": ""
},
"require": {
@@ -10837,7 +10898,7 @@
"validator"
],
"support": {
"source": "https://github.com/symfony/property-info/tree/v5.3.7"
"source": "https://github.com/symfony/property-info/tree/v5.3.8"
},
"funding": [
{
@@ -10853,7 +10914,7 @@
"type": "tidelift"
}
],
"time": "2021-08-23T12:57:24+00:00"
"time": "2021-09-07T07:41:40+00:00"
},
{
"name": "symfony/routing",
@@ -10947,16 +11008,16 @@
},
{
"name": "symfony/serializer",
"version": "v5.3.4",
"version": "v5.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/serializer.git",
"reference": "f04e368e3cb35948550c7e95cc8918cb7e761c0c"
"reference": "a877799b1e94f792208bea68295f6675027c92be"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/serializer/zipball/f04e368e3cb35948550c7e95cc8918cb7e761c0c",
"reference": "f04e368e3cb35948550c7e95cc8918cb7e761c0c",
"url": "https://api.github.com/repos/symfony/serializer/zipball/a877799b1e94f792208bea68295f6675027c92be",
"reference": "a877799b1e94f792208bea68295f6675027c92be",
"shasum": ""
},
"require": {
@@ -11029,7 +11090,7 @@
"description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/serializer/tree/v5.3.4"
"source": "https://github.com/symfony/serializer/tree/v5.3.8"
},
"funding": [
{
@@ -11045,7 +11106,7 @@
"type": "tidelift"
}
],
"time": "2021-07-21T13:18:10+00:00"
"time": "2021-09-17T08:55:39+00:00"
},
{
"name": "symfony/service-contracts",
@@ -11211,16 +11272,16 @@
},
{
"name": "symfony/translation",
"version": "v5.3.7",
"version": "v5.3.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6"
"reference": "6e69f3551c1a3356cf6ea8d019bf039a0f8b6886"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6",
"reference": "4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6",
"url": "https://api.github.com/repos/symfony/translation/zipball/6e69f3551c1a3356cf6ea8d019bf039a0f8b6886",
"reference": "6e69f3551c1a3356cf6ea8d019bf039a0f8b6886",
"shasum": ""
},
"require": {
@@ -11286,7 +11347,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v5.3.7"
"source": "https://github.com/symfony/translation/tree/v5.3.9"
},
"funding": [
{
@@ -11384,16 +11445,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v5.3.7",
"version": "v5.3.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "3ad5af4aed07d0a0201bbcfc42658fe6c5b2fb8f"
"reference": "eaaea4098be1c90c8285543e1356a09c8aa5c8da"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/3ad5af4aed07d0a0201bbcfc42658fe6c5b2fb8f",
"reference": "3ad5af4aed07d0a0201bbcfc42658fe6c5b2fb8f",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/eaaea4098be1c90c8285543e1356a09c8aa5c8da",
"reference": "eaaea4098be1c90c8285543e1356a09c8aa5c8da",
"shasum": ""
},
"require": {
@@ -11452,7 +11513,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.3.7"
"source": "https://github.com/symfony/var-dumper/tree/v5.3.8"
},
"funding": [
{
@@ -11468,7 +11529,7 @@
"type": "tidelift"
}
],
"time": "2021-08-04T23:19:25+00:00"
"time": "2021-09-24T15:59:58+00:00"
},
{
"name": "symfony/yaml",
@@ -11676,31 +11737,31 @@
},
{
"name": "vlucas/phpdotenv",
"version": "v5.3.0",
"version": "v5.3.1",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56"
"reference": "accaddf133651d4b5cf81a119f25296736ffc850"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/b3eac5c7ac896e52deab4a99068e3f4ab12d9e56",
"reference": "b3eac5c7ac896e52deab4a99068e3f4ab12d9e56",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/accaddf133651d4b5cf81a119f25296736ffc850",
"reference": "accaddf133651d4b5cf81a119f25296736ffc850",
"shasum": ""
},
"require": {
"ext-pcre": "*",
"graham-campbell/result-type": "^1.0.1",
"graham-campbell/result-type": "^1.0.2",
"php": "^7.1.3 || ^8.0",
"phpoption/phpoption": "^1.7.4",
"symfony/polyfill-ctype": "^1.17",
"symfony/polyfill-mbstring": "^1.17",
"symfony/polyfill-php80": "^1.17"
"phpoption/phpoption": "^1.8",
"symfony/polyfill-ctype": "^1.23",
"symfony/polyfill-mbstring": "^1.23.1",
"symfony/polyfill-php80": "^1.23.1"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4.1",
"ext-filter": "*",
"phpunit/phpunit": "^7.5.20 || ^8.5.14 || ^9.5.1"
"phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10"
},
"suggest": {
"ext-filter": "Required to use the boolean validator."
@@ -11723,13 +11784,11 @@
"authors": [
{
"name": "Graham Campbell",
"email": "graham@alt-three.com",
"homepage": "https://gjcampbell.co.uk/"
"email": "hello@gjcampbell.co.uk"
},
{
"name": "Vance Lucas",
"email": "vance@vancelucas.com",
"homepage": "https://vancelucas.com/"
"email": "vance@vancelucas.com"
}
],
"description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
@@ -11740,7 +11799,7 @@
],
"support": {
"issues": "https://github.com/vlucas/phpdotenv/issues",
"source": "https://github.com/vlucas/phpdotenv/tree/v5.3.0"
"source": "https://github.com/vlucas/phpdotenv/tree/v5.3.1"
},
"funding": [
{
@@ -11752,7 +11811,7 @@
"type": "tidelift"
}
],
"time": "2021-01-20T15:23:13+00:00"
"time": "2021-10-02T19:24:42+00:00"
},
{
"name": "voku/portable-ascii",
@@ -12356,16 +12415,16 @@
},
{
"name": "captainhook/captainhook",
"version": "5.10.3",
"version": "5.10.4",
"source": {
"type": "git",
"url": "https://github.com/captainhookphp/captainhook.git",
"reference": "af5d34d529434063aee4e7e96308dfe2918717f9"
"reference": "4cf2f8afda36e1f08f4f04985355e1f5126ea9a1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/captainhookphp/captainhook/zipball/af5d34d529434063aee4e7e96308dfe2918717f9",
"reference": "af5d34d529434063aee4e7e96308dfe2918717f9",
"url": "https://api.github.com/repos/captainhookphp/captainhook/zipball/4cf2f8afda36e1f08f4f04985355e1f5126ea9a1",
"reference": "4cf2f8afda36e1f08f4f04985355e1f5126ea9a1",
"shasum": ""
},
"require": {
@@ -12427,7 +12486,7 @@
],
"support": {
"issues": "https://github.com/captainhookphp/captainhook/issues",
"source": "https://github.com/captainhookphp/captainhook/tree/5.10.3"
"source": "https://github.com/captainhookphp/captainhook/tree/5.10.4"
},
"funding": [
{
@@ -12435,7 +12494,7 @@
"type": "github"
}
],
"time": "2021-09-22T12:23:02+00:00"
"time": "2021-09-28T15:12:04+00:00"
},
{
"name": "captainhook/plugin-composer",
@@ -13091,16 +13150,16 @@
},
{
"name": "facade/ignition",
"version": "2.13.1",
"version": "2.14.0",
"source": {
"type": "git",
"url": "https://github.com/facade/ignition.git",
"reference": "e3f49bef7b4165fa4b8a9dc579e7b63fa06aef78"
"reference": "c6126e291bd44ad3fe482537a145fc70e3320598"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/facade/ignition/zipball/e3f49bef7b4165fa4b8a9dc579e7b63fa06aef78",
"reference": "e3f49bef7b4165fa4b8a9dc579e7b63fa06aef78",
"url": "https://api.github.com/repos/facade/ignition/zipball/c6126e291bd44ad3fe482537a145fc70e3320598",
"reference": "c6126e291bd44ad3fe482537a145fc70e3320598",
"shasum": ""
},
"require": {
@@ -13163,7 +13222,7 @@
"issues": "https://github.com/facade/ignition/issues",
"source": "https://github.com/facade/ignition"
},
"time": "2021-09-13T13:01:30+00:00"
"time": "2021-10-01T12:58:45+00:00"
},
{
"name": "facade/ignition-contracts",
@@ -13220,21 +13279,21 @@
},
{
"name": "filp/whoops",
"version": "2.14.3",
"version": "2.14.4",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
"reference": "89584ce67dd32307f1063cc43846674f4679feda"
"reference": "f056f1fe935d9ed86e698905a957334029899895"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filp/whoops/zipball/89584ce67dd32307f1063cc43846674f4679feda",
"reference": "89584ce67dd32307f1063cc43846674f4679feda",
"url": "https://api.github.com/repos/filp/whoops/zipball/f056f1fe935d9ed86e698905a957334029899895",
"reference": "f056f1fe935d9ed86e698905a957334029899895",
"shasum": ""
},
"require": {
"php": "^5.5.9 || ^7.0 || ^8.0",
"psr/log": "^1.0.1"
"psr/log": "^1.0.1 || ^2.0 || ^3.0"
},
"require-dev": {
"mockery/mockery": "^0.9 || ^1.0",
@@ -13279,7 +13338,7 @@
],
"support": {
"issues": "https://github.com/filp/whoops/issues",
"source": "https://github.com/filp/whoops/tree/2.14.3"
"source": "https://github.com/filp/whoops/tree/2.14.4"
},
"funding": [
{
@@ -13287,7 +13346,7 @@
"type": "github"
}
],
"time": "2021-09-19T12:00:00+00:00"
"time": "2021-10-03T12:00:00+00:00"
},
{
"name": "friendsofphp/php-cs-fixer",
@@ -14313,16 +14372,16 @@
},
{
"name": "phpdocumentor/type-resolver",
"version": "1.5.0",
"version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
"reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f"
"reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/30f38bffc6f24293dadd1823936372dfa9e86e2f",
"reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f",
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae",
"reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae",
"shasum": ""
},
"require": {
@@ -14357,9 +14416,9 @@
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"support": {
"issues": "https://github.com/phpDocumentor/TypeResolver/issues",
"source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.0"
"source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1"
},
"time": "2021-09-17T15:28:14+00:00"
"time": "2021-10-02T14:08:47+00:00"
},
{
"name": "phpspec/prophecy",
+1
View File
@@ -5,4 +5,5 @@ return [
* Api key
*/
'api_key' => env('TVDB_APIKEY', ''),
'user_pin' => env('TVDB_PIN', null),
];
+2 -2
View File
@@ -12,13 +12,13 @@
"package-update": "ncu -u -x pnotify,laravel-mix"
},
"devDependencies": {
"axios": "^0.21.4",
"axios": "^0.22.0",
"cross-env": "^7.0.3",
"jquery": "3.6.0",
"laravel-mix": "^6.0.31",
"lodash": "^4.17.21",
"popper.js": "^1.16.1",
"prettier": "^2.4.0",
"prettier": "^2.4.1",
"resolve-url-loader": "^4.0.0",
"vue": "^2.6.14"
},