Update composer.lock and use new singleSearchAkas function in TVMaze processing.

This commit is contained in:
DariusIII
2016-03-11 21:44:42 +01:00
parent 937d9e4fa6
commit 960ae429e9
2 changed files with 8 additions and 8 deletions
Generated
+5 -5
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "50eec1c4db6a35d3dedf749e4b3999c1",
"hash": "2b602e7d5bb44f9e55ee675cb940ca9c",
"content-hash": "7c06c9b0053f5f9790d7d1d99edaeef8",
"packages": [
{
@@ -238,12 +238,12 @@
"source": {
"type": "git",
"url": "https://github.com/JPinkney/TVMaze-PHP-API-Wrapper.git",
"reference": "d2109bdfbbbae50769391294c9a9ddd6ca537618"
"reference": "53f342562b10dd34a839ce1eaf45fc65679ff168"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/JPinkney/TVMaze-PHP-API-Wrapper/zipball/d2109bdfbbbae50769391294c9a9ddd6ca537618",
"reference": "d2109bdfbbbae50769391294c9a9ddd6ca537618",
"url": "https://api.github.com/repos/JPinkney/TVMaze-PHP-API-Wrapper/zipball/53f342562b10dd34a839ce1eaf45fc65679ff168",
"reference": "53f342562b10dd34a839ce1eaf45fc65679ff168",
"shasum": ""
},
"type": "library",
@@ -263,7 +263,7 @@
}
],
"description": "TVMaze-API-Wrapper",
"time": "2016-03-11 20:14:55"
"time": "2016-03-11 20:27:51"
},
{
"name": "kbjr/Git.php",
+3 -3
View File
@@ -1,7 +1,7 @@
<?php
namespace newznab\processing\tv;
use JPinkney\Client;
use JPinkney\TVMaze\Client;
use newznab\ReleaseImage;
/**
@@ -16,7 +16,7 @@ class TVMaze extends TV
/**
* Client for TVMaze API
*
* @var \JPinkney\Client
* @var \JPinkney\TVMaze\Client
*/
public $client;
@@ -241,7 +241,7 @@ class TVMaze extends TV
$cleanName = preg_replace('# \((19|20)\d{2}\)$#', '', $cleanName);
//Try for the best match with AKAs embedded
$response = $this->client->singleSearch($cleanName);
$response = $this->client->singleSearchAkas($cleanName);
sleep(1);